NDOJ/templates/user/users-table.html

50 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
{% extends "user/base-users-table.html" %}
{% block after_rank_head %}
2023-01-27 23:11:10 +00:00
<th></th>
2020-01-21 06:35:58 +00:00
{% endblock %}
{% block after_rank %}
2024-05-03 00:13:19 +00:00
<td><img loading="lazy" style="max-width: none;" class="user-img" src="{{ gravatar(user, 40) }}" height="40px" width="40px"></td>
2021-12-27 10:18:04 +00:00
{% endblock %}
2022-11-09 20:41:08 +00:00
{% block user_footer %}
2023-01-27 23:11:10 +00:00
<span style="margin-left: 0.5em">{% if user.rating %}{{ rating_number(user) }}{% endif %}</span>
2023-10-11 00:37:36 +00:00
<div class="gray" style="font-weight: 600; margin-top: 0.2em">{{ user.first_name or ''}}</div>
2020-01-21 06:35:58 +00:00
{% endblock %}
{% block after_point_head %}
2023-01-27 23:11:10 +00:00
<th class="problems">
{% if sort_links %}<a href="{{ sort_links.problem_count }}">{% endif %}
{{ _('Problems') }}
{%- if sort_links %}{{ sort_order.problem_count }}</a>{% endif %}
</th>
<th class="about-column">{{ _('About') }}</th>
2020-01-21 06:35:58 +00:00
{% endblock %}
2022-11-09 20:41:08 +00:00
{% block username_head_extra %}
2023-01-27 23:11:10 +00:00
<span style="margin-left: 0.5em" 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>
2022-11-09 20:41:08 +00:00
</span>
2023-01-27 23:11:10 +00:00
{%- if sort_links %}{{ sort_order.rating }}</a>{% endif %}
</span>
2022-11-09 20:41:08 +00:00
{% endblock %}
2020-01-21 06:35:58 +00:00
{% block after_point %}
2023-01-27 23:11:10 +00:00
<td class="user-problem-count">{{ user.problem_count }}</td>
<td>
<div class="about-td">
2024-02-28 20:13:59 +00:00
{% cache 86400 'user_about' user.id %}
2023-10-11 00:37:36 +00:00
{% if user.about %}
2023-01-27 23:11:10 +00:00
{{ user.about|markdown(lazy_load=True)|reference|str|safe }}
2023-10-11 00:37:36 +00:00
{% endif %}
{% endcache %}
2023-01-27 23:11:10 +00:00
</div>
</td>
2020-01-21 06:35:58 +00:00
{% endblock %}