This commit is contained in:
Ross
2021-09-12 09:36:33 +01:00
parent 03bcd07862
commit 352b86de19
+15 -15
View File
@@ -25,16 +25,16 @@
<h4>Marker scores and reason</h4> <h4>Marker scores and reason</h4>
<ul> <ul>
{% for mark_objects in answer.mark %}{% endfor %} {% for mark_objects in answer.mark %}
<li>{{answer.marker}}: answer.score<br/> <li>{{answer.marker}}: answer.score<br/>
{{answer.mark_reason}} {{answer.mark_reason}}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% endif %} {% endif %}
{% if not next_unmarked_id and not unmarked %} {% if not next_unmarked_id and not unmarked %}
<div class="alert alert-info sticky-alert" role="alert">Success! Marking question complete. <br />Return to <a <div class="alert alert-info sticky-alert" role="alert">Success! Marking question complete. <br />Return to <a
href="{% url 'longs:mark_question_overview' exam.id question_details.current|add:'-1' %}">question href="{% url 'longs:mark_question_overview' exam.id question_details.current|add:'-1' %}">question
overview</a>, <a href="{% url 'longs:mark_overview' pk=exam.pk %}">marking overview</a>, <a href="{% url 'longs:mark_overview' pk=exam.pk %}">marking
@@ -48,10 +48,10 @@
candidate</a> candidate</a>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<span>Marking CID: {{answer.cid}} ({{unmarked|length}} answer(s) left to mark)</span> <span>Marking CID: {{answer.cid}} ({{unmarked|length}} answer(s) left to mark)</span>
<details closed> <details closed>
<summary title="click to view/hide the question details">Question Details</summary> <summary title="click to view/hide the question details">Question Details</summary>
<p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p> <p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p>
@@ -72,8 +72,8 @@
</span> </span>
{% endfor %} {% endfor %}
</div> </div>
</details> </details>
<div class="marking-block"> <div class="marking-block">
<details open> <details open>
<summary title="click to view/hide the mark scheme">Mark Scheme</summary> <summary title="click to view/hide the mark scheme">Mark Scheme</summary>
{{ question.mark_scheme | safe}} {{ question.mark_scheme | safe}}
@@ -104,8 +104,8 @@
</div> </div>
</details> </details>
</div> </div>
<div class="marking"> <div class="marking">
<form method="POST" class="post-form">{% csrf_token %} <form method="POST" class="post-form">{% csrf_token %}
<input type="hidden" name="form_id" value="mark_form"> <input type="hidden" name="form_id" value="mark_form">
{{ form.as_p }} {{ form.as_p }}
@@ -121,12 +121,12 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</form> </form>
</div> </div>
{% if previous_cid %} {% if previous_cid %}
<a href="{% url 'longs:mark_answer' exam_id=exam.pk question_number=question_details.current|add:'-1' cid=previous_cid %}">Previous <a href="{% url 'longs:mark_answer' exam_id=exam.pk question_number=question_details.current|add:'-1' cid=previous_cid %}">Previous
candidate</a> candidate</a>
{% endif %} {% endif %}
{% if next_cid %} {% if next_cid %}
<a href="{% url 'longs:mark_answer' exam_id=exam.pk question_number=question_details.current|add:'-1' cid=next_cid %}">Next candidate</a> <a href="{% url 'longs:mark_answer' exam_id=exam.pk question_number=question_details.current|add:'-1' cid=next_cid %}">Next candidate</a>
{% endif %} {% endif %}
{% endblock %} {% endblock %}