From e320561060c8884f48722f5c9685af987fde7959 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 16 Oct 2021 17:12:10 +0100 Subject: [PATCH] . --- rapids/templates/rapids/mark.html | 232 +++++++++++++++--------------- 1 file changed, 117 insertions(+), 115 deletions(-) diff --git a/rapids/templates/rapids/mark.html b/rapids/templates/rapids/mark.html index 0331df9e..8aa431a1 100644 --- a/rapids/templates/rapids/mark.html +++ b/rapids/templates/rapids/mark.html @@ -1,135 +1,137 @@ {% extends 'rapids/exams.html' %} {% block content %} -
-

{% if review %}Reviewing{% else %}Marking{% endif %} question {{question_details.current}} of {{question_details.total}}

- View Edit Admin - Edit - {% if unmarked_answers_bool %} - - - {% endif %} - {% if question.normal %} -

This question is normal

- Answers will be automatically marked.
- - {% if incorrect_answers %} -

The following answers have been submitted for this question

-
-
    - {% for answer in incorrect_answers %} -
  • -
    {{ answer }}
    -
  • - {% endfor %} -
+
+

{% if review %}Reviewing{% else %}Marking{% endif %} question {{question_details.current}} of {{question_details.total}}

+ View Edit Admin + Edit + {% if unmarked_answers_bool %} + + {% endif %} - {% else %} -

This question is abnormal

- Answers marked as normal will be automatically marked.
- Region: {{ question.get_regions }}, Abnormalities: {{ question.get_abnormalities }} - {% endif %} -
-
{% csrf_token %} - {% if not question.normal %} - Click each answer to toggle through marks awarded (as per colour)
- {% if not review %} - {% if unmarked_exam_answers_only %} - Showing exam answers only (view all) - {% else %} - Showing all answers (view unmarked exam answers) - {% endif %} - {% endif %} + {% if question.normal %} +

This question is normal

+ Answers will be automatically marked.
+ {% if incorrect_answers %} +

The following answers have been submitted for this question

- {% if not review %} - Unmarked: -
    - {% for answer in user_answers %} -
  • -
    {{ answer }}
    -
  • - {% endfor %} -
- - Marked: -
    - {% for answer in correct_answers %} -
  • -
    {{ answer }}
    -
  • - {% endfor %} - {% for answer in half_mark_answers %} -
  • -
    {{ answer }}
    -
  • - {% endfor %} - {% for answer in incorrect_answers %} -
  • -
    {{ answer }}
    -
  • - {% endfor %} -
- {% else %} - To review: -
    - {% for answer, mark in review_user_answers %} -
  • -
    {{ answer }}
    -
  • - {% endfor %} -
- {% endif %} -
Key: 2 Marks, 1 - Mark, 0 Marks
+
    + {% for answer in incorrect_answers %} +
  • +
    {{ answer }}
    +
  • + {% endfor %} +
{% endif %} - {% if review and not question.normal %} -
- {% endif %} - - {% if question_details.current > 1 %} - + {% else %} +

This question is abnormal

+ Answers given as normal will be automatically marked.
+ Region: {{ question.get_regions }}, Abnormalities: {{ question.get_abnormalities }} + {% endif %} +
+ {% csrf_token %} + {% if not question.normal %} + Click each answer to toggle through marks awarded (as per colour)
+ {% if not review %} + {% if unmarked_exam_answers_only %} + Showing unmarked exam answers only (view all answers for question) + {% else %} + Showing all answers (view unmarked exam answers only) + {% endif %} + {% endif %} + +
+ {% if not review %} + Unmarked: +
    + {% for answer in user_answers %} +
  • +
    {{ answer }}
    +
  • + {% endfor %} +
+ + {% if not unmarked_exam_answers_only %} + Marked: +
    + {% for answer in correct_answers %} +
  • +
    {{ answer }}
    +
  • + {% endfor %} + {% for answer in half_mark_answers %} +
  • +
    {{ answer }}
    +
  • + {% endfor %} + {% for answer in incorrect_answers %} +
  • +
    {{ answer }}
    +
  • + {% endfor %} +
+ {% endif %} + {% else %} + To review: +
    + {% for answer, mark in review_user_answers %} +
  • +
    {{ answer }}
    +
  • + {% endfor %} +
+ {% endif %} +
Key: 2 Marks, 1 + Mark, 0 Marks
+
{% endif %} - - {% if question_details.current >= question_details.total %} - {% else %} - - + {% if review and not question.normal %} +
{% endif %} - - - {{ form.as_p }} - - + + {% if question_details.current > 1 %} + + {% endif %} + + {% if question_details.current >= question_details.total %} + {% else %} + + + {% endif %} + + + {{ form.as_p }} + + +
-
-
-
+
+
+
-
{% if review and not question.normal %} {% endif %}