This commit is contained in:
Ross
2021-10-16 16:53:49 +01:00
parent 68330ff106
commit 21f3edee21
2 changed files with 8 additions and 3 deletions
@@ -65,6 +65,7 @@
$(".question-display-block .question-number").empty().append(n);
// show some message according to the response.
// For eg. A message box showing that the status has been changed
$(".inner-display-block").show();
})
.always(function () {
console.log('[Done]');
+7 -3
View File
@@ -1,6 +1,7 @@
{% extends 'rapids/exams.html' %}
{% block content %}
<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
@@ -33,9 +34,6 @@
Answers marked as normal will be automatically marked.<br />
Region: {{ question.get_regions }}, Abnormalities: {{ question.get_abnormalities }}
{% endif %}
<div id="single-dicom-viewer" class="marking-dicom" data-images="{{question.get_image_url_array}}"
data-annotations='{{question.get_image_annotations}}'>
</div>
<div class="marking">
<form method="POST" class="post-form">{% csrf_token %}
{% if not question.normal %}
@@ -110,6 +108,12 @@
</span>
</form>
</div>
</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>
{% if review and not question.normal %}
<script>
$(document).ready(() => {