This commit is contained in:
Ross
2021-12-31 13:43:58 +00:00
parent 95099007c2
commit 87f5b911cc
3 changed files with 13 additions and 55 deletions
+2 -24
View File
@@ -2,29 +2,7 @@
{% block content %}
<div class="">
<h2>CID: {{ cid }}</h2>
<p>The following exams will be available to take when active.
{% for exam_type, exams in available_exams %}
<h4>{{exam_type}}</h4>
<ul>
{% for exam in exams %}
<li><a href="" target="_blank">{{exam.name}}</a></li>
{% endfor %}
</ul>
{% endfor %}
{{report}}
</div>
<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_cid_user_score|cid}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
</div>
{% endblock %}