.
This commit is contained in:
@@ -9,7 +9,7 @@ CID: {{cid}}
|
|||||||
{{answer_count}} out of {{exam_count}} questions answered. Click to go to question.
|
{{answer_count}} out of {{exam_count}} questions answered. Click to go to question.
|
||||||
<ul class="question-list">
|
<ul class="question-list">
|
||||||
{% for question, answer in question_answer_tuples %}
|
{% for question, answer in question_answer_tuples %}
|
||||||
<li class=""><a href="{% url sbas:exam_take pk=exam.id sk=forloop.counter0 cid=cid" %}>{{forloop.counter}}: {{answer.answer}}</a></li>
|
<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 %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -23,7 +23,6 @@ CID: {{cid}}
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block css %}
|
{% block css %}
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.form-contents { display: none; }
|
.unanswered { border: 1px solid red; }
|
||||||
.selected { border: 1px solid purple; }
|
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user