.
This commit is contained in:
@@ -9,7 +9,8 @@ Associated case:
|
|||||||
This series is not associated with any cases.
|
This series is not associated with any cases.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_url_array }}" data-annotations=''></div>
|
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_url_array }}" data-annotations=''>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button id="add-finding-button">Add finding</button>
|
<button id="add-finding-button">Add finding</button>
|
||||||
<div id="finding-form">
|
<div id="finding-form">
|
||||||
@@ -38,7 +39,7 @@ This series is not associated with any cases.
|
|||||||
<p><a href="{% url 'atlas:series_download' pk=series.pk %}">Download images</a></p>
|
<p><a href="{% url 'atlas:series_download' pk=series.pk %}">Download images</a></p>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<div class="hidden" id="hidden-form">
|
<div class="hide" id="hidden-form">
|
||||||
<form method="post" id="series_finding_form">
|
<form method="post" id="series_finding_form">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ series_finding_form }}
|
{{ series_finding_form }}
|
||||||
@@ -50,7 +51,7 @@ This series is not associated with any cases.
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$("#add-finding-button").click(() => {
|
$("#add-finding-button").click(() => {
|
||||||
$("#finding-form").clear().append(
|
$("#finding-form").empty().append(
|
||||||
$("#hidden-form form").clone()
|
$("#hidden-form form").clone()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user