This commit is contained in:
Ross
2021-02-06 14:33:33 +00:00
parent d4b0ad6985
commit 666ec9013a
12 changed files with 205 additions and 80 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ Longs:
{% if request.user.is_authenticated %}
<a href="{% url 'longs:exam_list' %}">Exams</a> /
<a href="{% url 'longs:long_view' %}">Questions</a> /
<a href="{% url 'longs:long_create' %}" title="Create a new question">Create Question</a>
<a href="{% url 'longs:long_create' %}" title="Create a new long case">Create Case</a> /
<a href="{% url 'longs:long_series_create' %}" title="Create a new image series">Create Series</a>
{% endif %}
{% comment %} </br>
@@ -18,7 +18,8 @@
>Popup</a>
</span>
{% endfor %}
<a href="{% url 'longs:long_series_id_create' pk=question.pk %}">Add series</a>
<span><a href="{% url 'longs:long_series_id_create' pk=question.pk %}">Add new series</a><br/>
<a href="{% url 'longs:long_series_id_create' pk=question.pk %}">Add existing series</a></span>
</div>
<p class="pre-whitespace"><b>Feedback:</b> {{ question.feedback }}</p>
<p><b>Author(s):</b> {% for author in question.author.all %} <a
+1 -1
View File
@@ -30,7 +30,7 @@
{% endblock %}
{% block content %}
<h2>Submit Long Case</h2>
Use this form to create a long case. Once the case has been created it can be associated with image sets (series)
Use this form to create a long case. Associated image sets can be added using this form however the images will have to be uploaded once the case has been created.
<form action="" method="post" enctype="multipart/form-data" id="long-form">
{% csrf_token %}
@@ -1,4 +1,6 @@
<div>{{ series.modality}}, {{ series.examination }}</div>
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_urls }}" data-annotations=''></div>
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_urls }}" data-annotations=''></div>
<div>Author: {{ series.get_author_display }}</div>