{% extends "console/base.html" %} {% block title %}任务{% endblock %} {% block heading %}任务{% endblock %} {% block actions %}新建任务{% endblock %} {% block content %}
共 {{ page.paginator.count }} 条
{% if page.object_list %} {% for job in page.object_list %} {% endfor %}
任务类型队列状态进度创建人时间
{{ job.name }} {{ job.task_type }} {{ job.queue }} {% include "console/_status_badge.html" with s=job.status %} {{ job.progress }}% {{ job.created_by.email|default:"—" }} {{ job.created_at|date:"Y-m-d H:i" }}
{% if page.has_other_pages %}
{% if page.has_previous %}上一页{% endif %} 第 {{ page.number }} / {{ page.paginator.num_pages }} 页 {% if page.has_next %}下一页{% endif %}
{% endif %} {% else %}
没有符合条件的任务。
{% endif %}
{% endblock %}