From 42b64c11ff4053c7452b51f5d2ba9e8da6b6aa22 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 20 Oct 2025 13:01:14 +0100 Subject: [PATCH] Refactor actions section in case view template for improved readability and structure --- atlas/templates/atlas/case_view.html | 114 +++++++++++++-------------- sbas/tables.py | 1 + 2 files changed, 58 insertions(+), 57 deletions(-) diff --git a/atlas/templates/atlas/case_view.html b/atlas/templates/atlas/case_view.html index 6b052ccd..0666e2c0 100755 --- a/atlas/templates/atlas/case_view.html +++ b/atlas/templates/atlas/case_view.html @@ -23,64 +23,64 @@ View my cases.
-
- - Actions - -
-
- - - - -
-
- - -
- - - -
-
-
- {% render_table table %} -
+ + + + +
+ + +
+ + + +
+ + + {% render_table table %} + -{% include "generic/partials/page_size_form.html" %} + {% include "generic/partials/page_size_form.html" %} -
+
{% endblock %} diff --git a/sbas/tables.py b/sbas/tables.py index 9685b947..b142d16b 100644 --- a/sbas/tables.py +++ b/sbas/tables.py @@ -40,6 +40,7 @@ class QuestionTable(tables.Table): "author", ) sequence = ("view", "stem", "answers")#, "exams") + attrs = {"class": "table row-selector"} def __init__(self, data=None, *args, **kwargs): super().__init__(