84 lines
4.2 KiB
HTML
84 lines
4.2 KiB
HTML
{% extends "admin/components/base.html" %}
|
|
{% block title %} SKA Referee Test | Detailed Results {% endblock %}
|
|
{% block navbar %}{% endblock %}
|
|
{% block top_alerts %}{% endblock %}
|
|
{% block content %}
|
|
<div class="d-flex justify-content-center">
|
|
<h1 class="center">SKA Referee Theory Exam Results</h1>
|
|
</div>
|
|
<div class="container mt-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-6">
|
|
<ul class="list-group">
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Candidate</h5>
|
|
</div>
|
|
<h2>
|
|
{{ entry.get_surname()}}, {{ entry.get_first_name() }}
|
|
</h2>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Email Address</h5>
|
|
</div>
|
|
{{ entry.get_email() }}
|
|
</li>
|
|
{% if entry.club %}
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Club</h5>
|
|
</div>
|
|
{{ entry.get_club() }}
|
|
</li>
|
|
{% endif %}
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Exam Code</h5>
|
|
</div>
|
|
{{ entry.test.get_code() }}
|
|
</li>
|
|
{% if entry.user_code %}
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">User Code</h5>
|
|
</div>
|
|
{{ entry.user_code }}
|
|
</li>
|
|
{% endif %}
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Start Time</h5>
|
|
</div>
|
|
{{ entry.start_time.strftime('%d %b %Y %H:%M:%S') }}
|
|
</li>
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Submission Time</h5>
|
|
{% if entry.status == 'late' %}
|
|
<span class="badge bg-danger">Late</span>
|
|
{% endif %}
|
|
</div>
|
|
{{ entry.end_time.strftime('%d %b %Y %H:%M:%S') }}
|
|
</li>
|
|
<li class="list-group-item list-group-item-action">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Score</h5>
|
|
</div>
|
|
{{ entry.result.score }}%
|
|
</li>
|
|
<li class="list-group-item list-group-item-action {% if entry.result.grade == 'fail' %}list-group-item-danger {% elif entry.result.grade == 'merit' %} list-group-item-success {% endif %}">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<h5 class="mb-1">Grade</h5>
|
|
</div>
|
|
{{ entry.result.grade[0]|upper }}{{ entry.result.grade[1:]}}
|
|
</li>
|
|
</ul>
|
|
<div class="site-footer mt-5">
|
|
These results were generated using the SKA RefTest web app on {{ now.strftime('%d %b %Y at %H:%M:%S') }}.
|
|
</div>
|
|
{% block footer %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |