{% extends "base.html" %} {% from "_macros.html" import th %} {% block title %}{{ t('源') }} {{ src.source }} · {{ t('爬虫控制台') }}{% endblock %} {% block content %}

{{ t('源') }} — {{ src.source }}

{% if health and health.stalled %} {% endif %} {% if src.frozen_reason %} {% endif %}
{{ th(t('类别')) }}{{ th(t('站点')) }}{{ th(t('调度')) }}{{ th(t('启用 Enabled')) }}{{ th(t('最近提交')) }}{{ th(t('清单更新')) }}
{% if src.kind == 'federated' %}{{ t('联邦 federated') }}{% else %}{{ t('平台 platform') }}{% endif %} {{ src.site or '—' }} {% if src.schedule %}{{ src.schedule }}{% else %}{{ t('未点亮 not lit(无自动运行 no automatic runs)') }}{% endif %} {{ t('启用 ON') if src.enabled else t('停用 OFF') }} {{ src.last_commit or '—' }} {{ src.updated_at or '—' }}
{% if src.kind == 'federated' %}

{{ t('runner 声明 runner declaration') }} {% if src.runner_image %} {{ src.runner_image }} {%- if src.runner_command %} — {{ src.runner_command | join(' ') }}{% endif %} {%- if src.timeout_seconds %} — {{ t('超时 timeout') }} {{ src.timeout_seconds }}s{% endif %} {% else %} {{ t('未声明 no declaration') }}{% if src.frozen_reason %}{{ t('(冻结成员 frozen member)') }}{% endif %} {% endif %}

{% endif %} {% if src.auth_profile %}

{{ t('认证源 authenticated') }} auth_profile={{ src.auth_profile }} — {{ t('登录身份见 the identity pool lives on the') }} {{ t('认证面板 auth panel') }}

{% endif %} {% if pipeline %}

{{ t('来自发现流水线 from discovery pipeline') }} manifest #{{ pipeline.manifest_id }} {{ t('批准于 approved') }} {{ pipeline.updated_at or '—' }}{% if pipeline.model_used %}({{ t('模型 model') }}: {{ pipeline.model_used }}){% endif %} — {{ t('查看漏斗 view funnel') }}

{% endif %}

{{ t('写入 pending_runs(requested_by=panel),由站点 dispatcher 认领执行 queues a pending_runs row for the site dispatcher.') }}

{{ t('待运行') }}

{{ th('ID') }}{{ th(t('源')) }}{{ th(t('状态')) }}{{ th(t('请求者')) }}{{ th(t('创建 Created')) }} {% for p in pending %}{% include "_pending_row.html" %}{% else %} {% endfor %}
{{ t('没有待运行务 No pending runs.') }}

{{ t('最近 20 次运行') }}

{{ th('ID') }}{{ th(t('源')) }}{{ th(t('状态')) }}{{ th(t('开始')) }}{{ th(t('结束')) }}{{ th(t('产出行')) }}{{ th(t('质量')) }}{{ th(t('触发行')) }}{{ th(t('错误')) }} {% for r in runs %}{% include "_platform_run_row.html" %}{% else %} {% endfor %}
{{ t('尚无运行记录 No runs recorded yet.') }}
{% endblock %}