.
This commit is contained in:
@@ -1,23 +1,29 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
CID: {{cid}}
|
CID: {{cid}}
|
||||||
|
|
||||||
<h2>Exam: {{exam.name}}</h2>
|
<h2>Exam: {{exam.name}}</h2>
|
||||||
|
|
||||||
<div><p>Questions</p></div>
|
{% if exam.publish_results %}
|
||||||
{{answer_count}} out of {{exam_length}} questions answered. Click to go to question.
|
<div class="alert alert-primary" role="alert">
|
||||||
<div class="sba-finish-list">
|
Exam is in review mode. Add question feedback <a href="#" onclick="return window.create_popup_window('{% url 'feedback_create' question_type='sbas' pk=question.pk %}')">here</a>.
|
||||||
{% for question, answer in question_answer_tuples %}
|
</div>
|
||||||
<a href="{% url 'physics:exam_take' pk=exam.id sk=forloop.counter0 cid=cid passcode=passcode %}"><button {% if not answer %}class="unanswered"{% endif %}>{{forloop.counter}}: {{answer.answer}}</button></a>
|
{% endif %}
|
||||||
{% endfor %}
|
|
||||||
</div>
|
<div><p>Questions</p></div>
|
||||||
|
{{answer_count}} out of {{exam_length}} questions answered. Click to go to question.
|
||||||
|
<div class="sba-finish-list">
|
||||||
|
{% for question, answer in question_answer_tuples %}
|
||||||
|
<a href="{% url 'physics:exam_take' pk=exam.id sk=forloop.counter0 cid=cid passcode=passcode %}"><button {% if not answer %}class="unanswered"{% endif %}>{{forloop.counter}}: {{answer.answer}}</button></a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js %}
|
{% block js %}
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
CID: {{cid}}
|
CID: {{cid}}
|
||||||
<div class="no-select">
|
<div class="no-select">
|
||||||
<h2>Question [{{pos|add:1}}/{{exam_length}}]</h2>
|
<h2>{{exam.name}}: Question [{{pos|add:1}}/{{exam_length}}]</h2>
|
||||||
{% if exam.publish_results %}
|
{% if exam.publish_results %}
|
||||||
<div class="alert alert-primary" role="alert">
|
<div class="alert alert-primary" role="alert">
|
||||||
Exam is in review mode. Add question feedback <a href="#" onclick="return window.create_popup_window('{% url 'feedback_create' question_type='sbas' pk=question.pk %}')">here</a>.
|
Exam is in review mode. Add question feedback <a href="#" onclick="return window.create_popup_window('{% url 'feedback_create' question_type='sbas' pk=question.pk %}')">here</a>.
|
||||||
|
|||||||
Reference in New Issue
Block a user