{% extends "admin/components/datatable.html" %} {% block title %} SKA Referee Test | Manage Exams {% endblock %} {% block content %} {% include "admin/components/client-alerts.html" %}

Manage Exams

{% include "admin/components/secondary-navs/tests.html" %}

{{ display_title }}

{% if tests %} {% for test in tests %} {% endfor %}
Start Date Exam Code Expiry Date Time Limit Entries Actions
{{ test.start_date.strftime('%d %b %y %H:%M') }} {{ test.get_code() }} {{ test.end_date.strftime('%d %b %Y %H:%M') }} {% if test.time_limit == None -%} None {% elif test.time_limit == 60 -%} 1 hour {% elif test.time_limit == 90 -%} 1 hour 30 min {% elif test.time_limit == 120 -%} 2 hours {% else -%} {{ test.time_limit }} {% endif %} {{ test.entries|length }}
{% elif not filter == 'create' %}
{{ error_none }}
{% endif %} {% if form %}

Create Exam

{{ form.hidden_tag() }}
{{ form.start_date(placeholder="Enter Start Date", class_ = "datepicker") }} {{ form.start_date.label }}
{{ form.expiry_date(placeholder="Enter Expiry Date", class_ = "datepicker") }} {{ form.expiry_date.label }}
{{ form.time_limit(placeholder="Select Time Limit") }} {{ form.time_limit.label }}
{{ form.dataset(placeholder="Select Question Dataset") }} {{ form.dataset.label }}
{% include "admin/components/client-alerts.html" %}
{% endif %} {% endblock %} {% if tests %} {% block custom_data_script %} {% endblock %} {% endif %}