Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
30
templates/user/users-table.html
Normal file
30
templates/user/users-table.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
{% extends "user/base-users-table.html" %}
|
||||
|
||||
{% block after_rank_head %}
|
||||
<th class="header rank">
|
||||
{% if sort_links %}<a href="{{ sort_links.rating }}">{% endif %}
|
||||
<span class="rate-group">
|
||||
<svg class="rate-box" viewBox="0 0 16 16">
|
||||
<circle cx="8" cy="8" r="7" stroke="white"></circle>
|
||||
<path clip-path="url(#rating-clip)" d="M0 16v-4.8h16 0v16z" fill="white"></path>
|
||||
</svg>
|
||||
</span>
|
||||
{%- if sort_links %}{{ sort_order.rating }}</a>{% endif %}
|
||||
</th>
|
||||
{% endblock %}
|
||||
|
||||
{% block after_rank %}
|
||||
<td>{% if user.rating %}{{ rating_number(user) }}{% endif %}</td>
|
||||
{% endblock %}
|
||||
|
||||
{% block after_point_head %}
|
||||
<th class="problems">
|
||||
{% if sort_links %}<a href="{{ sort_links.problem_count }}">{% endif %}
|
||||
{{ _('Problems') }}
|
||||
{%- if sort_links %}{{ sort_order.problem_count }}</a>{% endif %}
|
||||
</th>
|
||||
{% endblock %}
|
||||
|
||||
{% block after_point %}
|
||||
<td>{{ user.problem_count }}</td>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue