2021-09-01 19:03:05 +00:00
|
|
|
{% extends "settings2.html" %}
|
|
|
|
|
2021-09-01 19:45:34 +00:00
|
|
|
{% block pagetitle %}Leaderboard - awards received{% endblock %}
|
2021-09-01 19:03:05 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<pre class="d-none d-md-inline-block"></pre>
|
|
|
|
<h5 style="font-weight:bold;text-align: center;">Top 10 by awards received</h5>
|
|
|
|
<pre></pre>
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th style="font-weight:bold;">#</th>
|
|
|
|
<th style="font-weight:bold;">Name</th>
|
2021-09-01 19:45:34 +00:00
|
|
|
<th style="font-weight:bold; text-align:right;">Awards</th>
|
2021-09-01 19:03:05 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
|
|
|
<td style="font-weight:bold;">{{users.index(user)+1}}</td>
|
|
|
|
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img src="/uid/{{user.id}}/pic/profile" class="profile-pic-20 mr-1"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}};"{% endif %}>{{user.username}}</span></a></td>
|
|
|
|
<td style="font-weight:bold; text-align:right;">{{user.received_awards_num}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
{% endblock %}
|