{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% set in_hier = ctx.hier_id != None %} {% set can_manage_round = rights.have_right(Right.manage_round) and not in_hier %} {% set can_manage_contest = rights.have_right(Right.manage_contest) %} {% set can_view_contestants = rights.have_right(Right.view_contestants) %} {% set can_handle_submits = rights.have_right(Right.view_submits) %} {% set can_upload = rights.can_upload_feedback() %} {% set offer_view_statement = rights.offer_view_statement() %} {% set can_add_contest = g.gatekeeper.rights_generic().have_right(Right.add_contest) %} {% block title %} {% if in_hier %} {{ round.round_code() }}: {{ ctx.hier_place.name }} {% else %} {{ round.name }} {{ round.round_code() }} {% endif %} {% endblock %} {% block breadcrumbs %} {{ ctx.breadcrumbs() }} {% endblock %} {% block body %}
Parametry kola{% if can_manage_round %} (nelze editovat){% endif %}
Ročník{{ round.year }}
Kategorie{{ round.category }}
Pořadí / kód{{ round.seq }} / {{ round.code if round.code else round.seq }} {% if round.part > 0 %}
Část{{ round.part_code() }}{% endif %}
Oblast{{ round.get_level().name }}
Vaše role{% if g.user.is_admin %}správce{% elif roles %}{{ roles|join(", ") }}{% else %}–{% endif %} {% if group_rounds|length > 1 %}
Skupina kol: {% for r in group_rounds %} {% if r == round %}{{ r.name }} {{ r.round_code() }} (toto kolo)
{% else %}{{ r.name }} {{ r.round_code() }}
{% endif %} {% endfor %} {% endif %}
Základní nastavení
Název{{ round.name }}
Stav{{ round.state.friendly_name() }} {% with state=round.ct_state() %}
Stav pro účastníky{{ state.friendly_name() }} {% endwith %}
Režim přihlašování{{ round.enroll_mode.friendly_name() }}
Popis v přihlášce{{ round.enroll_advert }}
Termíny a zadání
Účastníci vidí zadání od{{ round.ct_tasks_start|time_and_timedelta }}
Účastníci odevzdávají do{{ round.ct_submit_end|time_and_timedelta }}
Dozor vidí zadání od{{ round.pr_tasks_start|time_and_timedelta }}
Dozor odevzdává do{{ round.pr_submit_end|time_and_timedelta }}
Zadání {% if round.tasks_file %} {% if not statement_exists %} soubor neexistuje {% elif offer_view_statement %} stáhnout {% else %} není dostupné {% endif %} {% else %} – {% endif %}
Nastavení výsledkové listiny{% if round.is_subround() %} (přejato z {{ round.master.round_code() }}) {% endif %}
Výsledková listina{{ round.master.score_mode.friendly_name() }}
Hranice bodů pro vítěze{{ round.master.score_winner_limit|decimal|none_value(Markup('nenastaveno')) }}
Hranice bodů pro úspěšné řešitele{{ round.master.score_successful_limit|decimal|none_value(Markup('nenastaveno')) }}
Přesnost bodování{{ round.master.points_step_name() }}
{% if can_view_contestants or can_manage_contest or can_manage_round or round.has_messages %}
{% if can_view_contestants %} Seznam účastníků {% endif %} {% if can_view_contestants and round.state in [RoundState.grading, RoundState.closed, RoundState.delegate] %} Výsledky {% endif %} {% if can_manage_contest %} Importovat účastníky Importovat organizátory {% endif %} {% if can_manage_round %} Nastavení a termíny Zadání {% endif %} {% if round.has_messages %} Zprávičky {% endif %} {% if g.user.is_admin and not in_hier %} Historie {% endif %}
{% endif %}

Soutěže

{% if reg_total.num_contests %} {% set show_contests = reg_stats[0].contest != None %} {% if show_contests %} {% for rs in reg_stats %} {% if show_contests %}
{{ round.get_level().name|capitalize }} Stav {% else %} {{ reg_stats[0].region.type_name()|capitalize }} Počet soutěží Stavy soutěží {% endif %} Počet účastníků Počet přihlášek
{{ rs.region.name }} {% with state=rs.contest.state %} {{ state.friendly_name() }} {% endwith %} {% else %} {{ rs.region.name }} {{ rs.num_contests }} {% for s in rs.contest_states %}{% if not loop.first %} / {% endif %}{{ s.friendly_name() }}{% endfor %} {% endif %} {{ rs.num_active_pants }} {{ rs.num_unconfirmed_pants }} {% endfor %}
Celkem {% if show_contests %} {% else %} {{ reg_total.num_contests }} {% endif %} {{ reg_total.num_active_pants }} {{ reg_total.num_unconfirmed_pants }}
{% else %}

Zatím nebyly založeny žádné soutěže. {% endif %} {% if can_add_contest %}

{{ form_add_contest.csrf_token() }} {{ wtf.form_field(form_add_contest.place) }} {{ wtf.form_field(form_add_contest.create_contest) }} {% if can_manage_round and round.seq > 1 %} Založit všechny podle předchozího kola {% endif %}
{% endif %}

Úlohy

{% if task_info %} {% for task, sol_count in task_info %} {% endfor %}
Kód Název Typ Odevzdaná řešení Maximum bodů {% if can_manage_round %}Akce{% endif %} {% if can_handle_submits or can_upload %}Dávkové operace{% endif %}
{{ task.code }} {{ task.name }} {{ task.type.friendly_name() }} {{ sol_count }} {{ task.max_points|decimal|none_value('–') }} {% if can_manage_round %}
Editovat {% if task.sol_count == 0 %}
{{ form_delete_task.csrf_token() }}
{% endif %} {% if g.user.is_admin %} Historie {% endif %}
{% endif %} {% if can_handle_submits or can_upload %}
{% if can_handle_submits %} Stáhnout ZIP {% endif %} {% if can_upload %} Nahrát ZIP {% endif %} {% if can_upload %} Nahrát body {% endif %}
{% endif %}
{% else %}

Zatím nebyly přidány žádné úlohy.

{% endif %} {% if can_manage_round %} Nová úloha {% endif %} {% endblock %}