forked from rDrama/rDrama
1
0
Fork 0
rDrama/files/templates/banned.html

24 lines
979 B
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>
2022-02-24 12:03:28 +00:00
<th>#</th>
<th>Name</th>
<th>Ban reason</th>
<th>Banned by</th>
2021-10-15 14:08:27 +00:00
</tr>
</thead>
{% for user in users %}
<tr>
2022-02-24 12:03:28 +00:00
<td>{{loop.index}}</td>
<td><a style="color:#{{user.namecolor}}" 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>
<td>{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
<td 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 %}