This commit is contained in:
Ross
2021-08-19 10:59:07 +01:00
parent 62ff977574
commit 9bacc7f486
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -400,6 +400,11 @@ td.user-answer-score-1.rapid-ans::after {
content: "✓✓";
}
.score-row {
font-weight: bolder;
background-color: darkslateblue;
}
.user-answer-score pre {
display: inline;
color: inherit;
+1 -1
View File
@@ -49,7 +49,7 @@
</thead>
{% for question in questions %}
<tr>
<td>Question {{forloop.counter}}</td>
<td><a href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td>
{% for ans, score in by_question|get_item:question %}
<td class="rapid-ans user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td>
{% endfor %}