.
This commit is contained in:
@@ -533,10 +533,10 @@ td.user-answer-score-2::after {
|
|||||||
color: lightgray;
|
color: lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exam-list li {
|
.exam-list li, .full-question-list li {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exam-list li .flex-col {
|
.exam-list li .flex-col, .full-question-list li {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
@@ -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>
|
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>
|
</div>
|
||||||
|
|
||||||
{% if exam.exam_mode %}
|
|
||||||
<div class="parent-help" title="Click to enable / disable the exam">
|
<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
|
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>
|
class="help-text">[When checked the exam will be available to take in the test system]</span>
|
||||||
</div>
|
</div>
|
||||||
|
{% if exam.exam_mode %}
|
||||||
<div class="parent-help" title="Click to enable / disable the exam results">
|
<div class="parent-help" title="Click to enable / disable the exam results">
|
||||||
Publish results: <input type="checkbox" id="exam-publish-results-switch"
|
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
|
{% 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 %}
|
{% for question in questions.all %}
|
||||||
|
|
||||||
<li data-question_pk={{question.pk}}>
|
<li data-question_pk={{question.pk}}>
|
||||||
|
<span class="flex-col">
|
||||||
<a href="{% url 'rapids:exam_question_detail' pk=exam.pk sk=forloop.counter0 %}">
|
<a href="{% url 'rapids:exam_question_detail' pk=exam.pk sk=forloop.counter0 %}">
|
||||||
{% for image in question.get_images %}
|
{% for image in question.get_images %}
|
||||||
<img src="{{ image|thumbnail_url:'exam-list' }}" alt="thumbail" />
|
<img src="{{ image|thumbnail_url:'exam-list' }}" alt="thumbail" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</a>
|
</a>
|
||||||
|
</span>
|
||||||
|
<span class="flex-col">
|
||||||
{% if not question.normal %}
|
{% if not question.normal %}
|
||||||
<b>Abnormality:</b> {{ question.get_abnormalities }} <b>Region:</b> {{ question.get_regions }}
|
<b>Abnormality:</b> {{ question.get_abnormalities }} <b>Region:</b> {{ question.get_regions }}
|
||||||
<br />
|
<br />
|
||||||
@@ -52,6 +55,7 @@
|
|||||||
Examination: {{ question.get_examinations }}, <a
|
Examination: {{ question.get_examinations }}, <a
|
||||||
href="{% url 'rapids:question_detail' pk=question.pk %}">View</a>, <a
|
href="{% url 'rapids:question_detail' pk=question.pk %}">View</a>, <a
|
||||||
href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Mark</a>
|
href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Mark</a>
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
@@ -533,10 +533,10 @@ td.user-answer-score-2::after {
|
|||||||
color: lightgray;
|
color: lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exam-list li {
|
.exam-list li, .full-question-list li {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exam-list li .flex-col {
|
.exam-list li .flex-col, .full-question-list li {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user