This commit is contained in:
Ross
2021-08-16 17:59:34 +01:00
parent e764c5dfee
commit 4a3de6bc3e
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -533,10 +533,10 @@ td.user-answer-score-2::after {
color: lightgray;
}
.exam-list li {
.exam-list li, .full-question-list li {
display: flex;
}
.exam-list li .flex-col {
.exam-list li .flex-col, .full-question-list li {
flex: 1;
}
+5 -1
View File
@@ -19,11 +19,11 @@
class="help-text">[When true the packet will be taken as an exam (it will not self mark and results will be saved here)]</span>
</div>
{% if exam.exam_mode %}
<div class="parent-help" title="Click to enable / disable the exam">
Exam active: <input type="checkbox" id="exam-active-switch" {% if exam.active %}checked{% endif %}> <span
class="help-text">[When checked the exam will be available to take in the test system]</span>
</div>
{% if exam.exam_mode %}
<div class="parent-help" title="Click to enable / disable the exam results">
Publish results: <input type="checkbox" id="exam-publish-results-switch"
{% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will
@@ -36,11 +36,14 @@
{% for question in questions.all %}
<li data-question_pk={{question.pk}}>
<span class="flex-col">
<a href="{% url 'rapids:exam_question_detail' pk=exam.pk sk=forloop.counter0 %}">
{% for image in question.get_images %}
<img src="{{ image|thumbnail_url:'exam-list' }}" alt="thumbail" />
{% endfor %}
</a>
</span>
<span class="flex-col">
{% if not question.normal %}
<b>Abnormality:</b> {{ question.get_abnormalities }} <b>Region:</b> {{ question.get_regions }}
<br />
@@ -52,6 +55,7 @@
Examination: {{ question.get_examinations }}, <a
href="{% url 'rapids:question_detail' pk=question.pk %}">View</a>, <a
href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Mark</a>
</span>
</li>
{% endfor %}
</ol>
+2 -2
View File
@@ -533,10 +533,10 @@ td.user-answer-score-2::after {
color: lightgray;
}
.exam-list li {
.exam-list li, .full-question-list li {
display: flex;
}
.exam-list li .flex-col {
.exam-list li .flex-col, .full-question-list li {
flex: 1;
}