MarseyWorld/files/templates/banned.html

24 lines
962 B
HTML
Raw Normal View History

2022-05-04 23:09:46 +00:00
{% extends "settings2.html" %}
{% block content %}
<div class="overflow-x-auto"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
<th>Ban reason</th>
<th>Banned by</th>
</tr>
</thead>
{% for user in users %}
<tr>
<td>{{loop.index}}</td>
2022-08-27 02:57:19 +00:00
<td><a style="color:#{{user.name_color}}" href="/@{{user.username}}"><img loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.username}}</span></a></td>
2022-05-04 23:09:46 +00:00
<td>{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
2022-08-27 02:57:19 +00:00
<td><a href="/@{{user.banned_by.username}}"><img loading="lazy" src="{{user.banned_by.profile_url}}" class="pp20"><span {% if user.banned_by.patron %}class="patron" style="background-color:#{{user.banned_by.name_color}}"{% endif %}>{{user.banned_by.username}}</span></a></td>
2022-05-04 23:09:46 +00:00
</tr>
{% endfor %}
</table>
{% endblock %}