MarseyWorld/files/templates/leaderboard.html

380 lines
14 KiB
HTML
Raw Normal View History

2021-12-14 22:48:37 +00:00
{% extends "settings2.html" %}
2021-10-15 14:08:27 +00:00
{% block pagetitle %}Leaderboard{% endblock %}
2021-11-24 21:01:14 +00:00
{% block content %}
2021-12-14 22:48:37 +00:00
<pre class="d-none d-md-inline-block"></pre>
<h5 style="font-weight:bold;text-align: center;">Top 25 by {{'COINS_NAME' | app_config}}</h5>
<pre></pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.coins}}</td>
</tr>
{% endfor %}
2022-01-18 11:52:38 +00:00
{% if pos1 > 25 %}
2022-01-18 11:57:29 +00:00
<tr style="border-top:2px solid var(--primary)">
2022-01-18 11:52:38 +00:00
<td style="font-weight:bold;">{{pos1}}</td>
2022-01-18 11:46:10 +00:00
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
2022-01-18 11:44:00 +00:00
<td style="font-weight:bold; text-align:right;">{{v.coins}}</td>
</tr>
{% endif %}
2021-12-14 22:48:37 +00:00
</table>
<pre>
</pre>
2021-12-23 14:19:18 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by coins spent in shop</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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 users7 %}
<tr>
<td style="font-weight:bold;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.coins_spent}}</td>
</tr>
{% endfor %}
2022-01-18 11:52:38 +00:00
{% if pos7 > 25 %}
2022-01-18 11:57:29 +00:00
<tr style="border-top:2px solid var(--primary)">
2022-01-18 11:52:38 +00:00
<td style="font-weight:bold;">{{pos7}}</td>
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
<td style="font-weight:bold; text-align:right;">{{v.coins_spent}}</td>
</tr>
{% endif %}
2021-12-14 22:48:37 +00:00
</table>
<pre>
</pre>
2021-12-23 14:19:18 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by truescore</h5>
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-23 14:19:18 +00:00
<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">Truescore</th>
</tr>
</thead>
<tbody id="followers-table">
{% for user in users10 %}
<tr>
2021-12-23 14:36:25 +00:00
<td style="font-weight:bold;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-23 14:33:12 +00:00
<td style="font-weight:bold; text-align:right;">{{user.truecoins}}</td>
2021-12-23 14:19:18 +00:00
</tr>
{% endfor %}
2022-01-18 11:52:38 +00:00
{% if pos10 > 25 %}
2022-01-18 11:57:29 +00:00
<tr style="border-top:2px solid var(--primary)">
2022-01-18 11:52:38 +00:00
<td style="font-weight:bold;">{{pos10}}</td>
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
<td style="font-weight:bold; text-align:right;">{{v.truecoins}}</td>
</tr>
{% endif %}
2021-12-23 14:19:18 +00:00
</tbody>
</table>
<pre>
</pre>
<h5 style="font-weight:bold;text-align: center;">Top 25 by followers</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.stored_subscriber_count}}</td>
</tr>
{% endfor %}
2022-01-18 11:52:38 +00:00
{% if pos2 > 25 %}
2022-01-18 11:57:29 +00:00
<tr style="border-top:2px solid var(--primary)">
2022-01-18 11:52:38 +00:00
<td style="font-weight:bold;">{{pos2}}</td>
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
<td style="font-weight:bold; text-align:right;">{{v.stored_subscriber_count}}</td>
</tr>
{% endif %}
2021-12-14 22:48:37 +00:00
</table>
<pre>
</pre>
2021-12-24 22:52:31 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by post count</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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;">Posts</th>
</tr>
</thead>
{% for user in users3 %}
<tr>
<td style="font-weight:bold;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.post_count}}</td>
</tr>
{% endfor %}
2022-01-18 11:52:38 +00:00
{% if pos3 > 25 %}
2022-01-18 11:57:29 +00:00
<tr style="border-top:2px solid var(--primary)">
2022-01-18 11:52:38 +00:00
<td style="font-weight:bold;">{{pos3}}</td>
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
<td style="font-weight:bold; text-align:right;">{{v.post_count}}</td>
</tr>
{% endif %}
2021-12-14 22:48:37 +00:00
</table>
<pre>
</pre>
2021-12-24 22:52:31 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by comment count</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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;">Comments</th>
</tr>
</thead>
{% for user in users4 %}
<tr>
<td style="font-weight:bold;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.comment_count}}</td>
</tr>
{% endfor %}
2022-01-18 11:52:38 +00:00
{% if pos4 > 25 %}
2022-01-18 11:57:29 +00:00
<tr style="border-top:2px solid var(--primary)">
2022-01-18 11:52:38 +00:00
<td style="font-weight:bold;">{{pos4}}</td>
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
<td style="font-weight:bold; text-align:right;">{{v.comment_count}}</td>
</tr>
{% endif %}
2021-12-14 22:48:37 +00:00
</table>
<pre>
</pre>
2021-12-24 22:52:31 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by received awards</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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;">Awards</th>
</tr>
</thead>
{% for user in users5 %}
<tr>
<td style="font-weight:bold;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.received_award_count}}</td>
</tr>
{% endfor %}
</table>
<pre>
</pre>
2021-12-24 22:52:31 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by received downvotes</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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">Downvotes</th>
</tr>
</thead>
<tbody id="followers-table">
{% for user in users9 %}
<tr>
<td style="font-weight: bold">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user[0].namecolor}}; font-weight:bold;" href="/@{{user[0].username}}"><img alt="@{{user[0].username}}'s profile picture" loading="lazy" src="{{user[0].profile_url}}" class="pp20"><span {% if user[0].patron %}class="patron" style="background-color:#{{user[0].namecolor}}"{% endif %}>{{user[0].username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight: bold">{{user[1]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
2021-12-30 15:33:37 +00:00
<pre>
</pre>
<h5 style="font-weight:bold;text-align: center;">Top 25 by badges</h5>
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-30 15:33:37 +00:00
<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">Badges</th>
</tr>
</thead>
<tbody id="followers-table">
{% for user in users12 %}
<tr>
<td style="font-weight: bold">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user[0].namecolor}}; font-weight:bold;" href="/@{{user[0].username}}"><img alt="@{{user[0].username}}'s profile picture" loading="lazy" src="{{user[0].profile_url}}" class="pp20"><span {% if user[0].patron %}class="patron" style="background-color:#{{user[0].namecolor}}"{% endif %}>{{user[0].username}}</span></a></td>
2021-12-30 15:33:37 +00:00
<td style="font-weight: bold">{{user[1]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
2021-12-14 22:48:37 +00:00
2022-01-02 20:20:13 +00:00
{% if users6 %}
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2021-12-24 22:52:31 +00:00
<h5 style="font-weight:bold;text-align: center;">Top 25 by based count</h5>
2021-12-14 22:48:37 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<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>
{% for user in users6 %}
<tr>
<td style="font-weight:bold;">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold; fonts" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2021-12-14 22:48:37 +00:00
<td style="font-weight:bold; text-align:right;">{{user.basedcount}}</td>
</tr>
{% endfor %}
</table>
{% endif %}
2022-01-02 20:20:13 +00:00
{% if users13 %}
<pre>
</pre>
<h5 style="font-weight:bold;text-align: center;">Top 25 by marseys made</h5>
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2022-01-02 20:20:13 +00:00
<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">Marseys</th>
</tr>
</thead>
<tbody id="followers-table">
{% for user in users13 %}
<tr>
<td style="font-weight: bold">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user[0].namecolor}}; font-weight:bold;" href="/@{{user[0].username}}"><img alt="@{{user[0].username}}'s profile picture" loading="lazy" src="{{user[0].profile_url}}" class="pp20"><span {% if user[0].patron %}class="patron" style="background-color:#{{user[0].namecolor}}"{% endif %}>{{user[0].username}}</span></a></td>
2022-01-02 20:20:13 +00:00
<td style="font-weight: bold">{{user[1]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
2022-01-11 04:35:44 +00:00
{% if users15 %}
<pre>
</pre>
<h5 style="font-weight:bold;text-align: center;">Top 25 by upvotes given</h5>
<pre>
</pre>
<div class="overflow-x-auto"><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">Upvotes</th>
</tr>
</thead>
<tbody id="followers-table">
{% for user in users15 %}
<tr>
<td style="font-weight: bold">{{loop.index}}</td>
2022-01-12 06:30:56 +00:00
<td><a style="color:#{{user[0].namecolor}}; font-weight:bold;" href="/@{{user[0].username}}"><img alt="@{{user[0].username}}'s profile picture" loading="lazy" src="{{user[0].profile_url}}" class="pp20"><span {% if user[0].patron %}class="patron" style="background-color:#{{user[0].namecolor}}"{% endif %}>{{user[0].username}}</span></a></td>
2022-01-11 04:35:44 +00:00
<td style="font-weight: bold">{{user[1]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
2021-11-30 22:19:41 +00:00
{% endblock %}