{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% set contest=ctx.contest %} {% set allow_edit_points=rights.can_edit_points() %} {% set allow_upload_solutions=rights.can_upload_solutions() %} {% set allow_upload_feedback=rights.can_upload_feedback() %} {% block title %}{{ "Zadávání bodů" if points_form else "Založení řešení" if create_form else "Odevzdaná řešení" }} úlohy {{ ctx.task.code }}
{{ ctx.task.name }}{% endblock %} {% block breadcrumbs %} {{ ctx.breadcrumbs(action="Zadávání bodů" if points_form else "Založení řešení" if create_form else None) }} {% endblock %} {% block pretitle %}

Soutěž {{ contest.place.name_locative() }}

Účastníci Tabulka řešení {% if contest.state in [RoundState.grading, RoundState.closed] %} Výsledky {% endif %}
{% endblock %} {% block body %} {% include "parts/org_submit_warning.html" %} {% set form = points_form or create_form %} {% if form %}
{{ form.csrf_token }} {% endif %} {% with for_user=None, for_task=ctx.task, rows=rows %} {% include "parts/org_solution_table.html" %} {% endwith %} {% if form %}
{{ wtf.form_field(form.submit, class="btn btn-primary" ) }} Zrušit
{% else %}

Stáhnout řešení {% if allow_upload_feedback %} Nahrát ZIP opravených řešení {% endif %} {% if allow_create_solutions %} Založit řešení {% endif %} {% if not ctx.site and allow_edit_points %} Zadat body {% endif %}

{% endif %} {% endblock %}