Add contest sort (DMOJ)

This commit is contained in:
cuom1999 2021-12-09 13:31:08 -06:00
parent 580b67829c
commit 70d81ad664
2 changed files with 18 additions and 7 deletions

View file

@ -362,8 +362,12 @@
<table class="contest-list table striped">
<thead>
<tr>
<th style="width:90%">{{ _('Contest') }}</th>
<th>{{ _('Users') }}</th>
<th style="width:90%">
<a style="color: #7dc7ff" href="{{ sort_links.name }}">{{ _('Contest') }}{{ sort_order.name }}</a>
</th>
<th>
<a style="color: #7dc7ff" href="{{ sort_links.user_count }}">{{ _('Users') }}{{ sort_order.user_count }}</a>
</th>
{% if not request.in_contest %}
<th style="width:15%"></th>
{% endif %}