From f6f208b0652c26d093e6bd70e789419773a2abd1 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 20 Oct 2025 17:16:32 +0100 Subject: [PATCH] Refactor filter section layout in question table view for improved responsiveness and styling --- templates/question_table_view.html | 37 +++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/templates/question_table_view.html b/templates/question_table_view.html index 7833af45..a3663b6a 100644 --- a/templates/question_table_view.html +++ b/templates/question_table_view.html @@ -55,11 +55,11 @@ max-height: 50vh; overflow-y: auto; } - .floating-filter .filter-toggle { - position: fixed; - right: 1rem; - bottom: 1rem; - z-index: 1040; + .floating-filter .filter-toggle { + position: fixed; + right: 1rem; + bottom: 1rem; + z-index: 1040; } /* minibar/tab styling - small visible handle so panel isn't fully hidden */ .bottom-filter-minibar { @@ -73,14 +73,14 @@ -
- -
+
+ +
-
+
Filters
@@ -92,8 +92,23 @@
- {{ filter.form|crispy }} -
+
+ {% for field in filter.form.visible_fields %} +
+
+ {{ field.label_tag }} + {{ field }} + {% if field.errors %} +
{{ field.errors|striptags }}
+ {% endif %} + {% if field.help_text %} + {{ field.help_text }} + {% endif %} +
+
+ {% endfor %} +
+
Reset