This commit is contained in:
Ross
2021-08-23 18:13:12 +01:00
parent 3b3bdcf937
commit 62c6efa7a1
3 changed files with 29 additions and 6 deletions
+1 -6
View File
@@ -7,7 +7,7 @@ CID: {{cid}}
<div><p>Questions</p></div>
{{answer_count}} out of {{exam_length}} questions answered. Click to go to question.
<ul class="question-list">
<ul class="sba-finish-list">
{% for question, answer in question_answer_tuples %}
<li {% if not answer %}class="unanswered"{% endif %}><a href="{% url 'sbas:exam_take' pk=exam.id sk=forloop.counter0 cid=cid %}">{{forloop.counter}}: {{answer.answer}}</a></li>
{% endfor %}
@@ -20,9 +20,4 @@ CID: {{cid}}
$(document).ready(() => {
})
</script>
{% endblock %}
{% block css %}
<style type="text/css">
.unanswered { border: 1px solid red; }
</style>
{% endblock %}