forked from MarseyWorld/MarseyWorld
24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
{% extends "settings2.html" %}
|
|
|
|
{% block content %}
|
|
<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;">Ban reason</th>
|
|
<th style="font-weight:bold;">Banned by</th>
|
|
</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;">{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
|
|
<td style="font-weight:bold;" href="/@{{user.banned_by.username}}"><img 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>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|