{% extends 'base_mobileui.html' %} {% block title %}jobs{% endblock %} {% block head %} {% if pageview == 1 or pageview % CHECK_LATEST_VERSION_FREQ == 0 %} {% else %} {% endif %} {% endblock %} {% block neck %} Restyle table Scrapyd server {% endblock %} {% block body %} {% if SHOW_JOBS_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and ((running_jobs and (running_jobs[0]['url_items'] or running_jobs[-1]['url_items'])) or (finished_jobs and (finished_jobs[0]['url_items'] or finished_jobs[-1]['url_items']))) %} {% endif %} {% for job in pending_jobs %} {% if SHOW_JOBS_JOB_COLUMN %} {% endif %} {% endfor %} {% for job in running_jobs %} {% if SHOW_JOBS_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and job['url_items'] %} {% endif %} {% endfor %} {% for job in finished_jobs %} {% if SHOW_JOBS_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and job['url_items'] %} {% endif %} {% endfor %}
Project SpiderJobPID Start Runtime Finish Pages Items Stats LogItemsAction Forcestop
Pending ({{ pending_jobs|length }})
{{ job['project'] }} {{ job['spider'] }}{{ job['job'] }}
Running ({{ running_jobs|length }})
{{ job['project'] }} {{ job['spider'] }}{{ job['job'] }}{{ job['pid'] }} {{ job['start'] }} {{ job['runtime'] }} {{ job['finish'] }} N/A N/A Stats LogItemsStop Forcestop
Finished ({{ finished_jobs|length }}) DESC
{{ job['project'] }} {{ job['spider'] }}{{ job['job'] }}{{ job['pid'] }} {{ job['start'] }} {{ job['runtime'] }} {{ job['finish'] }} N/A N/A Stats LogItemsStart
{% endblock %}