diff --git a/mo/web/templates/org_contest_solutions.html b/mo/web/templates/org_contest_solutions.html index d0a07ebb7ff9dd6c98eccc4ee4e16fad5d7bd699..3e4f392f6fdb0d1a63658e19c0769da3ef9eec5a 100644 --- a/mo/web/templates/org_contest_solutions.html +++ b/mo/web/templates/org_contest_solutions.html @@ -13,13 +13,6 @@ {{ ctx.breadcrumbs(action="Založení řešení" if edit_form else "Tabulka řešení") }} {% endblock %} -{% block pretitle %} -{% if contest.state in [RoundState.grading, RoundState.closed] %} -<div class="btn-group pull-right"> - <a class="btn btn-warning" href="{{ ctx.url_for('org_score') }}">Výsledky {{ round.get_level().name_genitive() }}</a> -</div> -{% endif %} -{% endblock %} {% block body %} {% include "parts/org_submit_warning.html" %} @@ -53,8 +46,8 @@ Přes ikonku <span class="icon">🔍</span> se dostanete na detail, kde můžete {% endif %} <thead> <tr> - <th rowspan=2>Účastník - <th rowspan=2>Stav účasti</th> + <th colspan="2"> + <a class="btn btn-xs btn-default" href='{{ ctx.url_for('org_generic_list') }}'><span class="glyphicon glyphicon-user"></span> Seznam účastníků</a> {% for task in tasks[4*i:4*(i+1)] %}<th colspan=4> <a href="{{ ctx.url_for('org_contest_task', task_id=task.task_id) }}">{{ task.code }}</a> {% if edit_points or edit_create %} @@ -65,11 +58,22 @@ Přes ikonku <span class="icon">🔍</span> se dostanete na detail, kde můžete {% endif %} {% endfor %} {% if last_loop %} - <th rowspan=2>Body celkem + <th> + {% if contest.state in [RoundState.grading, RoundState.closed] %} + <a class="btn btn-xs btn-warning" href="{{ ctx.url_for('org_score') }}"> + <span class="glyphicon glyphicon-bullhorn"></span> + Výsledková listina + </a> + {% endif %} {% endif %} </tr> <tr> + <th>Účastník + <th>Stav účasti {% for task in tasks[4*i:4*(i+1)] %}<th title="Řešení">Ř<th title="Oprava">O<th title="Body">B<th title="Detail"><span class="icon">🔍</span>{% endfor %} + {% if last_loop %} + <th>Body celkem + {% endif %} </tr> </thead> {% for pion in pions %} @@ -167,7 +171,10 @@ Přes ikonku <span class="icon">🔍</span> se dostanete na detail, kde můžete {% else %} <div> {% if rights.can_create_solutions() %} - <a class="btn btn-primary" href="{{ ctx.url_for('org_contest_solutions_edit') }}">Založit řešení hromadně</a> + <a class="btn btn-default" href="{{ ctx.url_for('org_contest_solutions_edit') }}"> + <span class="glyphicon glyphicon-check"></span> + Založit řešení hromadně + </a> {% endif %} </div> {% endif %}