Finished client result API.
Need to work on adjustment user codes and server email notifications.
This commit is contained in:
44
ref-test/quiz/templates/quiz/result.html
Normal file
44
ref-test/quiz/templates/quiz/result.html
Normal file
@ -0,0 +1,44 @@
|
||||
{% extends "quiz/components/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>SKA Refereeing Theory Exam</h1>
|
||||
|
||||
<h2>Candidate Results</h2>
|
||||
|
||||
<h3 class="results-name">
|
||||
<span class="surname">{{ entry.name.surname }}</span>, {{ entry.name.first_name }}
|
||||
</h3>
|
||||
|
||||
<strong class="results-details">Email Address</strong>: {{ entry.email }}
|
||||
|
||||
{% if entry.club %}
|
||||
<strong class="results-details">Club</strong>: {{ entry.club }}
|
||||
{% endif%}
|
||||
|
||||
{% if entry.status == 'late' %}
|
||||
|
||||
Your results are invalid because you did not submit your exam in time. Please contact the SKA Refereeing Coordinator.
|
||||
|
||||
{% else %}
|
||||
|
||||
<div class="results-score">
|
||||
{{ score }}
|
||||
</div>
|
||||
|
||||
<div class="results-grade">
|
||||
{{ entry.results.grade[0]|upper }}{{ entry.results.grade[1:] }}
|
||||
</div>
|
||||
|
||||
{% if entry.results.grade == 'fail' %}
|
||||
Unfortunately, you have not passed the theory exam in this attempt. For your next attempt, it might help to revise the following topics:
|
||||
|
||||
<ul>
|
||||
{% for tag in show_low_tags %}
|
||||
<li>{{ tag[0] }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
A copy of these results will be sent to you via email.
|
||||
{% endif %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user