master
kek7198 2021-12-03 15:47:11 -06:00
parent a804dcc678
commit 55cad7c706
1 changed files with 19 additions and 11 deletions

View File

@ -3,21 +3,29 @@
{% block pagetitle %}Admins{% endblock %}
{% block content %}
<pre class="d-none d-md-inline-block"></pre>
<pre class="hidden md:inline-block"></pre>
<h5 style="font-weight:bold;">Admins</h5>
<pre></pre>
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<thead class="bg-primary text-white">
<tr>
<th class="font-bold">Name</th>
<th class="font-bold text-right">Score</th>
</tr>
</thead>
{% for user in admins %}
<tr>
<th style="font-weight:bold;">Name</th>
<th style="font-weight:bold; text-align:right;">Score</th>
<td>
<a class="font-bold" style="color:#{{user.namecolor}}" href="/@{{user.username}}">
<img loading="lazy" src="/uid/{{user.id}}/pic" class="w-12 h-12 object-cover rounded"/>
<span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}};"{% endif %}>{{user.username}}</span>
</a>
{% if user.admin_level == 1 and v and v.admin_level > 1 %}
<i class="fas fa-broom align-middle ml-2 color-white" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Meme Admin"></i>
{% endif %}
</td>
<td class="font-bold text-right">{{user.truecoins}}</td>
</tr>
</thead>
{% for user in admins %}
<tr>
<td><a style="color:#{{user.namecolor}};font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" src="/uid/{{user.id}}/pic" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}};"{% endif %}>{{user.username}}</span></a>{% if user.admin_level == 1 and v and v.admin_level > 1 %}<i class="fas fa-broom align-middle ml-2 color-white" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Meme Admin"></i>{% endif %}</td>
<td style="font-weight:bold; text-align:right;">{{user.truecoins}}</td>
</tr>
{% endfor %}
{% endfor %}
</table>
{% endblock %}