2021-10-15 14:08:27 +00:00
|
|
|
{% extends "settings2.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-01-03 10:32:31 +00:00
|
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5 text-small-mobile">
|
2021-10-15 14:08:27 +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;">Ban reason</th>
|
|
|
|
<th style="font-weight:bold;">Banned by</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
2021-11-26 20:11:39 +00:00
|
|
|
<td style="font-weight:bold;">{{loop.index}}</td>
|
2022-01-03 10:32:31 +00:00
|
|
|
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" 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>
|
2021-10-15 14:08:27 +00:00
|
|
|
<td style="font-weight:bold;">{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
|
2022-01-03 10:32:31 +00:00
|
|
|
<td style="font-weight:bold;" href="/@{{user.banned_by.username}}"><img alt="@{{user.banned_by.username}}'s profile picture" loading="lazy" src="/uid/{{user.banned_by.id}}/pic" class="pp20"><span {% if user.banned_by.patron %}class="patron" style="background-color:#{{user.banned_by.namecolor}}"{% endif %}>{{user.banned_by.username}}</span></a></td>
|
2021-10-15 14:08:27 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endblock %}
|