summaryrefslogtreecommitdiffstats
path: root/templates/admin/stator.html
blob: 1f64edaf7eeb5b966ffc39ee416146d2860409a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% 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</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 %}