forked from MarseyWorld/MarseyWorld
42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
{% extends "settings2.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 class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<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}}</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 %}
|
|
{% include "pagination.html" %}
|
|
{% endblock %}
|