NDOJ/templates/user/users-table.html

39 lines
1.2 KiB
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
{% 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 %}
2020-12-30 02:29:50 +00:00
<th class="fullname-column">{{ _('Full Name') }}</th>
2020-01-21 06:35:58 +00:00
</th>
{% endblock %}
{% block after_rank %}
<td>{% if user.rating %}{{ rating_number(user) }}{% endif %}</td>
2020-12-30 02:29:50 +00:00
<td class="fullname-column">
{% if user.user.first_name %}
<span class="fullname">
{{ user.user.first_name }}
</span>
{% endif %}
</td>
2020-01-21 06:35:58 +00:00
{% 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 %}