Make ioi16 related files cleaner

This commit is contained in:
cuom1999 2023-01-02 17:22:45 -06:00
parent e10a8aca5c
commit 07d5ad2216
14 changed files with 145 additions and 92 deletions

View file

@ -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'}}">