{% extends "layout/basic.html" %} {% import "components/contest.html" as contest with context %} {% import "components/ui/v1.html" as ui_v1 %} {% block content %}

{{ _('Virtual Participation') }}

{{ tdoc.title }}

{{ _('Original contest') }}: {{ contest.render_time(tdoc.beginAt) }} — {{ contest.render_time(tdoc.endAt) }}

{{ _('Duration') }}: {{ durationText }} {{ _('hour(s)') }}

{% if vpState.phase == 'active' %} {{ ui_v1.alert(_('VP is in progress. Results will open after your participation ends.'), tone='info') }}

{{ _('End at') }}: {{ contest.render_time(vpState.endAt) }}

{{ _('Continue VP') }} {% if handler.folderSubmitState() == 'available' %}文件夹提交{% endif %}
{% if handler.folderSubmitState() == 'disabled' %}

本场未开启文件夹提交,请从题目页面逐题提交。管理员需要在 VP 之外先开启功能并配置提交文件规则。

{% endif %}
{{ _('End VP early') }}

{{ _('Ending VP opens results and permanently stops submissions for this participation.') }}

{% elif vpState.phase == 'ended' %} {{ ui_v1.alert(_('VP has ended. You can now view the results.'), tone='success') }} {% elif vpState.phase == 'declined' %} {{ ui_v1.alert(_('You chose not to participate virtually. This choice is final.'), tone='neutral') }} {{ _('View Contest') }} {% elif vpState.canStart %} {% if vpState.phase == 'scheduled' %} {{ ui_v1.alert(_('VP is scheduled. Problems and results remain closed until your window starts.'), tone='info') }}

{{ _('Start at') }}: {{ contest.render_time(vpState.startAt) }}

{% else %}

{{ _('Choose VP before viewing the problems or results. You may start now or schedule a future start.') }}

{% endif %}

{{ _('Start VP now') }}

{{ _('Your personal timer starts immediately after confirmation.') }}

{{ _('Schedule VP') }}

{{ _('Times use your account timezone shown above.') }}

{% if vpState.phase == 'none' %}
{{ _('Skip VP and view the contest') }}

{{ _('Skipping VP opens the problems and results. You cannot start VP for this contest later.') }}

{% endif %} {% else %} {{ ui_v1.alert(vpState.reason or _('VP is unavailable for this contest.'), tone='neutral') }} {{ _('Back to contest list') }} {% endif %}
{% endblock %}