.
This commit is contained in:
@@ -23,12 +23,12 @@
|
||||
<div class="pre-whitespace multi-image-block">
|
||||
{% for series in series_list %}
|
||||
<span class="series-block">
|
||||
<a href="#" onclick='window.loadDicomViewer(window.images[{{forloop.counter0}}])'>
|
||||
<span>
|
||||
Series {{ forloop.counter }}:
|
||||
<a href="#" onclick='window.loadDicomViewer(window.images[{{forloop.counter0}}])'>
|
||||
<span>
|
||||
Series {{ forloop.counter }}:
|
||||
{{series.get_block}}
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -39,71 +39,75 @@
|
||||
|
||||
</div>
|
||||
{% if show_discussion and case.discussion%}
|
||||
<details>
|
||||
<summary>
|
||||
Discussion:
|
||||
</summary>
|
||||
<div>
|
||||
{{case.discussion}}
|
||||
</div>
|
||||
</details>
|
||||
<p>
|
||||
<details>
|
||||
<summary>
|
||||
Discussion:
|
||||
</summary>
|
||||
<div>
|
||||
{{case.discussion}}
|
||||
</div>
|
||||
</details>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if show_report and case.report%}
|
||||
<details>
|
||||
<summary>
|
||||
Report:
|
||||
</summary>
|
||||
<div>
|
||||
{{case.report}}
|
||||
</div>
|
||||
</details>
|
||||
<p>
|
||||
<details>
|
||||
<summary>
|
||||
Report:
|
||||
</summary>
|
||||
<div>
|
||||
{{case.report}}
|
||||
</div>
|
||||
</details>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<form method="POST" class="post-form">{% csrf_token %}
|
||||
<div class="form-contents">
|
||||
{% if collection.publish_results %}<fieldset disabled="disabled">{% endif %}
|
||||
{{form}}
|
||||
{% if collection.publish_results %}</fieldset>{% endif %}
|
||||
</div>
|
||||
<p>
|
||||
<form method="POST" class="post-form">{% csrf_token %}
|
||||
<div class="form-contents">
|
||||
{% if collection.publish_results %}<fieldset disabled="disabled">{% endif %}
|
||||
{{form}}
|
||||
{% if collection.publish_results %}</fieldset>{% endif %}
|
||||
</div>
|
||||
<p>
|
||||
{% if collection.publish_results %}
|
||||
<h4>Answer score: {{answer.score}}</h4>
|
||||
Answer feedback: {{answer.feedback|safe}}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if previous > -1 %}
|
||||
<button type="submit" name="previous" class="save btn btn-default">Previous</button>
|
||||
{% endif %}
|
||||
{% if next %}
|
||||
<button type="submit" name="next" class="save btn btn-default">Next</button>
|
||||
{% else %}
|
||||
{% if not exam.publish_results %}
|
||||
<button type="submit" name="save" class="save btn btn-default">Save</button>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if previous > -1 %}
|
||||
<button type="submit" name="previous" class="save btn btn-default">Previous</button>
|
||||
{% endif %}
|
||||
{% if next %}
|
||||
<button type="submit" name="next" class="save btn btn-default">Next</button>
|
||||
{% else %}
|
||||
{% if not exam.publish_results %}
|
||||
<button type="submit" name="save" class="save btn btn-default">Save</button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<br />
|
||||
<button type="submit" name="finish" class="save btn btn-default">Overview</button>
|
||||
<button type="submit" id="goto-button" value="test" name="goto" class="hide">goto</button>
|
||||
</form>
|
||||
<style>
|
||||
label {
|
||||
vertical-align: top;
|
||||
<br />
|
||||
<button type="submit" name="finish" class="save btn btn-default">Overview</button>
|
||||
<button type="submit" id="goto-button" value="test" name="goto" class="hide">goto</button>
|
||||
</form>
|
||||
<style>
|
||||
label {
|
||||
vertical-align: top;
|
||||
|
||||
}
|
||||
.series-block {
|
||||
border: darkgray solid 1px;
|
||||
padding: 1px;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
}
|
||||
.series-block a {
|
||||
all: unset;
|
||||
}
|
||||
.series-block:hover {
|
||||
background-color: darkblue;
|
||||
}
|
||||
</style>
|
||||
}
|
||||
.series-block {
|
||||
border: darkgray solid 1px;
|
||||
padding: 1px;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
}
|
||||
.series-block a {
|
||||
all: unset;
|
||||
}
|
||||
.series-block:hover {
|
||||
background-color: darkblue;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% endblock %}
|
||||
{% block js %}
|
||||
|
||||
Reference in New Issue
Block a user