rDrama/files/templates/banned.html

24 lines
1.2 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
{% extends "settings2.html" %}
{% block content %}
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
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-02-23 05:19:57 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" src="{{user.profile_url}}" 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-02-23 05:19:57 +00:00
<td style="font-weight:bold;" 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.namecolor}}"{% endif %}>{{user.banned_by.username}}</span></a></td>
2021-10-15 14:08:27 +00:00
</tr>
{% endfor %}
</table>
{% endblock %}