From 21a7383c4f45adfa619e74b6acf69016ea9b0ac4 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 10 Nov 2025 12:11:19 +0000 Subject: [PATCH] Enhance loading indicators for response summary and responses in exam review fragment --- .../exam_review_question_fragment.html | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/anatomy/templates/anatomy/partials/exam_review_question_fragment.html b/anatomy/templates/anatomy/partials/exam_review_question_fragment.html index 6929515e..6b67e104 100644 --- a/anatomy/templates/anatomy/partials/exam_review_question_fragment.html +++ b/anatomy/templates/anatomy/partials/exam_review_question_fragment.html @@ -2,7 +2,7 @@

{{ question.question_type }}

+ data-annotations='{{question.image_annotations}}' data-edit_annotation=true>

@@ -51,7 +51,13 @@

+ hx-swap="innerHTML" + hx-indicator="#anatomy-summary-indicator-{{ question.pk }}"> + +
Loading summary…
@@ -64,10 +70,16 @@ + hx-swap="innerHTML" + hx-indicator="#anatomy-responses-indicator-{{ question.pk }}">Show responses
+ +
Responses are hidden — click “Show responses” to load.
@@ -96,3 +108,4 @@ +