2023-05-03 20:04:58 +00:00
|
|
|
{% extends "admin/base_main.html" %}
|
2022-12-15 19:26:17 +00:00
|
|
|
|
|
|
|
{% block subtitle %}Stator{% endblock %}
|
|
|
|
|
2023-04-27 06:54:38 +00:00
|
|
|
{% block settings_content %}
|
2022-12-15 19:26:17 +00:00
|
|
|
{% for model, stats in model_stats.items %}
|
|
|
|
<fieldset>
|
|
|
|
<legend>{{ model }}</legend>
|
2022-12-17 02:42:48 +00:00
|
|
|
<table class="metadata">
|
|
|
|
<tr>
|
2023-01-14 17:32:48 +00:00
|
|
|
<th>Pending</th>
|
2022-12-17 02:42:48 +00:00
|
|
|
<td>{{ stats.most_recent_queued }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2023-01-14 17:32:48 +00:00
|
|
|
<th>Processed today</th>
|
2022-12-17 02:42:48 +00:00
|
|
|
<td>{{ stats.most_recent_handled.1 }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2023-01-14 17:32:48 +00:00
|
|
|
<th>This month</th>
|
2022-12-17 02:42:48 +00:00
|
|
|
<td>{{ stats.most_recent_handled.2 }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2022-12-15 19:26:17 +00:00
|
|
|
</fieldset>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|