From 59956670df96a96081d63ef80e79e3998aed812a Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 11 May 2026 13:31:25 +0100 Subject: [PATCH] feat: Implement responsive design enhancements with new utility classes and improved layout for various components --- atlas/templates/atlas/case_display_block.html | 11 +++ .../atlas/collection_case_displaysetup.html | 3 +- .../atlas/collection_case_view_take.html | 11 +-- .../atlas/collection_feedback_overview.html | 2 +- .../atlas/collection_history_user.html | 4 +- .../atlas/collection_take_overview.html | 4 +- .../atlas/collection_user_messages.html | 2 +- atlas/templates/atlas/new_uploads.html | 4 +- atlas/templates/atlas/series_viewer.html | 7 +- .../templates/atlas/user_messages_inbox.html | 2 +- .../generic/trainees_bulk_update.html | 14 +-- rad/static/css/responsive-utils.css | 98 +++++++++++++++++++ static/css/responsive-utils.css | 98 +++++++++++++++++++ templates/accounts_bulk_create.html | 6 +- templates/base.html | 1 + 15 files changed, 236 insertions(+), 31 deletions(-) create mode 100644 rad/static/css/responsive-utils.css create mode 100644 static/css/responsive-utils.css diff --git a/atlas/templates/atlas/case_display_block.html b/atlas/templates/atlas/case_display_block.html index 5e55e7fd..617c8fd5 100755 --- a/atlas/templates/atlas/case_display_block.html +++ b/atlas/templates/atlas/case_display_block.html @@ -104,6 +104,17 @@ } .quick-edit-wrap .quick-edit-button:hover { opacity: 1; } + @media (max-width: 767.98px) { + .quick-edit-wrap .quick-edit-button, + .case-meta-item .quick-edit-button, + .case-inline-field .quick-edit-compact { + opacity: 0.95; + pointer-events: auto; + padding: 0.15rem 0.35rem; + font-size: 0.9rem; + } + } + /* Metadata-specific quick-edit: ensure edit button overlays without moving badges */ .case-meta-item { position: relative; } .case-meta-item .quick-edit-button { diff --git a/atlas/templates/atlas/collection_case_displaysetup.html b/atlas/templates/atlas/collection_case_displaysetup.html index b2a20b99..b1e99433 100644 --- a/atlas/templates/atlas/collection_case_displaysetup.html +++ b/atlas/templates/atlas/collection_case_displaysetup.html @@ -6,8 +6,7 @@ {% include 'atlas/partials/_viewing_case_as_part_of_collection.html' with nav_link_view="atlas:collection_case_displaysetup" %}

Setup default display for case

-
Case view:  
-
-
+
+
@@ -105,9 +105,9 @@
{% if question_completed %} - + {% else %} - + {% endif %}
@@ -128,8 +128,7 @@
Viewer -
diff --git a/atlas/templates/atlas/collection_feedback_overview.html b/atlas/templates/atlas/collection_feedback_overview.html index 3b714b52..dd75d3cf 100644 --- a/atlas/templates/atlas/collection_feedback_overview.html +++ b/atlas/templates/atlas/collection_feedback_overview.html @@ -12,7 +12,7 @@ {% endif %}
-
+
Feedback Summary
{{ total_outstanding_feedback }} outstanding feedback item{{ total_outstanding_feedback|pluralize }}
diff --git a/atlas/templates/atlas/collection_history_user.html b/atlas/templates/atlas/collection_history_user.html index 56d8da68..a744183e 100644 --- a/atlas/templates/atlas/collection_history_user.html +++ b/atlas/templates/atlas/collection_history_user.html @@ -6,11 +6,11 @@

{{ collection.name }}

Learner: {{ user }}
-
+
Attempt Progress
{{ answer_count }} / {{ collection_length }} answered
-
+
Started: {{ cid_user_exam.start_time }}
diff --git a/atlas/templates/atlas/collection_take_overview.html b/atlas/templates/atlas/collection_take_overview.html index a36feac4..9d1a82a7 100644 --- a/atlas/templates/atlas/collection_take_overview.html +++ b/atlas/templates/atlas/collection_take_overview.html @@ -20,12 +20,12 @@ {% endif %}
-
+
Progress
{% if not collection.review_only %}
{{ answer_count }} / {{ collection_length }} answered
-
+
{% else %} diff --git a/atlas/templates/atlas/collection_user_messages.html b/atlas/templates/atlas/collection_user_messages.html index cf083cf3..c528a4b1 100644 --- a/atlas/templates/atlas/collection_user_messages.html +++ b/atlas/templates/atlas/collection_user_messages.html @@ -6,7 +6,7 @@

{{ collection.name }}

Message hub for {{ target_label }}
-
+
Outstanding messages
diff --git a/atlas/templates/atlas/new_uploads.html b/atlas/templates/atlas/new_uploads.html index 19488684..d959caf4 100644 --- a/atlas/templates/atlas/new_uploads.html +++ b/atlas/templates/atlas/new_uploads.html @@ -103,8 +103,8 @@ No study/series selected
-
-
+
+
diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 3b7d1d66..54202afa 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -30,8 +30,7 @@
{% with image_url_array_and_count=series.get_image_url_array_and_count %} -
+
{% endwith %}
@@ -242,13 +241,13 @@