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

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') }} {{ '—'.join([test.test_code[:4], test.test_code[4:8], test.test_code[8:]]) }} {{ test.expiry_date.strftime('%d %b %Y') }} {% 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.attempts|length }}
{% elif not filter == 'create' %}
{{ error_none }}
{% endif %} {% if form %}
{{ 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 %}