This commit is contained in:
kek7198 2021-12-31 14:27:09 -06:00
parent c6b1575c24
commit 6e1e90efec

View file

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