{% extends "base/base.html" %} {% block content %}
States
{% for label, value in states %} {{ label }} {% endfor %}
    {% for job in jobs %}
  • {{ job.payload.func }} {%- if state == "pending" -%} {{ job.created_at|relative_time }} {%- elif state == "running" -%} {{ job.started_at|relative_time }} {%- elif state == "failed" -%} {{ job.completed_at|relative_time }} {%- elif state == "completed" -%} {{ job.completed_at|relative_time }} {%- endif -%}
    {{ job.attempts }} / {{ job.max_attempts }} {{ job.payload.kwargs|string|truncate(128) }} {{ job.queue }}
  • {% else %}
  • No jobs found
  • {% endfor %}
{% endblock %}