master
kek7198 2021-12-31 14:27:09 -06:00
parent e4388b5627
commit 0262bb2467
1 changed files with 20 additions and 13 deletions

View File

@ -25,21 +25,28 @@
{% endblock %}
{% block content %}
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<table class="w-full table table-striped mt-6">
<thead class="bg-primary text-white">
<tr>
<th scope="col" class="p-2.5">#</th>
<th scope="col" class="p-2.5">Name</th>
<th scope="col" class="p-2.5">Shadowbanned by</th>
</tr>
</thead>
{% for user in users %}
<tr>
<th style="font-weight:bold;">#</th>
<th style="font-weight:bold;">Name</th>
<th style="font-weight:bold;">Shadowbanned by</th>
<td class="px-2.5 font-bold">{{loop.index}}</td>
<td class="px-2.5">
<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>
</td>
<td class="px-2.5 font-bold">
{{user.shadowbanned}}
</td>
</tr>
</thead>
{% for user in users %}
<tr>
<td style="font-weight:bold;">{{loop.index}}</td>
<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></td>
<td style="font-weight:bold;">{{user.shadowbanned}}</td>
</tr>
{% endfor %}
{% endfor %}
</table>
{% endblock %}