From 4a86a95c91d4ee187a02098ad99c1c89a7dcd401 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 10 Jun 2025 07:19:11 +0100 Subject: [PATCH] . --- atlas/templates/atlas/series_viewer.html | 29 ++++++++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 4c7ba87d..f40bf14f 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -44,8 +44,8 @@ Associated case:
@@ -63,6 +63,13 @@ data-auto-cache-stack=true
+ {% if editing_finding > 0 %} +

Editing Finding

+

Editing finding with ID: {{editing_finding}}

+ {% else %} +

Add Finding

+

Click the button below to add a new finding.

+ {% endif %}
{% csrf_token %} {{series_finding_form|crispy}} @@ -86,11 +93,11 @@ data-auto-cache-stack=true
- + {% if finding.viewer_state_3d %} - + {% endif %} - + Finding(s): {% for f in finding.findings.all %}{{f.get_link}}{% endfor %}
Structure(s): {% for s in finding.structures.all %}{{s.get_link}}{% endfor %}
@@ -453,4 +460,16 @@ data-auto-cache-stack=true font-weight: bold; /* Optional: Make the active button text bold */ border-style: dashed; } + #finding-form #hidden-form { + background: #23272b; + border: 2px solid #198754; + border-radius: 1rem; + box-shadow: 0 0 16px #19875455; + padding: 2rem; + margin: 2rem 0; + transition: box-shadow 0.3s; + } + #finding-form #hidden-form:focus-within { + box-shadow: 0 0 24px #198754aa; + } \ No newline at end of file