From 3065a279b136ee74a2bd9380b0227aff1e023c76 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 18 May 2026 13:12:02 +0100 Subject: [PATCH] Refactor code structure for improved readability and maintainability --- .../atlas/collection_case_view_take.html | 538 +++++++++--------- rad/static/dv3d/index.js | 208 +++---- 2 files changed, 373 insertions(+), 373 deletions(-) diff --git a/atlas/templates/atlas/collection_case_view_take.html b/atlas/templates/atlas/collection_case_view_take.html index 1ed27237..73822a7f 100644 --- a/atlas/templates/atlas/collection_case_view_take.html +++ b/atlas/templates/atlas/collection_case_view_take.html @@ -102,52 +102,52 @@ {% endif %} {% if collection.show_ohif_viewer or collection.show_ohif_viewer_link or collection.show_built_in_viewer %} -
- {% if collection.show_built_in_viewer %} -
- Viewer - - -
-
-
-
-
+
+ {% if collection.show_built_in_viewer %} +
+ Viewer + +
-
-
+
+
+
+
+
+
+
+
+
-
+ {% endif %} + + {% if collection.show_ohif_viewer %} + + {% if question_completed %} + + {% else %} + + {% endif %} +
+ {% endif %} + + {% if collection.show_ohif_viewer_link %} +
+ {% if question_completed %} + + {% else %} + + {% endif %} +
+ {% endif %}
- {% endif %} - - {% if collection.show_ohif_viewer %} - - {% if question_completed %} - - {% else %} - - {% endif %} -
- {% endif %} - - {% if collection.show_ohif_viewer_link %} -
- {% if question_completed %} - - {% else %} - - {% endif %} -
- {% endif %} -
{% endif %} @@ -988,263 +988,263 @@