forked from rDrama/rDrama
32 lines
935 B
HTML
32 lines
935 B
HTML
{% extends "settings2.html" %}
|
|
{% block pagetitle %}Shadowbanned Users{% endblock %}
|
|
{% block content %}
|
|
|
|
<div class="overflow-x-auto">
|
|
<table class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th onclick="sort_table(this)">#</th>
|
|
<th onclick="sort_table(this)">Name</th>
|
|
<th onclick="sort_table(this)">Last Active</th>
|
|
<th onclick="sort_table(this)">Truescore</th>
|
|
<th onclick="sort_table(this)">Shadowbanned by</th>
|
|
<th onclick="sort_table(this)">Shadowban reason</th>
|
|
</tr>
|
|
</thead>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>{{loop.index}}</td>
|
|
<td data-sort-key="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
|
|
<td data-time="{{user.last_active}}"></td>
|
|
<td>{{user.truescore}}</td>
|
|
<td>{{user.shadowbanned}}</td>
|
|
<td>{{user.ban_reason}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<script defer src="{{'js/sort_table.js' | asset}}"></script>
|
|
|
|
{% endblock %}
|