.
This commit is contained in:
@@ -1,21 +1,21 @@
|
|||||||
{% extends 'longs/exams.html' %}
|
{% extends 'longs/exams.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<a href="{% url 'longs:exam_question_detail' exam.id question_details.current %}" title="View the Question">View</a>
|
<a href="{% url 'longs:exam_question_detail' exam.id question_details.current %}" title="View the Question">View</a>
|
||||||
<a href="{% url 'longs:long_update' question.id %}" title="Edit the Question">Edit</a>
|
<a href="{% url 'longs:long_update' question.id %}" title="Edit the Question">Edit</a>
|
||||||
{% if request.user.is_superuser %}
|
{% if request.user.is_superuser %}
|
||||||
<a href="{% url 'admin:longs_long_change' question.id %}" title="Edit the Question using the admin interface">Admin
|
<a href="{% url 'admin:longs_long_change' question.id %}" title="Edit the Question using the admin interface">Admin
|
||||||
Edit</a> <a href="{% url 'admin:longs_ciduseranswer_change' answer.id %}"
|
Edit</a> <a href="{% url 'admin:longs_ciduseranswer_change' answer.id %}"
|
||||||
title="Edit the user answer using the admin interface">Admin
|
title="Edit the user answer using the admin interface">Admin
|
||||||
Edit (user answer)</a>
|
Edit (user answer)</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2>Marking question <a href="{% url 'longs:mark_question_overview' exam.id question_details.current|add:'-1' %}"
|
<h2>Marking question <a href="{% url 'longs:mark_question_overview' 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 discrepancy_form %}
|
{% if discrepancy_form %}
|
||||||
<div class="alert alert-info sticky-alert" role="alert">
|
<div class="alert alert-info sticky-alert" role="alert">
|
||||||
<h3>This answer has discrepant scores</h3>
|
<h3>This answer has discrepant scores</h3>
|
||||||
Either edit your score before or set the overall score here.<br/>
|
Either edit your score before or set the overall score here.<br/>
|
||||||
|
|
||||||
<form method="POST" class="post-form">{% csrf_token %}
|
<form method="POST" class="post-form">{% csrf_token %}
|
||||||
<input type="hidden" name="form_id" value="discrepancy_form">
|
<input type="hidden" name="form_id" value="discrepancy_form">
|
||||||
@@ -23,11 +23,19 @@ Either edit your score before or set the overall score here.<br/>
|
|||||||
<button type="submit" name="save" class="save btn btn-default" title="Save score">Save Score</button>
|
<button type="submit" name="save" class="save btn btn-default" title="Save score">Save Score</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
<h4>Marker scores and reason</h4>
|
||||||
|
<ul>
|
||||||
|
{% for mark_objects in answer.mark %}{% endfor %}
|
||||||
|
<li>{{answer.marker}}: answer.score<br/>
|
||||||
|
{{answer.mark_reason}}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</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
|
||||||
overview</a><br />
|
overview</a><br />
|
||||||
@@ -39,7 +47,7 @@ Either edit your score before or set the overall score here.<br/>
|
|||||||
<a href="{% url 'longs:mark_answer' exam_id=exam.pk question_number=question_details.current|add:'-1' cid=next_cid %}">Next
|
<a href="{% url 'longs:mark_answer' exam_id=exam.pk question_number=question_details.current|add:'-1' cid=next_cid %}">Next
|
||||||
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>
|
||||||
@@ -115,10 +123,10 @@ Either edit your score before or set the overall score here.<br/>
|
|||||||
</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 %}
|
||||||
Reference in New Issue
Block a user