MarseyWorld/files/templates/banned.html

36 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "settings2.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 class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
{% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
<th>Last Active</th>
{%- endif %}
<th>Truescore</th>
<th>Ban reason</th>
<th>Banned by</th>
<th>Unban in</th>
</tr>
</thead>
{% for user in users %}
<tr>
<td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td>
{% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
<td {% if user.last_active %}data-time="{{user.last_active}}"{% endif %}></td>
{%- endif %}
<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 %}