{% extends 'base.html' %} {% block content %} {% if not cid %} User: {{request.user}} {% else %} CID: {{cid}} {% endif %} {% include "exam_clock.html" %}

Exam: {{exam}}

{% if exam.publish_results %} {% elif cid_user_exam.completed %} {% elif answer_count != exam_length %} {% endif %}
{{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, flagged 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 %} {% if flagged %}{% endif %} {% else %} {{forloop.counter}}{% if answer and answer.answer %}: {{answer.answer}}{% endif %} {% if flagged %}{% endif %} {% endif %} {% endfor %}
Start time: {{cid_user_exam.start_time}}
Last change time: {{cid_user_exam.end_time}}
Completed: {{cid_user_exam.completed}}
{% if not cid_user_exam.completed %} {% if not cid %} {% else %} {% endif %} {% endif %} {% include "physics/exam_take_help.html" %} {% endblock %} {% block js %} {% endblock %} {% block css %} {% endblock %}