This commit is contained in:
Ross
2021-08-31 20:47:30 +01:00
parent 71527b5d2d
commit c6e01a0cb7
3 changed files with 61 additions and 55 deletions
+3 -1
View File
@@ -5,10 +5,12 @@
<h2>{{ exam.name }}</h2> <h2>{{ exam.name }}</h2>
{% if unmarked %} {% if unmarked %}
<div class="alert alert-info" role="alert">
The following questions need marking The following questions need marking
{% for exam_index in unmarked %} {% for exam_index in unmarked %}
<a href="{% url 'anatomy:mark' exam.pk exam_index %}">{{ exam_index|add:1 }}</a> <a href="{% url 'anatomy:mark' exam.pk exam_index %}">{{ exam_index|add:1 }}</a>
{% endfor %} {% endfor %}
</div>
{% endif %} {% endif %}
@@ -16,7 +18,7 @@
<div id="stats-block"> <div id="stats-block">
<h3>Stats</h3> <h3>Stats</h3>
Candidates: {{cids|length}}<br /> Candidates: {{cids|length}}<br />
Max score: {{max_score}}<br/> Max score: {{max_score}}<br />
Mean: {{mean}}, Median {{median}}, Mode {{mode}} Mean: {{mean}}, Median {{median}}, Mode {{mode}}
<div id="stats-plot">{{plot|safe}}</div> <div id="stats-plot">{{plot|safe}}</div>
+2
View File
@@ -5,10 +5,12 @@
<h2>{{ exam.name }}</h2> <h2>{{ exam.name }}</h2>
{% if unmarked %} {% if unmarked %}
<div class="alert alert-info" role="alert">
The following questions need marking The following questions need marking
{% for exam_index in unmarked %} {% for exam_index in unmarked %}
<a href="{% url 'longs:mark' exam.pk exam_index %}">{{ exam_index|add:1 }}</a> <a href="{% url 'longs:mark' exam.pk exam_index %}">{{ exam_index|add:1 }}</a>
{% endfor %} {% endfor %}
</div>
{% endif %} {% endif %}
+3 -1
View File
@@ -6,10 +6,12 @@
<h2>{{ exam.name }}</h2> <h2>{{ exam.name }}</h2>
{% if unmarked %} {% if unmarked %}
<div class="alert alert-info" role="alert">
The following questions need marking The following questions need marking
{% for exam_index in unmarked %} {% for exam_index in unmarked %}
<a href="{% url 'rapids:mark' exam.pk exam_index %}">{{ exam_index|add:1 }}</a> <a href="{% url 'rapids:mark' exam.pk exam_index %}">{{ exam_index|add:1 }}</a>
{% endfor %} {% endfor %}
</div>
{% endif %} {% endif %}
@@ -17,7 +19,7 @@
<div id="stats-block"> <div id="stats-block">
<h3>Stats</h3> <h3>Stats</h3>
Candidates: {{cids|length}}<br /> Candidates: {{cids|length}}<br />
Max score: {{max_score}}<br/> Max score: {{max_score}}<br />
Mean: {{mean}}, Median {{median}}, Mode {{mode}} Mean: {{mean}}, Median {{median}}, Mode {{mode}}
</div> </div>