takahe/templates/admin/stator.html

26 lines
764 B
HTML
Raw Normal View History

{% extends "admin/base_main.html" %}
{% block subtitle %}Stator{% endblock %}
{% block settings_content %}
{% for model, stats in model_stats.items %}
<fieldset>
<legend>{{ model }}</legend>
2022-12-16 18:42:48 -08:00
<table class="metadata">
<tr>
2023-01-14 09:32:48 -08:00
<th>Pending</th>
2022-12-16 18:42:48 -08:00
<td>{{ stats.most_recent_queued }}</td>
</tr>
<tr>
2023-01-14 09:32:48 -08:00
<th>Processed today</th>
2022-12-16 18:42:48 -08:00
<td>{{ stats.most_recent_handled.1 }}</td>
</tr>
<tr>
2023-01-14 09:32:48 -08:00
<th>This month</th>
2022-12-16 18:42:48 -08:00
<td>{{ stats.most_recent_handled.2 }}</td>
</tr>
</table>
</fieldset>
{% endfor %}
{% endblock %}