diff --git a/anatomy/templates/anatomy/exam_scores_user.html b/anatomy/templates/anatomy/exam_scores_user.html index 0cf0b25a..693b9ace 100644 --- a/anatomy/templates/anatomy/exam_scores_user.html +++ b/anatomy/templates/anatomy/exam_scores_user.html @@ -7,9 +7,29 @@
+
+
Filter questions by marks
+
+ +
+
    {% for ans, score, correct_answer in answers_and_marks %} -
  • +
  • {{ forloop.counter }} @@ -19,13 +39,23 @@
    Correct answer: {% if exam.publish_results %}{{ correct_answer }}{% else %}—{% endif %}
    {{ ans }}
    {% if exam.publish_results or view_all_results %} -
    Marks: {{ score }}
    +
    + Marks: + {% if score|int >= 2 %} + {{ score }} + {% elif score|int == 1 %} + {{ score }} + {% else %} + {{ score }} + {% endif %} +
    {% endif %}
    {% if exam.publish_results %} + {% else %} {% endif %} @@ -75,6 +105,8 @@ .anatomy .card.sticky-top { min-width: 600px; } } .anatomy .viewer-block .viewer-body { overflow: auto; } + .viewer-block .answers { background: #f8f9fa; padding: .5rem; border-radius: .25rem; } + .viewer-block .answers pre { margin: 0; white-space: pre-wrap; } .dicom-viewer, .dicom-viewer .canvas-panel, .dicom-viewer .cornerstone-element { max-width: 100%; box-sizing: border-box; } .dicom-viewer canvas { max-width: 100% !important; width: 100% !important; height: auto !important; display: block; } #single-dicom-viewer { width: 100%; }