rDrama/files/templates/banned.html

24 lines
1.2 KiB
HTML
Raw Normal View History

2021-07-25 21:59:20 +00:00
{% extends "settings2.html" %}
2021-07-21 01:12:26 +00:00
{% 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>
2021-07-28 04:22:27 +00:00
<th style="font-weight:bold;">Ban reason</th>
2021-07-21 01:12:26 +00:00
<th style="font-weight:bold;">Banned by</th>
</tr>
</thead>
{% for user in users %}
<tr>
<td style="font-weight:bold;">{{users.index(user)+1}}</td>
2021-09-03 14:08:32 +00:00
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" src="/uid/{{user.id}}/pic/profile" class="profile-pic-20 mr-1"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}};"{% endif %}>{{user.username}}</span></a></td>
2021-07-21 01:12:26 +00:00
<td style="font-weight:bold;">{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
2021-09-03 14:08:32 +00:00
<td style="font-weight:bold;" href="/@{{user.banned_by.username}}"><img loading="lazy" src="/uid/{{user.banned_by.id}}/pic/profile" class="profile-pic-20 mr-1"><span {% if user.banned_by.patron %}class="patron" style="background-color:#{{user.banned_by.namecolor}};"{% endif %}>{{user.banned_by.username}}</span></a></td>
2021-07-21 01:12:26 +00:00
</tr>
{% endfor %}
</table>
{% endblock %}