From 1130c23b1e6bb1e4db71c41f5e4add903267830e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 15 Dec 2022 12:26:17 -0700 Subject: Stator stats overhaul Removes the error table, adds a stats table and admin page. Fixes #166 --- templates/admin/stator.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/admin/stator.html (limited to 'templates/admin') 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 %} +
+ {{ model }} +

Pending: {{ stats.most_recent_queued }}

+

Processed today: {{ stats.most_recent_handled.1 }}

+
+ {% endfor %} +{% endblock %} -- cgit v1.2.3