diff --git a/anatomy/static/css/anatomy.css b/anatomy/static/css/anatomy.css index 72d3a53d..13e1f274 100644 --- a/anatomy/static/css/anatomy.css +++ b/anatomy/static/css/anatomy.css @@ -23,14 +23,29 @@ a, a:link { color: green; } +.answer-list .correct::after{ + content: " [Score = 2]"; + font-size: small; +} + .answer-list .half-correct { color: yellow; } +.answer-list .half-correct::after{ + content: " [Score = 1]"; + font-size: small; +} + .answer-list .incorrect { color: red; } +.answer-list .incorrect::after{ + content: " [Score = 0]"; + font-size: small; +} + .answer-list .not-marked { color: lightblue; } diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index 52cb161c..24d974b5 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -8,7 +8,7 @@ var marked_answers = { $(document).ready(function () { $(".answer-list li").each(function (index, element) { - $(element).append($("G")); + $(element).append($("G")); }); $(".answer-list span.answer").each(function (index, element) { diff --git a/anatomy/templates/anatomy/exam_scores.html b/anatomy/templates/anatomy/exam_scores.html index 83466eef..5bc70ed6 100644 --- a/anatomy/templates/anatomy/exam_scores.html +++ b/anatomy/templates/anatomy/exam_scores.html @@ -12,21 +12,12 @@ {% endif %} - {% for user, value in user_answers_marks.items %} -
| {{user}} | +{{user}} | {{user_scores|get_item:user}} |
| {{user}} | +{{user}} | {{user_scores|get_item:user}} |