2023-09-08 17:07:38 +00:00
|
|
|
{% extends "settings2.html" %}
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block pagetitle %}Shadowbanned Users{% endblock %}
|
2021-11-23 00:04:13 +00:00
|
|
|
{% block content %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<h5 class="my-4">Shadowbanned Users</h5>
|
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
2024-02-02 23:15:12 +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=="shadowban_reason" %}disabled{% endif %}>
|
|
|
|
<a href="?sort=shadowban_reason">Shadowban reason</a>
|
|
|
|
</th>
|
|
|
|
<th class="disable-sort-click" {% if sort=="shadowbanned_by" %}disabled{% endif %}>
|
|
|
|
<a href="?sort=shadowbanned_by">Shadowbanned by</a>
|
|
|
|
</th>
|
|
|
|
<th class="disable-sort-click" {% if sort=="last_active" %}disabled{% endif %}>
|
|
|
|
<a href="?sort=last_active">Last Active</a>
|
|
|
|
</th>
|
2023-10-29 12:51:00 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
|
|
|
<td data-sort-key="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
|
|
|
|
<td>{{user.truescore}}</td>
|
|
|
|
<td>{{user.ban_reason | safe}}</td>
|
2024-02-02 23:18:11 +00:00
|
|
|
<td><a href="/{{user.shadowbanned_by}}">{{user.shadowbanned_by}}</a></td>
|
|
|
|
<td {% if user.last_active %}data-time="{{user.last_active}}"{% endif %}></td>
|
2023-10-29 12:51:00 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2021-11-23 00:04:13 +00:00
|
|
|
{% endblock %}
|
2024-02-02 23:15:12 +00:00
|
|
|
|
|
|
|
{% block pagenav %}
|
|
|
|
{% include "pagination.html" %}
|
|
|
|
{% endblock %}
|