{% from "_macros.html" import th, svg_progress %} {{ th(t('运行'), 'Run') }}{{ th(t('策略'), 'Policy') }}{{ th(t('位置'), 'Where') }}{{ th(t('已用时'), 'Elapsed') }}{{ th(t('进度'), 'Progress') }} {% for r in runs %} {% else %} {% endfor %}
{% if perm >= 2 %}{% endif %}#{{ r.id }}{% if perm >= 2 %}{% endif %} {{ r.policy }} {{ r.cluster or 'scrapyd' }}{% if r.job_ref %} · {{ r.job_ref }}{% endif %} {{ r.elapsed_minutes }}m {% if r.rows_attempted is not none %} {% if r.plan_cells %} {{ svg_progress(r.rows_attempted, r.plan_cells) }} {% endif %} {{ r.rows_attempted }}{{ ' / ' ~ r.plan_cells if r.plan_cells else '' }} {{ t('已试') }} · {{ r.rows_new or 0 }} {{ t('新增') }} {% else %} {{ t('尚未上报产出') }} {% endif %}
{{ t('暂无运行中的爬取') }}