{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Contest {{ contest.cid }} - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {{ macros.toggle_extrahead() }} {% endblock %} {% block content %}
| CID | c{{ contest.cid }} | ||
|---|---|---|---|
| External ID | {{ contest.externalid }} | ||
| Short name | {{ contest.shortname }} | ||
| {{ data.label }}: | {{ data.time }} {% if data.icon is defined %} {% endif %} | {% if is_granted('ROLE_ADMIN') %}{% if data.show_button %} {% set button_label = type ~ " now" %} {{ button(path('jury_contest_donow', {'contestId': contest.cid, 'time': type}), button_label, 'primary btn-sm timebutton') }} {% endif %} {% if data.extra_button is defined %} {{ button(path('jury_contest_donow', {'contestId': contest.cid, 'time': data.extra_button.type}), data.extra_button.label, 'primary btn-sm timebutton') }} {% endif %} {% if type == 'finalize' %} {% if contest.finalizetime %} {{ button(path('jury_contest_finalize', {'contestId': contest.cid}), 'Update finalization', 'secondary btn-sm timebutton') }} {% endif %} {% endif %} | {% else %}{% endif %} |
| Allow submit | {% include 'jury/partials/contest_toggle.html.twig' with {type: 'submit', enabled: contest.allowSubmit} %} | ||
| Problemset document | |||
| Process balloons | {% include 'jury/partials/contest_toggle.html.twig' with {type: 'balloons', enabled: contest.processBalloons} %} | ||
| Runtime as tiebreaker | {% include 'jury/partials/contest_toggle.html.twig' with {type: 'tiebreaker', enabled: contest.runtimeAsScoreTiebreaker} %} | ||
| Process medals | {% include 'jury/partials/contest_toggle.html.twig' with {type: 'medals', enabled: contest.medalsEnabled} %} | ||
| Medals |
{% if contest.medalsEnabled %}
{{ (contest.goldMedals > 0) + (contest.silverMedals > 0) + (contest.bronzeMedals > 0) }} different types of medals (Show/Hide details)
{{ contest.goldMedals }} Gold Medal(s)
{{ contest.silverMedals }} Silver Medal(s) {{ contest.bronzeMedals }} Bronze Medal(s) For all teams from the following categories:
|
||
| Publicly visible | {% include 'jury/partials/contest_toggle.html.twig' with {type: 'public', enabled: contest.public} %} | ||
| Open to all teams | {{ contest.openToAllTeams | printYesNo }} | ||
| Teams |
{% if contest.openToAllTeams %}
all teams
{% else %}
{% for team in contest.teams %}
{{ team.effectiveName }} {{ team | entityIdBadge('t') }}
{% endfor %} {% for category in contest.teamCategories %} All teams from {{ category.name }} {% endfor %} {% endif %} |
||
| Public static scoreboard ZIP | Download | ||
| Jury (unfrozen) static scoreboard ZIP | Download | ||
| Sample data ZIP |
Download
Contains samples, attachments and statement for all problems. |
||
| Banner | |||
| Warning message | {{ contest.warningMessage }} |
| Finalized at | {{ contest.finalizetime | printtime('Y-m-d H:i:s (T)') }} |
|---|---|
| B | {{ contest.b }} |
| Comment | {{ contest.finalizecomment | nl2br }} |
None.
{% else %} {% if removedIntervalForm is defined %} {{ form_start(removedIntervalForm) }} {% endif %}| ID | From | To | Duration | ||
|---|---|---|---|---|---|
| {{ removedInterval.intervalid }} | {{ removedInterval.starttimeString }} | {{ removedInterval.endtimeString }} | {{ removedInterval.starttime | printtimediff(removedInterval.endtime) }} | ||
| new | {{ form_errors(removedIntervalForm.starttimeString) }} {{ form_widget(removedIntervalForm.starttimeString) }} | {{ form_errors(removedIntervalForm.endtimeString) }} {{ form_widget(removedIntervalForm.endtimeString) }} | {{ form_widget(removedIntervalForm.add) }} |
YYYY-MM-DD HH:MM:SS[.uuuuuu] timezone for
start/end times.
{{ form_end(removedIntervalForm) }}
{% endif %}
{% endif %}
{% endif %}
No problems added yet
{% else %}| ID | Name | Shortname | Points | Allow submit |
Allow judge |
Color | Lazy eval | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| p{{ problem.probid }} | {{ problem.problem.name }} | {{ problem.shortname }} | {{ problem.points }} | {% include 'jury/partials/problem_toggle.html.twig' with {contestProblem: problem, type: 'submit', enabled: problem.allowSubmit} %} | {% include 'jury/partials/problem_toggle.html.twig' with {contestProblem: problem, type: 'judge', enabled: problem.allowJudge} %} | {% if problem.color is empty %}{% else %} | {{ problem | problemBadge }} | {% endif %}{{ problem.lazyEvalResults | printLazyMode }} | {% if problem.problem.problemstatementType %} {% endif %} | {% if is_granted('ROLE_ADMIN') and not contest.isLocked %} {% endif %} | {% if is_granted('ROLE_ADMIN') %} {% endif %} |