{% extends 'base_mobileui.html' %} {% block title %}dashboard{% endblock %} {% block head %} {% if page_view == 1 or page_view % CHECK_LATEST_VERSION_FREQ == 0 %} {% else %} {% endif %} {% endblock %} {% block neck %} Restyle table Scrapyd server {% endblock %} {% block body %} {% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and ((running_rows and running_rows[0]['url_items']) or (finished_rows and finished_rows[0]['url_items'])) %} {% endif %} {% for row in pending_rows %} {% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% endfor %} {% for row in running_rows %} {% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and row['url_items'] %} {% endif %} {% endfor %} {% for row in finished_rows[::-1] %} {% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and row['url_items'] %} {% endif %} {% endfor %}
Project SpiderJobPID Start Runtime Finish Log StatsItemsAction FORCESTOP
Pending ({{ pending_rows|length }})
{{ row['project'] }} {{ row['spider'] }}{{ row['job'] }}
Running ({{ running_rows|length }})
{{ row['project'] }} {{ row['spider'] }}{{ row['job'] }}{{ row['pid'] }} {{ row['start'] }} {{ row['runtime'] }} {{ row['finish'] }} Log StatsItemsSTOP FORCESTOP
Finished ({{ finished_rows|length }}) in the descending order
{{ row['project'] }} {{ row['spider'] }}{{ row['job'] }}{{ row['pid'] }} {{ row['start'] }} {{ row['runtime'] }} {{ row['finish'] }} Log StatsItemsSTART
{% endblock %}