diff --git a/physics/templates/physics/exam_take_overview.html b/physics/templates/physics/exam_take_overview.html index 14f6012c..300b6085 100644 --- a/physics/templates/physics/exam_take_overview.html +++ b/physics/templates/physics/exam_take_overview.html @@ -39,14 +39,26 @@ {% endif %} -
{{answer_count}} out of {{exam_length}} questions answered. Unanswered questions are shown in red.

Click to go to a question.

-
+
{{answer_count}} out of {{exam_length}} questions answered. Unanswered questions are shown in red. Click any tile to jump to that question.
+ +
{% for question, answer in question_answer_tuples %} + {% comment %} Use an anchor styled as a button rather than nesting button inside anchor (invalid HTML). Keep link targets unchanged. {% endcomment %} {% if not cid %} - + + {{forloop.counter}}{% if answer and answer.answer %}: {{answer.answer}}{% endif %} + {% else %} - + + {{forloop.counter}}{% if answer and answer.answer %}: {{answer.answer}}{% endif %} + {% endif %} {% endfor %}
@@ -58,9 +70,9 @@ {% if not cid_user_exam.completed %} {% if not cid %} - + {% else %} - + {% endif %} {% endif %} @@ -83,3 +95,57 @@ }) {% endblock %} + +{% block css %} + +{% endblock %}