diff --git a/mo/web/templates/user_contest.html b/mo/web/templates/user_contest.html index d04f34c63054219ebc415043abe64e186acf16e1..11d0bc11a42f13b6a70522e8e3043af35820082a 100644 --- a/mo/web/templates/user_contest.html +++ b/mo/web/templates/user_contest.html @@ -18,13 +18,13 @@ {% if round.ct_tasks_start is not none %} {% if round.ct_submit_end is not none %} - <p class="small">Od {{ round.ct_tasks_start|timeformat }} do {{ round.ct_submit_end|timeformat }}.</i></p> + <p class="small"><span class="glyphicon glyphicon-time"></span> Od {{ round.ct_tasks_start|timeformat }} do {{ round.ct_submit_end|timeformat }}.</i></p> {% else %} - <p class="small">Od {{ round.ct_tasks_start|timeformat }}.</i></p> + <p class="small"><span class="glyphicon glyphicon-time"></span> Od {{ round.ct_tasks_start|timeformat }}.</i></p> {% endif %} {% else %} {% if round.ct_submit_end is not none %} - <p class="small">Do {{ round.ct_submit_end|timeformat }}.</i></p> + <p class="small"><span class="glyphicon glyphicon-time"></span> Do {{ round.ct_submit_end|timeformat }}.</i></p> {% endif %} {% endif %} diff --git a/mo/web/templates/user_index.html b/mo/web/templates/user_index.html index 36d57ce2365c343d6043a903dcba5a9d3ff170d1..36ea019ea633451fed5b192d9741f51bced6ff33 100644 --- a/mo/web/templates/user_index.html +++ b/mo/web/templates/user_index.html @@ -35,22 +35,26 @@ <p>{{round.name}} {{ contest.ct_long_state()|replace("opravuje se", "se opravuje")|replace("připravuje se", "se připravuje") }}. <p> {% if contest.ct_task_statement_available() %} - <a class='btn btn-success' href='{{ url_for('user_task_statement', id=contest.contest_id) }}'> + <a class='btn btn-default' href='{{ url_for('user_task_statement', id=contest.contest_id) }}'> <span class="glyphicon glyphicon-file"></span> Zadání </a> {% endif %} - <a class='btn btn-primary' href='{{ url_for('user_contest', id=contest.contest_id) }}'> + <a href='{{ url_for('user_contest', id=contest.contest_id) }}' {% if state == RoundState.running %} + class="btn btn-success"> <span class="glyphicon glyphicon-send"></span> Odevzdat řešení {% elif state == RoundState.grading %} + class="btn btn-info"> <span class="glyphicon glyphicon-duplicate"></span> Odevzdaná řešení {% elif state == RoundState.closed %} + class="btn btn-primary"> <span class="glyphicon glyphicon-eye-open"></span> Prohlédnout opravy {% else %} + class="btn btn-default"> <span class="glyphicon glyphicon-search"></span> Detail kola {% endif %} @@ -68,13 +72,16 @@ <p>Momentálně se neúčastníte žádného kola FO. {% endif %} -<p><a class="btn btn-primary" href="{{ url_for('user_join') }}"> - {% if pions %} - Přihlásit se do dalšího kola - {% else %} - Přihlásit se do {{current_year}}. ročníku FO - {% endif %} +<p> +{% if pions %} +<a class="btn btn-default" href="{{ url_for('user_join') }}"> + Přihlásit se do dalšího kola +</a> +{% else %} +<a class="btn btn-primary" href="{{ url_for('user_join') }}"> + Přihlásit se do {{current_year}}. ročníku FO </a> +{% endif %} <h3>Jak bude probíhat odevzdávání?</h3> diff --git a/mo/web/templates/user_join_list.html b/mo/web/templates/user_join_list.html index 3a009e958413899f91dc74a2fa3129b730483f9d..d3c6330777ee8cda711534242bec05c7ac4901e0 100644 --- a/mo/web/templates/user_join_list.html +++ b/mo/web/templates/user_join_list.html @@ -3,7 +3,7 @@ {% block body %} {% if available_rounds %} - <p>Zde si můžete vybrat, do kterých kol Fyzikální olympiády se přihlásíte. + <p>Zde si můžete vybrat, do kterých kategorií Fyzikální olympiády se přihlásíte. <table class="table table-striped"> <thead> @@ -30,8 +30,7 @@ {% endfor %} </table> {% else %} - <p>V tomto školním roce zatím nejsou otevřené žádné kategorie olympiády. - Zkuste to prosím později. + <p>V tuto chvíli nejsou otevřené žádné kategorie Fyzikální olympiády k přihlašování. {% endif %} {% if pcrs_by_round_id %}