forked from rDrama/rDrama
50 lines
1.4 KiB
HTML
50 lines
1.4 KiB
HTML
{% extends "guild_settings.html" %}
|
|
|
|
{% block pagetitle %}Leaderboard{% endblock %}
|
|
|
|
{% block content %}
|
|
<pre class="d-none d-md-inline-block"></pre>
|
|
<h5 style="font-weight:bold;">Top 25 dramatards by dramacoins</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;">Coins</th>
|
|
</tr>
|
|
</thead>
|
|
{% for user in users1 %}
|
|
<tr>
|
|
<td style="font-weight:bold;">{{users1.index(user)+1}}</td>
|
|
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
|
<td style="font-weight:bold; text-align:right;">{{user.dramacoins}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<pre>
|
|
|
|
|
|
</pre>
|
|
<h5 style="font-weight:bold;">Top 10 dramatards by followers</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;">Followers</th>
|
|
</tr>
|
|
</thead>
|
|
{% for user in users2 %}
|
|
<tr>
|
|
<td style="font-weight:bold;">{{users2.index(user)+1}}</td>
|
|
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
|
<td style="font-weight:bold; text-align:right;">{{user.follower_count}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %} |