diff options
author | Andrew Godwin | 2022-12-15 12:26:17 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-15 12:26:44 -0700 |
commit | 1130c23b1e6bb1e4db71c41f5e4add903267830e (patch) | |
tree | 855b93bb481d43a6aa1f4520df8405ad1a7ea3ff /templates/admin/stator.html | |
parent | 5e912ecac5aa39f2d5dbecee792665d5743a77b9 (diff) | |
download | takahe-1130c23b1e6bb1e4db71c41f5e4add903267830e.tar.gz takahe-1130c23b1e6bb1e4db71c41f5e4add903267830e.tar.bz2 takahe-1130c23b1e6bb1e4db71c41f5e4add903267830e.zip |
Stator stats overhaul
Removes the error table, adds a stats table and admin page.
Fixes #166
Diffstat (limited to 'templates/admin/stator.html')
-rw-r--r-- | templates/admin/stator.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/admin/stator.html b/templates/admin/stator.html new file mode 100644 index 0000000..64bd432 --- /dev/null +++ b/templates/admin/stator.html @@ -0,0 +1,13 @@ +{% extends "settings/base.html" %} + +{% block subtitle %}Stator{% endblock %} + +{% block content %} + {% for model, stats in model_stats.items %} + <fieldset> + <legend>{{ model }}</legend> + <p><b>Pending:</b> {{ stats.most_recent_queued }}</p> + <p><b>Processed today:</b> {{ stats.most_recent_handled.1 }}</p> + </fieldset> + {% endfor %} +{% endblock %} |