31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<div class="">
|
|
<h2>CID: {{ cid }}</h2>
|
|
<p>The following exams will be available to take when active.
|
|
{% for t, exams in available_exams %}
|
|
<h4>{{t}}</h4>
|
|
<ul>
|
|
{% for e in exams %}
|
|
<li><a href="" target="_blank">{{e.name}}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
|
|
<h3>Exam results</h3>
|
|
The following exam results been found. Click to view answers (and scores when the results are published):
|
|
{% for exam_type, exams in all_exams %}
|
|
{% if exams %}
|
|
<h4>{{exam_type|title}}</h4>
|
|
<ul>
|
|
{% for exam in exams %}
|
|
<li><a href="">{{exam.name}} {{exam.get_user_score|cid}}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
</div>
|
|
{% endblock %}
|