NDOJ/templates/user/base-users-table.html

41 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
<thead>
2023-01-27 23:11:10 +00:00
<tr>
2024-05-03 00:13:19 +00:00
<th class="header rank">{{ rank_header or "" }}</th>
2020-01-21 06:35:58 +00:00
{% block after_rank_head %}{% endblock %}
2022-11-09 20:41:08 +00:00
<th class="header username">{{ _('Username') }}{% block username_head_extra %}{% endblock %}</th>
2020-01-21 06:35:58 +00:00
{% block before_point_head %}{% endblock %}
<th class="header points">
2023-01-27 23:11:10 +00:00
{% if sort_links %}<a href="{{ sort_links.performance_points }}">{% endif %}
{{ _('Points') }}
{%- if sort_links %}{{ sort_order.performance_points }}</a>{% endif %}
2020-01-21 06:35:58 +00:00
</th>
{% block after_point_head %}{% endblock %}
2023-01-27 23:11:10 +00:00
</tr>
2020-01-21 06:35:58 +00:00
</thead>
<tbody>
2023-01-27 23:11:10 +00:00
{% for rank, user in users %}
2024-02-06 02:11:54 +00:00
<tr id="user-{{ user.username }}" {% block row_extra scoped %}{% endblock %}>
2023-01-27 23:11:10 +00:00
<td class="rank-td">{{ rank }}</td>
{% block after_rank scoped %}{% endblock %}
2024-04-13 22:02:54 +00:00
<td class="user-name">
<div style="display: inline-block;">
{% block user_link scoped %}
{{ link_user(user) }}
{% endblock %}
{% block user_footer scoped %}{% endblock %}
</div>
{% block user_data scoped %}{% endblock %}
</td>
2023-01-27 23:11:10 +00:00
{% block before_point scoped %}{% endblock %}
{% block point scoped %}
<td title="{{ user.performance_points|floatformat(2) }}" class="user-points">
{{ user.performance_points|floatformat(0) }}
</td>
{% endblock %}
{% block after_point scoped %}{% endblock %}
2020-01-21 06:35:58 +00:00
</tr>
2023-01-27 23:11:10 +00:00
{% endfor %}
2020-01-21 06:35:58 +00:00
</tbody>