.
This commit is contained in:
@@ -4,35 +4,8 @@
|
||||
|
||||
{% load thumbnail %}
|
||||
<div class="longs">
|
||||
{% if can_edit %}
|
||||
<a href="{% url 'longs:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
|
||||
<a href="{% url 'longs:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
|
||||
<a href="{% url 'longs:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
|
||||
{% endif %}
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'admin:longs_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
|
||||
{% endif %}
|
||||
<h1>Exam: {{ exam.name }}</h1>
|
||||
{% include 'generic/exam_overview_headers.html' %}
|
||||
|
||||
{% include 'exam_notes.html' %}
|
||||
|
||||
This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.<br />
|
||||
Exam mode: {{ exam.exam_mode }}<br />
|
||||
Open access: {{ exam.open_access }}<br />
|
||||
|
||||
<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 %} data-posturl="{% url 'longs:exam_toggle_active' pk=exam.pk %}"> <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" data-posturl="{% url 'longs:exam_toggle_results_published' pk=exam.pk %}"
|
||||
{% if exam.publish_results %}checked{% endif %}> <span
|
||||
class="help-text">[When checked the exam results will
|
||||
be available on this site]</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<p><a href="{% url 'longs:mark_overview' pk=exam.pk %}"><button>Mark exam</button></a></p>
|
||||
|
||||
<ol id="full-question-list" class="sortable">
|
||||
|
||||
@@ -4,32 +4,8 @@
|
||||
|
||||
{% load thumbnail %}
|
||||
<div class="physics">
|
||||
{% if can_edit %}
|
||||
<a href="{% url 'physics:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
|
||||
<a href="{% url 'physics:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
|
||||
<a href="{% url 'physics:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
|
||||
{% endif %}
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'admin:physics_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin
|
||||
Edit</a>
|
||||
{% endif %}
|
||||
<h1>Exam: {{ exam.name }}</h1>
|
||||
{% include 'generic/exam_overview_headers.html' %}
|
||||
|
||||
{% include 'exam_notes.html' %}
|
||||
|
||||
<p>This exam has {{question_number}} questions.</p>
|
||||
Open access: {{ exam.open_access }}<br />
|
||||
|
||||
<div class="parent-help" title="Click to enable / disable the exam">
|
||||
Exam active: <input type="checkbox" id="exam-active-switch" data-posturl="{% url 'physics:exam_toggle_active' pk=exam.pk %}"
|
||||
{% 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 class="parent-help" title="Click to enable / disable the exam results">
|
||||
Publish results: <input type="checkbox" id="exam-publish-results-switch" data-posturl="{% url 'physics:exam_toggle_results_published' pk=exam.pk %}"
|
||||
{% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will
|
||||
be available on this site]</span>
|
||||
</div>
|
||||
This exam will be available to take <a href="{% url 'physics:exam_start' pk=exam.pk %}">here</a> (when active).
|
||||
|
||||
{% autoescape off %}
|
||||
|
||||
@@ -4,41 +4,8 @@
|
||||
|
||||
{% load thumbnail %}
|
||||
<div class="rapids">
|
||||
{% if can_edit %}
|
||||
<a href="{% url 'rapids:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
|
||||
<a href="{% url 'rapids:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
|
||||
<a href="{% url 'rapids:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
|
||||
{% endif %}
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'admin:rapids_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin
|
||||
Edit</a>
|
||||
{% endif %}
|
||||
<h1>Exam: {{ exam.name }}</h1>
|
||||
{% include 'generic/exam_overview_headers.html' %}
|
||||
|
||||
{% include 'exam_notes.html' %}
|
||||
|
||||
This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.<br />
|
||||
<div class="parent-help" title="">
|
||||
Normal count: {{ exam.get_normal_abnormal_breakdown }}<span class="help-text">[Number of normal questions within
|
||||
the exam]</span>
|
||||
</div>
|
||||
<div class="parent-help" title="">
|
||||
Exam mode: {{ exam.exam_mode }}<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>
|
||||
Open access: {{ exam.open_access }}<br />
|
||||
|
||||
<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 %} data-posturl="{% url 'rapids:exam_toggle_active' pk=exam.pk %}"> <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" data-posturl="{% url 'rapids:exam_toggle_results_published' pk=exam.pk %}"
|
||||
{% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will
|
||||
be available on this site]</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<p><a href="{% url 'rapids:mark_overview' pk=exam.pk %}"><button>Mark exam</button></a><a href="{% url 'rapids:mark_review' exam_pk=exam.pk sk=0 %}"><button>Review exam</button></a></p>
|
||||
|
||||
<ol id="full-question-list" class="sortable">
|
||||
|
||||
@@ -4,30 +4,8 @@
|
||||
|
||||
{% load thumbnail %}
|
||||
<div class="sbas">
|
||||
{% comment %} {% if can_edit %}
|
||||
<a href="{% url 'sbas:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
|
||||
<a href="{% url 'sbas:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
|
||||
<a href="{% url 'sbas:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
|
||||
{% endif %} {% endcomment %}
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'admin:sbas_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
|
||||
{% endif %}
|
||||
<h1>Exam: {{ exam.name }}</h1>
|
||||
{% include 'generic/exam_overview_headers.html' %}
|
||||
|
||||
{% include 'exam_notes.html' %}
|
||||
|
||||
<p>This exam has {{question_number}} questions.</p>
|
||||
|
||||
Open access: {{ exam.open_access }}<br />
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
This exam will be available to take <a href="{% url 'sbas:exam_start' pk=exam.pk %}">here</a> (when active).
|
||||
|
||||
{% autoescape off %}
|
||||
|
||||
Reference in New Issue
Block a user