MarseyWorld/files/templates/leaderboard.html

158 lines
5.3 KiB
HTML
Raw Normal View History

2021-07-25 21:59:15 +00:00
{% extends "settings2.html" %}
2021-07-21 01:12:26 +00:00
{% block pagetitle %}Leaderboard{% endblock %}
{% block content %}
<pre class="d-none d-md-inline-block"></pre>
2021-08-05 14:43:54 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by {{"COINS_NAME" | app_config}}</h5>
2021-07-21 01:12:26 +00:00
<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>
<th style="font-weight:bold; text-align:right;">Coins</th>
</tr>
</thead>
{% for user in users1 %}
<tr>
<td style="font-weight:bold;">{{users1.index(user)+1}}</td>
2021-09-03 14:08:32 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" 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>
2021-08-04 16:21:10 +00:00
<td style="font-weight:bold; text-align:right;">{{user.coins}}</td>
2021-07-21 01:12:26 +00:00
</tr>
{% endfor %}
</table>
<pre>
</pre>
2021-08-04 16:21:10 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 10 by followers</h5>
2021-07-21 01:12:26 +00:00
<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>
<th style="font-weight:bold; text-align:right;">Followers</th>
</tr>
</thead>
{% for user in users2 %}
<tr>
<td style="font-weight:bold;">{{users2.index(user)+1}}</td>
2021-09-03 14:08:32 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" 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>
2021-07-26 02:06:05 +00:00
<td style="font-weight:bold; text-align:right;">{{user.stored_subscriber_count}}</td>
2021-07-21 01:12:26 +00:00
</tr>
{% endfor %}
</table>
2021-07-27 00:13:17 +00:00
<pre>
</pre>
2021-08-04 16:21:10 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 10 by post count</h5>
2021-07-27 00:13:17 +00:00
<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>
<th style="font-weight:bold; text-align:right;">Post count</th>
</tr>
</thead>
{% for user in users3 %}
<tr>
<td style="font-weight:bold;">{{users3.index(user)+1}}</td>
2021-09-03 14:08:32 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" 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>
2021-07-27 00:13:17 +00:00
<td style="font-weight:bold; text-align:right;">{{user.post_count}}</td>
</tr>
{% endfor %}
</table>
<pre>
2021-07-27 00:23:41 +00:00
</pre>
2021-08-04 16:21:10 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 10 by comment count</h5>
2021-07-27 00:23:41 +00:00
<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>
<th style="font-weight:bold; text-align:right;">Comment count</th>
</tr>
</thead>
2021-07-27 00:25:55 +00:00
{% for user in users4 %}
2021-07-27 00:23:41 +00:00
<tr>
2021-07-27 00:25:55 +00:00
<td style="font-weight:bold;">{{users4.index(user)+1}}</td>
2021-09-03 14:08:32 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img loading="lazy" 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>
2021-07-27 00:23:41 +00:00
<td style="font-weight:bold; text-align:right;">{{user.comment_count}}</td>
</tr>
{% endfor %}
</table>
2021-09-03 22:02:26 +00:00
2021-09-05 17:42:39 +00:00
<pre>
</pre>
<h5 style="font-weight:bold;text-align: center;">Top 10 by received awards</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>
<th style="font-weight:bold; text-align:right;">Received awards</th>
</tr>
</thead>
{% for user in users5 %}
<tr>
<td style="font-weight:bold;">{{users5.index(user)+1}}</td>
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img loading="lazy" 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_award_count}}</td>
</tr>
{% endfor %}
</table>
2021-09-06 16:32:06 +00:00
{% if "pcmemes.net" in request.host %}
2021-09-03 22:02:26 +00:00
<pre>
</pre>
<h5 style="font-weight:bold;text-align: center;">Top 10 by based count</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>
<th style="font-weight:bold; text-align:right;">Based count</th>
</tr>
</thead>
2021-09-06 02:20:39 +00:00
{% for user in users6 %}
2021-09-03 22:02:26 +00:00
<tr>
2021-09-06 02:20:39 +00:00
<td style="font-weight:bold;">{{users6.index(user)+1}}</td>
2021-09-03 22:02:26 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img loading="lazy" 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.basedcount}}</td>
</tr>
{% endfor %}
</table>
{% endif %}
2021-07-27 00:23:41 +00:00
<pre>
2021-07-27 00:13:17 +00:00
</pre>
2021-07-21 01:12:26 +00:00
{% endblock %}