numerous improvements

This commit is contained in:
Ross
2020-12-05 18:10:51 +00:00
parent 45e038ccd6
commit a3bf73059c
5 changed files with 45 additions and 10 deletions
+2 -2
View File
@@ -10,7 +10,7 @@
<div title="Click to enable / disable the exam">
Exam active: <input type="checkbox" id="exam-active-switch" {% if exam.active %}checked{% endif %}>
</div>
<p><button><a href="{% url 'anatomy:mark_overview' pk=exam.pk %}">Mark exam</a></button></p>
<p><a href="{% url 'anatomy:mark_overview' pk=exam.pk %}"><button>Mark exam</button></a></p>
<!--<p><button><a href="{% url 'anatomy:exam_take' pk=exam.pk sk=0 %}">Click here to start</a></button></p>-->
<ol>
@@ -18,7 +18,7 @@ Exam active: <input type="checkbox" id="exam-active-switch" {% if exam.active %}
<li>{{ question.description }}: {{ question.GetPrimaryAnswer }}<img src="{{ question.image|thumbnail_url:'exam-list' }}" alt="thumbail" />
<br />
Exams: {{ question.GetExams }} / Modality: {{ question.modality }}
Modality: {{ question.modality }}
</li>
{% endfor %}
</ol>
+1 -1
View File
@@ -8,6 +8,7 @@
<div>
<button class="show-all-button">Show all</button><button class="show-unmarked-button">Show unmarked</button>
</div>
<div id="stark-marking-button"><a href="{% url 'anatomy:mark' pk=exam.pk sk=0 %}"><button>Click here to start marking</button></a></div>
<ul id="question-mark-list">
{% for question in questions.all %}
@@ -15,6 +16,5 @@
{{ question }}</a><br /> {{ question.GetUnmarkedAnswersString }}</li>
{% endfor %}
</ul>
<p><button><a href="{% url 'anatomy:mark' pk=exam.pk sk=0 %}">Click here to start marking</a></button></p>
</div>
{% endblock %}