This commit is contained in:
Ross
2021-09-09 11:10:54 +01:00
parent 76b68f1083
commit ec89aae33f
+14 -13
View File
@@ -12,20 +12,15 @@
<h2>Marking question <a href="{% url 'longs:mark' exam.id question_details.current|add:'-1' %}" <h2>Marking question <a href="{% url 'longs:mark' exam.id question_details.current|add:'-1' %}"
title="View question answers">{{question_details.current}}</a> of {{question_details.total}}</h2> title="View question answers">{{question_details.current}}</a> of {{question_details.total}}</h2>
{% if not next_unmarked_id and not unmarked %} {% if not next_unmarked_id and not unmarked %}
<div class="alert alert-info" role="alert">Success! Marking question complete. <a href="{% url 'longs:mark_overview' pk=exam.pk %}">Return to marking <div class="alert alert-info" role="alert">Success! Marking question complete. <a
href="{% url 'longs:mark_overview' pk=exam.pk %}">Return to marking
overview</a></div> overview</a></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>
<div> <details closed>
<details open title="click to view/hide the mark scheme"> <summary title="click to view/hide the question details">Question Details</summary>
<summary>Mark Scheme</summary>
{{ question.mark_scheme | safe}}
</details>
</div>
<details closed title="click to view/hide the question details">
<summary>Question Details</summary>
<p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p> <p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p>
<p class="pre-whitespace"><b>History:</b> {{ question.history }}</p> <p class="pre-whitespace"><b>History:</b> {{ question.history }}</p>
@@ -46,8 +41,13 @@
{% endfor %} {% endfor %}
</div> </div>
</details> </details>
<details open title="click to view/hide user answers"> <div class="marking-block">
<summary>User answers</summary> <details open>
<summary title="click to view/hide the mark scheme">Mark Scheme</summary>
{{ question.mark_scheme | safe}}
</details>
<details open>
<summary title="click to view/hide user answers">User answers</summary>
<div> <div>
<div class="long-answer"> <div class="long-answer">
<span class="answer-heading">User observations:</span> <span class="answer-heading">User observations:</span>
@@ -71,7 +71,8 @@
</div> </div>
</div> </div>
</details> </details>
</div>
<div class="marking"> <div class="marking">
<form method="POST" class="post-form">{% csrf_token %} <form method="POST" class="post-form">{% csrf_token %}
{{ form.as_p }} {{ form.as_p }}