improve marking page

This commit is contained in:
Ross
2024-01-13 10:20:37 +00:00
parent 41c6a43680
commit aa41423b22
+15 -1
View File
@@ -5,8 +5,19 @@
<h2>Marking question {{question_details.current}} of {{question_details.total}}</h2>
<a href="{% url 'anatomy:question_detail' question.id %}" title="View the Question">View</a> <a href="{% url 'anatomy:anatomy_question_update' question.id %}" title="Edit the Question">Edit</a> <a href="{% url 'admin:anatomy_anatomyquestion_change' question.id %}" title="Edit the Question using the admin interface">Admin Edit</a>
<h3>{{ question.question_type }}</h3>
{% if question.structure %}
Structure: {{question.structure}}<br/>
{% endif %}
Primary answer: <span id="primary-answer" title="The primary answer of the question">{{question.get_primary_answer}}</span><br/>
Marking help: {{question.answer_help|safe}}
{% if question.answer_help %}
<details>
<summary>Marking help:</summary>
{{question.answer_help|safe}}
</details>
{% endif %}
<div class="marking">
@@ -120,6 +131,9 @@
.suggest {
border: 1px dashed;
}
.answer{
cursor: pointer;
}
#primary-answer {
font-weight: strong;
color: white;