From 017aea4b3ed7da3f87e92ff56a5cfeffb41ff389 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 6 Dec 2023 21:34:25 -0500 Subject: [PATCH] doorcontrol: Improve responsiveness of form controls and table in reports --- .../doorcontrol/access_report.dj.html | 100 ++++++++++-------- 1 file changed, 57 insertions(+), 43 deletions(-) diff --git a/doorcontrol/templates/doorcontrol/access_report.dj.html b/doorcontrol/templates/doorcontrol/access_report.dj.html index 278bcd8..c0e6959 100644 --- a/doorcontrol/templates/doorcontrol/access_report.dj.html +++ b/doorcontrol/templates/doorcontrol/access_report.dj.html @@ -2,7 +2,7 @@ {% block title %}{{ selected_report }} | Door Controls | CMS{% endblock %} {% block content %} -
+
-
-
- - + +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+ Reset +
-
- - -
-
- - -
- - Reset - - - - {% for column in object_list.0.keys %}{% endfor %} - - - - {% for object in object_list %} +
+
{{ column|title }}
+ - {% for field in object.values %}{% endfor %} + {% for column in object_list.0.keys %}{% endfor %} - {% endfor %} - -
{{ field }}{{ column|title }}
+ + + {% for object in object_list %} + + {% for field in object.values %}{{ field }}{% endfor %} + + {% endfor %} + + +