From a8c4cc51f663ea7d7e1cadaf0fba938b517cd7f5 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 22 Dec 2023 12:18:28 +0000 Subject: [PATCH] Reorder page to show tables in columns --- templates/reports.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/reports.html b/templates/reports.html index e0dcf20..542c45b 100644 --- a/templates/reports.html +++ b/templates/reports.html @@ -3,7 +3,7 @@ {% block title %}Geocode to Commons: Reports{% endblock %} {% block content %} -
+

Geocode reports

Back to index

@@ -14,6 +14,9 @@

Average response time: {{ average_response_time | int }} milliseconds

+
+
+

requests per day

{% for day, day_count in by_day %} @@ -24,6 +27,9 @@ {% endfor %}
+
+
+

top places

{% for place, place_count in top_places %} @@ -39,6 +45,8 @@ {% endfor %}
+
+

missing places

Recent queries that failed to resolve into a place with a category.

@@ -48,13 +56,15 @@ {{ log.dt.strftime("%a %d %b %Y at %H:%M:%S") }} - {{ "{:.3f},{:.3f}".format(log.lat, log.lon) }} + {{ "{:.4f},{:.4f}".format(log.lat, log.lon) }} {% endfor %} +
+
{% endblock %}