takahe/templates/admin/stator.html
2023-01-14 10:32:48 -07:00

25 lines
753 B
HTML

{% extends "settings/base.html" %}
{% block subtitle %}Stator{% endblock %}
{% block content %}
{% for model, stats in model_stats.items %}
<fieldset>
<legend>{{ model }}</legend>
<table class="metadata">
<tr>
<th>Pending</th>
<td>{{ stats.most_recent_queued }}</td>
</tr>
<tr>
<th>Processed today</th>
<td>{{ stats.most_recent_handled.1 }}</td>
</tr>
<tr>
<th>This month</th>
<td>{{ stats.most_recent_handled.2 }}</td>
</tr>
</table>
</fieldset>
{% endfor %}
{% endblock %}