forked from MarseyWorld/MarseyWorld
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{% extends "meta_navbar.html" %}
|
|
{% block pagetitle %}Banned Users{% endblock %}
|
|
{% block content %}
|
|
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Banned Users</span></h5>
|
|
<div class="overflow-x-auto">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
<td>{{user.truescore | commas}}</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>
|
|
{% endblock %}
|
|
|
|
{% block pagenav %}
|
|
{{macros.pagination()}}
|
|
{% endblock %}
|