takahe/templates/admin/stator.html

26 lines
753 B
HTML
Raw Normal View History

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