takahe/templates/admin/stator.html
Andrew Godwin 1130c23b1e Stator stats overhaul
Removes the error table, adds a stats table and admin page.
Fixes #166
2022-12-15 12:26:44 -07:00

14 lines
401 B
HTML

{% extends "settings/base.html" %}
{% block subtitle %}Stator{% endblock %}
{% block content %}
{% for model, stats in model_stats.items %}
<fieldset>
<legend>{{ model }}</legend>
<p><b>Pending:</b> {{ stats.most_recent_queued }}</p>
<p><b>Processed today:</b> {{ stats.most_recent_handled.1 }}</p>
</fieldset>
{% endfor %}
{% endblock %}