rDrama/files/templates/banned.html

42 lines
1.3 KiB
HTML
Raw Normal View History

2024-02-05 04:18:50 +00:00
{% extends "meta_navbar.html" %}
{% block pagetitle %}Banned Users{% endblock %}
2022-05-04 23:09:46 +00:00
{% block content %}
2023-10-29 12:51:00 +00:00
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Banned Users</span></h5>
<div class="overflow-x-auto">
<table>
<thead>
2023-10-29 12:51:00 +00:00
<tr>
2024-02-02 22:31:10 +00:00
<th class="disable-sort-click" {% if sort=="name" %}disabled{% endif %}>
<a href="?sort=name">Name</a>
</th>
<th class="disable-sort-click" {% if sort=="truescore" %}disabled{% endif %}>
<a href="?sort=truescore">Truescore</a>
</th>
<th class="disable-sort-click" {% if sort=="ban_reason" %}disabled{% endif %}>
<a href="?sort=ban_reason">Ban reason</a>
</th>
<th class="disable-sort-click" {% if sort=="banned_by" %}disabled{% endif %}>
<a href="?sort=banned_by">Banned by</a>
</th>
<th class="disable-sort-click" {% if sort=="unban_utc" %}disabled{% endif %}>
<a href="?sort=unban_utc">Unban on</a>
</th>
2023-10-29 12:51:00 +00:00
</tr>
</thead>
{% for user in users %}
<tr>
<td>{% include "user_in_table.html" %}</td>
<td>{{user.truescore}}</td>
<td>{{user.ban_reason | safe}}</td>
<td>{{user.banned_by | safe}}</td>
<td {% if user.unban_utc %}data-time="{{user.unban_utc}}"{% endif %}></td>
</tr>
{% endfor %}
</table>
</div>
2022-05-04 23:09:46 +00:00
{% endblock %}
2024-02-02 22:31:10 +00:00
{% block pagenav %}
2024-03-03 01:25:02 +00:00
{{macros.pagination()}}
2024-02-02 22:31:10 +00:00
{% endblock %}