fix a few missing things

This commit is contained in:
Ross
2024-08-19 13:16:47 +01:00
parent 3cb84fb7c4
commit 58eeb4f442
11 changed files with 59 additions and 23 deletions
@@ -67,20 +67,20 @@
Images
</summary>
{% for series, prior, relation in series_to_load %}
<span class="series-block
{% if prior %}
prior
{% endif %}
">
<span class="series-block
{% if prior %}
prior
{% endif %}
">
<a href="#" onclick='window.loadDicomViewer(window.images[{{forloop.counter0}}])'>
<span>
<span class="series-block-series-number">Series {{ forloop.counter }}:</span>
{{series.get_block}}
</span>
{% if prior %}
<br/><span class="relation">Prior: {{relation}}</span>
<br/><span class="relation">Prior: {{relation}}</span>
{% endif %}
</a>
</span>
{% endfor %}
@@ -168,10 +168,10 @@
</div>
<div>
{% if collection.self_review %}
{% if collection.self_review %}
<div>
<p>
<a href="{% url 'atlas:add_self_review' cid_user_exam.id case.id %}"><button>Add self review</button></a>
<a href="{% url 'atlas:add_self_review' cid_user_exam.id case.id %}"><button type="button">Add self review</button></a>
</p>
{% if self_review %}
<h4>Self Feedback</h4>
@@ -181,12 +181,12 @@
{% endfor %}
{% endif %}
{% else %}
<h4>Answer score: {{answer.score}}</h4>
Answer feedback: {{answer.feedback|safe}}
<br/>
{% endif %}
</div>
</div>
{% else %}
<h4>Answer score: {{answer.score}}</h4>
Answer feedback: {{answer.feedback|safe}}
<br/>
{% endif %}
<details><summary class="opacity-50">View questions</summary>
{{form.json.errors}}
@@ -340,7 +340,7 @@
{% for series, prior, relation in series_to_load %}
{{ forloop.counter0 }}: ["{{ series.get_image_url_array_not_json }}"],
{% endfor %}
}
$(document).ready(function () {
+6 -2
View File
@@ -7,7 +7,11 @@
{% block content %}
<div class="container-fluid">
Create <a href='{{request.path}}create'>new</a><br/>
Create a new <a href='{{request.path}}create'>collection</a> / <a href="{% url 'atlas:user_collections' %}">Collections to view / take</a>
<h2>My Collections</h2>
<details>
<summary>
<h4>Filter</h4>
@@ -18,7 +22,7 @@
<input class="btn btn-primary btn-sm mt-1 mb-1" type="submit" />
</form>
</div>
View my <a href='{% url "atlas:case_view" %}?author={{request.user.id}}'>cases</a>.
View my <a href='{% url "atlas:case_view" %}?author={{request.user.id}}'>cases</a>.
</details>
{% render_table table %}
</div>