.
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="question-display-block">
|
||||
Question <span class="question-number">1</span><br/>
|
||||
Question <span class="question-number">1</span><br />
|
||||
History: <span id="history"></span>
|
||||
Images: <span id="series"></span>
|
||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="" data-annotations=''>
|
||||
</div>
|
||||
<div class="answers">Answers: </div>
|
||||
</div>
|
||||
<div class="longs">
|
||||
<h2>Exam: {{ exam.name }}</h2>
|
||||
@@ -81,13 +80,12 @@
|
||||
});
|
||||
|
||||
window.dispatchEvent(event);
|
||||
$(".question-display-block .answers").empty().append(data.answers.toString());
|
||||
n = parseInt(question_number) + 1
|
||||
$(".question-display-block .question-number").empty().append(n);
|
||||
$("#history").empty().append(data.title);
|
||||
$("#series").empty();
|
||||
data.image_titles.forEach((element, index) => {
|
||||
$("#series").append(`<span>${index}: ${element}</span>`);
|
||||
$("#series").append(`<span>${index}: ${element}</span>`);
|
||||
|
||||
})
|
||||
// show some message according to the response.
|
||||
|
||||
Reference in New Issue
Block a user