.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends 'rapids/exams.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-6">
|
||||
<h2>{% if review %}Reviewing{% else %}Marking{% endif %} question {{question_details.current}} of {{question_details.total}}</h2>
|
||||
<a href="{% url 'rapids:question_detail' question.id %}" title="View the Question">View</a> <a
|
||||
href="{% url 'rapids:rapid_update' question.id %}" title="Edit the Question">Edit</a> <a
|
||||
@@ -31,7 +31,7 @@
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<h3>This question is abnormal</h3>
|
||||
Answers marked as normal will be automatically marked.<br />
|
||||
Answers given as normal will be automatically marked.<br />
|
||||
Region: {{ question.get_regions }}, Abnormalities: {{ question.get_abnormalities }}
|
||||
{% endif %}
|
||||
<div class="marking">
|
||||
@@ -40,9 +40,9 @@
|
||||
Click each answer to toggle through marks awarded (as per colour)<br/>
|
||||
{% if not review %}
|
||||
{% if unmarked_exam_answers_only %}
|
||||
Showing exam answers only <a href="{% url 'rapids:mark_all' exam.id question_number %}">(view all)</a>
|
||||
Showing unmarked exam answers only <a href="{% url 'rapids:mark_all' exam.id question_number %}">(view all answers for question)</a>
|
||||
{% else %}
|
||||
Showing all answers <a href="{% url 'rapids:mark' exam.id question_number %}">(view unmarked exam answers)</a>
|
||||
Showing all answers <a href="{% url 'rapids:mark' exam.id question_number %}">(view unmarked exam answers only)</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% if not unmarked_exam_answers_only %}
|
||||
Marked:
|
||||
<ul id="marked-answer-list" class="answer-list rapid">
|
||||
{% for answer in correct_answers %}
|
||||
@@ -75,6 +76,7 @@
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
To review:
|
||||
<ul id="new-answer-list" class="answer-list rapid">
|
||||
@@ -108,12 +110,12 @@
|
||||
</span>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div id="single-dicom-viewer" class="marking-dicom" data-images="{{question.get_image_url_array}}"
|
||||
data-annotations='{{question.get_image_annotations}}'>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if review and not question.normal %}
|
||||
<script>
|
||||
$(document).ready(() => {
|
||||
@@ -121,7 +123,7 @@
|
||||
$(".marking-list .answer").each((n, el) => {
|
||||
console.log(n, el, el.dataset);
|
||||
if (el.dataset.mark != el.dataset.newmark) {
|
||||
$(el).after(`<span class="current-mark"> saved mark [${el.dataset.mark}]</span>`)
|
||||
$(el).after(`<span class="current-mark"> saved [${el.dataset.mark}]</span>`)
|
||||
}
|
||||
})
|
||||
$("button.check-review").after("Discreptant answers are show above. Click next / save to update you your answers").hide()
|
||||
|
||||
Reference in New Issue
Block a user