.
This commit is contained in:
@@ -8,13 +8,16 @@
|
|||||||
<h1>Exam: {{ exam.name }}</h1>
|
<h1>Exam: {{ exam.name }}</h1>
|
||||||
This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.
|
This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.
|
||||||
|
|
||||||
|
Exam mode: {{ exam.exam_mode }}
|
||||||
|
|
||||||
|
{% if 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 class="help-text">[When checked the exam will be available to take in the test system]</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>
|
||||||
</div>
|
</div>
|
||||||
<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" {% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will be available on this site]</span>
|
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 be available on this site]</span>
|
||||||
</div>
|
</div>
|
||||||
Exam mode: {{ exam.exam_mode }}
|
{% endif %}
|
||||||
<p><a href="{% url 'anatomy:mark_overview' pk=exam.pk %}"><button>Mark exam</button></a></p>
|
<p><a href="{% url 'anatomy:mark_overview' pk=exam.pk %}"><button>Mark exam</button></a></p>
|
||||||
|
|
||||||
<ol id="full-question-list" class="sortable">
|
<ol id="full-question-list" class="sortable">
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ class RapidFilter(django_filters.FilterSet):
|
|||||||
fields = ("normal", "abnormality", "exams", "region", "examination",
|
fields = ("normal", "abnormality", "exams", "region", "examination",
|
||||||
"laterality",
|
"laterality",
|
||||||
#"site",
|
#"site",
|
||||||
"created_date", "author")
|
"created_date", "open_access", "author")
|
||||||
|
|
||||||
def __init__(self, data=None, queryset=None, prefix=None, strict=None, user=None, request=None):
|
def __init__(self, data=None, queryset=None, prefix=None, strict=None, user=None, request=None):
|
||||||
if not request.user.groups.filter(name="rapid_checker").exists():
|
if not request.user.groups.filter(name="rapid_checker").exists():
|
||||||
|
|||||||
+1
-1
@@ -54,5 +54,5 @@ class RapidTable(tables.Table):
|
|||||||
fields = ("normal", "abnormality", "region", "examination",
|
fields = ("normal", "abnormality", "region", "examination",
|
||||||
"laterality",
|
"laterality",
|
||||||
#"site",
|
#"site",
|
||||||
"created_date", "author")
|
"created_date", "open_access", "author")
|
||||||
sequence = ("view", "images", "exams")
|
sequence = ("view", "images", "exams")
|
||||||
Reference in New Issue
Block a user