.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{% extends 'rapids/exams.html' %}
|
{% extends 'rapids/exams.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% 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>
|
<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
|
<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
|
href="{% url 'rapids:rapid_update' question.id %}" title="Edit the Question">Edit</a> <a
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<h3>This question is abnormal</h3>
|
<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 }}
|
Region: {{ question.get_regions }}, Abnormalities: {{ question.get_abnormalities }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="marking">
|
<div class="marking">
|
||||||
@@ -40,9 +40,9 @@
|
|||||||
Click each answer to toggle through marks awarded (as per colour)<br/>
|
Click each answer to toggle through marks awarded (as per colour)<br/>
|
||||||
{% if not review %}
|
{% if not review %}
|
||||||
{% if unmarked_exam_answers_only %}
|
{% 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 %}
|
{% 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 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -57,6 +57,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% if not unmarked_exam_answers_only %}
|
||||||
Marked:
|
Marked:
|
||||||
<ul id="marked-answer-list" class="answer-list rapid">
|
<ul id="marked-answer-list" class="answer-list rapid">
|
||||||
{% for answer in correct_answers %}
|
{% for answer in correct_answers %}
|
||||||
@@ -75,6 +76,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
To review:
|
To review:
|
||||||
<ul id="new-answer-list" class="answer-list rapid">
|
<ul id="new-answer-list" class="answer-list rapid">
|
||||||
@@ -108,12 +110,12 @@
|
|||||||
</span>
|
</span>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div id="single-dicom-viewer" class="marking-dicom" data-images="{{question.get_image_url_array}}"
|
<div id="single-dicom-viewer" class="marking-dicom" data-images="{{question.get_image_url_array}}"
|
||||||
data-annotations='{{question.get_image_annotations}}'>
|
data-annotations='{{question.get_image_annotations}}'>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if review and not question.normal %}
|
{% if review and not question.normal %}
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
@@ -121,7 +123,7 @@
|
|||||||
$(".marking-list .answer").each((n, el) => {
|
$(".marking-list .answer").each((n, el) => {
|
||||||
console.log(n, el, el.dataset);
|
console.log(n, el, el.dataset);
|
||||||
if (el.dataset.mark != el.dataset.newmark) {
|
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()
|
$("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