From 740d01319889a8311e2385ebdba78ff8101b57f7 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 17 Nov 2025 09:22:17 +0000 Subject: [PATCH] Refactor case prior display: enhance layout with Bootstrap cards for improved readability and user interaction --- .../atlas/collection_case_priors.html | 175 +++++++++--------- 1 file changed, 89 insertions(+), 86 deletions(-) diff --git a/atlas/templates/atlas/collection_case_priors.html b/atlas/templates/atlas/collection_case_priors.html index fde90ee0..089cfd32 100644 --- a/atlas/templates/atlas/collection_case_priors.html +++ b/atlas/templates/atlas/collection_case_priors.html @@ -4,106 +4,109 @@ {% block content %} -
- - {% if previous %} - Previous question - {% endif %} - Viewing question as part of collection: {{collection.name}} [{{case_number|add:1}}/{{collection_length}}] - {% if next %} - Next question - {% endif %} +
+
+ {% if previous %} + ← Previous + {% endif %} +
+
+
Viewing question in collection
+
+ {{collection.name}} + [{{case_number|add:1}}/{{collection_length}}] +
+
+
+ {% if next %} + Next → + {% endif %} +
-

Case: {{case_detail.case.title}}

+

Case: {{case_detail.case.title}}

-

This page allows you to add series from prior cases to a case in a collection. In order to be available here the cases must be linked on the system.

-

It is necessary to give a description of how the cases are related that will be displayed to the user when viewing the case.

+
+
+

This page allows you to add series from prior cases to a case in a collection. In order to be available here the cases must be linked on the system.

+

It is necessary to give a description of how the cases are related that will be displayed to the user when viewing the case.

+
+
-

Available priors

+

Available priors

- +