This commit is contained in:
Ross
2021-08-19 11:05:32 +01:00
parent 9bacc7f486
commit c061dc7d7d
2 changed files with 6 additions and 1 deletions
@@ -7,7 +7,7 @@
Answers:
<ul>{% for ans, score, correct_answer in answers_and_marks %}
<li class="user-answer-li">Question {{forloop.counter}} - Correct answer: <span class="correct-answer">{{ correct_answer }}</span></li>
<span class="user-answer-score user-answer-score-{{score}}"><pre>{{ans}}</pre> ({{score}})</span>
<span class="user-answer-score user-answer-score-{{score}} rapid-ans"><pre>{{ans}}</pre> ({{score}})</span>
{% endfor %}
</ul>
<br /> Total mark: {{ total_score }} / {{max_score}}
+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;