takahe/templates/admin/stator.html
Andrew Godwin 8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00

25 lines
764 B
HTML

{% extends "admin/base_main.html" %}
{% block subtitle %}Stator{% endblock %}
{% block settings_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 %}