Make ioi16 related files cleaner
This commit is contained in:
parent
e10a8aca5c
commit
07d5ad2216
14 changed files with 145 additions and 92 deletions
|
@ -26,7 +26,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% for batch in batches %}
|
||||
{% if batch.id not in frozen_subtasks %}
|
||||
{% if batch.id not in hidden_subtasks %}
|
||||
<div style="margin-top: 0.5em;">
|
||||
{% if batch.id %}
|
||||
<b>{{ _('Batch ') }}#{{ batch.id }} ({{batch.points|floatformat}} / {{batch.total|floatformat}}): </b>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<br>
|
||||
|
||||
<table class="testcases-table">
|
||||
{% if submission.is_graded and submission.result != 'AB' and not frozen_subtasks %}
|
||||
{% if submission.is_graded and submission.result != 'AB' and not hidden_subtasks %}
|
||||
<thead>
|
||||
<tr id="overall-row" class="case-row overall-result-{{submission.result}}">
|
||||
<td><span class="col-title">{{_('Overall: ')}}</span>
|
||||
|
@ -90,7 +90,7 @@
|
|||
|
||||
<tbody>
|
||||
{% for batch in batches %}
|
||||
{% if batch.id not in frozen_subtasks %}
|
||||
{% if batch.id not in hidden_subtasks %}
|
||||
{% if batch.id %}
|
||||
{% set batch_AC = (batch.points == batch.total) %}
|
||||
<tr class="case-row background-{{'d6e8f7' if batch.points == batch.total else 'bisque'}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue