Files
penracourses/longs/templates/longs/mark_question_double_overview.html
T
2023-05-15 10:54:09 +01:00

46 lines
2.0 KiB
HTML

{% extends 'longs/exams.html' %}
{% block content %}
<a href="{% url 'longs:exam_question_detail' exam.id question_details.current|add:'-1' %}"
title="View the Question">View</a>
<a href="{% url 'longs:long_update' question.id %}" title="Edit the Question">Edit</a> <a
href="{% url 'admin:longs_long_change' question.id %}" title="Edit the Question using the admin interface">Admin
Edit</a>
<h2>Marking question {{question_details.current}} of {{question_details.total}}</h2>
<div>
{% if not unmarked_count %}
<div class="alert alert-info" role="alert">All answers completely marked.</div>
{% else %}
<div class="alert alert-warning" role="alert">{{unmarked_count}} answer(s) incompletely marked.<br/>
You have {{marker_unmarked_count}} / {{user_answers.count}} answers left to mark.
</div>
{% endif %}
Answers:
<ul>
{% for answer in user_answers %}
<li>
<a href="{% url 'longs:mark_answer' exam.id question_details.current|add:'-1' answer.id %}"
title="Click to mark"> {{answer.cid}}</a>:
Score {{answer.get_answer_score}} [Markers: {{answer.get_markers}}] [Scores: {{answer.get_mark_scores}}]
{% if answer.discrepant_answers %}
This answer has discrepant scores.
{% endif %}
</li>
{% endfor %}
</ul>
<div>
{% if question_details.current > 1 %}
<a href="{% url 'longs:mark_question_overview' exam.id question_details.current|add:'-2' %}"
title="Previous question">Previous</a>
{% endif %}
{% if question_details.current >= question_details.total %}
{% else %}
<a href="{% url 'longs:mark_question_overview' exam.id question_details.current %}" title="Next question">Next</a>
{% endif %}
</div>
</div>
{% endblock %}