This commit is contained in:
Ross
2021-08-23 18:58:48 +01:00
parent 81385300d7
commit 59d674d17d
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -664,7 +664,7 @@ input {
/* display: flex; */
}
.sba-finish-list li {
/* .sba-finish-list li {
display: inline-block;
border: 1px solid purple;
min-width: 10px;
@@ -674,4 +674,4 @@ input {
display: inline-block;
border: 1px solid red;
min-width: 10px;
}
} */
+3 -3
View File
@@ -7,11 +7,11 @@ CID: {{cid}}
<div><p>Questions</p></div>
{{answer_count}} out of {{exam_length}} questions answered. Click to go to question.
<ul class="sba-finish-list">
<div 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>
<button {% 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></button>
{% endfor %}
</ul>
</div>
{% endblock %}