This commit is contained in:
Ross
2021-09-25 18:39:00 +01:00
parent 45f1fa81d9
commit afe067e6eb
3 changed files with 129 additions and 129 deletions
+4 -4
View File
@@ -24,7 +24,7 @@
<div id="stats-plot">{{plot|safe}}</div> <div id="stats-plot">{{plot|safe}}</div>
</div> </div>
<div> <div>
<table class="table table-dark table-striped table-hover table-sm"> <table class="table table-dark table-striped table-hover table-sm cid-score-table">
<tr> <tr>
<th>Candidate ID</th> <th>Candidate ID</th>
<th>Score</th> <th>Score</th>
@@ -44,14 +44,14 @@
<tr> <tr>
<th>Candidate</th> <th>Candidate</th>
{% for cid in cids %} {% for cid in cids %}
<th>{{cid}}</th> <th><a href="{% url 'anatomy:exam_scores_cid_user' exam.pk cid %}">{{cid}}</a></th>
{% endfor %} {% endfor %}
</tr> </tr>
</thead> </thead>
{% for question in questions %} {% for question in questions %}
<tr> <tr>
<td>Question {{forloop.counter}}</td> <td><a href="{% url 'anatomy:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td>
{% for ans, score in by_question|get_item:question %} {% for ans, score in by_question|get_item:question %}
<td class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td> <td class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td>
{% endfor %} {% endfor %}
@@ -62,7 +62,7 @@
{% for score in user_scores_list %} {% for score in user_scores_list %}
<td>{{score}}</td> <td>{{score}}</td>
{% endfor %} {% endfor %}
<tr> </tr>
</table> </table>
</div> </div>
@@ -4,7 +4,7 @@
{% block content %} {% block content %}
<h2>Add Feedback</h2> <h2>Add Feedback</h2>
<div class="alert alert-info" role="alert"> <div class="alert alert-info" role="alert">
Adding feedback for {{question_type}}/{{question.id}} ] Adding feedback for {{question_type}}/{{question.id}}
{% if user.is_superuser %} {% if user.is_superuser %}
<br/> {{question}} <br/> {{question}}
+2 -2
View File
@@ -53,7 +53,7 @@
</thead> </thead>
{% for question in questions %} {% for question in questions %}
<tr> <tr>
<td><a href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a> <td><a href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td>
{% if question.normal %} {% if question.normal %}
[N] [N]
{% else %} {% else %}
@@ -70,7 +70,7 @@
{% for score in user_scores_list %} {% for score in user_scores_list %}
<td>{{score}}</td> <td>{{score}}</td>
{% endfor %} {% endfor %}
<tr> </tr>
</table> </table>
</div> </div>