Merge branch 'master' of ssh://git.vsnt.uk:2222/viveksantayana/ska-referee-test

This commit is contained in:
Vivek Santayana 2021-12-06 22:54:02 +00:00
commit c7b54d2119

View File

@ -57,13 +57,13 @@
<span class="badge bg-danger">Late</span> <span class="badge bg-danger">Late</span>
{% endif %} {% endif %}
</div> </div>
{% if entry.submission_time is defined %} {% if 'submission_time' in entry %}
{{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }} {{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }}
{% else %} {% else %}
Incomplete Incomplete
{% endif %} {% endif %}
</li> </li>
{% if entry.results is defined %} {% if 'results' in entry %}
<li class="list-group-item list-group-item-action"> <li class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between"> <div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">Score</h5> <h5 class="mb-1">Score</h5>
@ -76,11 +76,9 @@
</div> </div>
{{ entry.results.grade[0]|upper }}{{ entry.results.grade[1:]}} {{ entry.results.grade[0]|upper }}{{ entry.results.grade[1:]}}
</li> </li>
{% else %}
No results to display.
{% endif %} {% endif %}
</ul> </ul>
{% if entry.results is defined %} {% if 'results' in entry %}
<div class="accordion" id="results-breakdown"> <div class="accordion" id="results-breakdown">
<div class="accordion-item"> <div class="accordion-item">
<h2 class="accordion-header" id="by-category"> <h2 class="accordion-header" id="by-category">