This commit is contained in:
Ross
2021-08-31 20:40:52 +01:00
parent 8df9d38c4a
commit aee965bff4
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -224,7 +224,11 @@ button a {
}
#question-mark-list a {
color: #bbe1fa
color: darkgray;
}
#question-mark-list .unmarked a {
color: purple;
}
#question-mark-list li {
+3 -1
View File
@@ -12,7 +12,9 @@
<ul id="question-mark-list">
{% for question in questions.all %}
<li data-markcount={{question.get_unmarked_answer_count}}><a href="{% url 'longs:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter }}:
<li data-markcount={{question.get_unmarked_answer_count}}
{% if question.get_unmarked_answer_count %}class="unmarked" {% endif %}
><a href="{% url 'longs:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter }}:
{{ question }}</a><br /> Answers to mark: {{question.get_unmarked_answer_count}}</li>
{% endfor %}
</ul>