{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% set contest = sc.contest %} {% set ct_id = contest.contest_id %} {% set round = sc.round %} {% set site = sc.site %} {% set site_id = site.place_id if site else None %} {% set task = sc.task %} {% block title %}{% if points_form %}Editace bodů{% else %}Odevzdaná řešení{% endif %} úlohy {{ task.code }} {{ task.name }}{% endblock %} {% block breadcrumbs %} {{ contest_breadcrumbs(round=round, contest=contest, site=site, task=task, action="Editace bodů" if points_form else None) }} {% endblock %} {% block body %}
Všechny úlohy {% if round.state in [RoundState.grading, RoundState.closed] %} Výsledky oblasti Výsledky kola {% endif %}
{% include "parts/org_submit_warning.html" %} {% if points_form %}
{{ points_form.csrf_token }} {% endif %} {% with for_user=None, for_task=task, rows=rows %} {% include "parts/org_solution_table.html" %} {% endwith %} {% if points_form %}
{{ wtf.form_field(points_form.submit, class="btn btn-primary") }} Zrušit editaci bodů
{% else %}
Stáhnout řešení {% if can_upload %} Nahrát opravená řešení {% endif %} {% if not site and sc.allow_edit_points %} Zadat body {% endif %}
{% endif %} {% endblock %}