2021-10-15 14:08:27 +00:00
|
|
|
{% extends "settings2.html" %}
|
|
|
|
|
|
|
|
{% block pagetitle %}Admins{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-01-03 10:32:31 +00:00
|
|
|
|
2022-01-03 10:48:15 +00:00
|
|
|
<script src="/static/assets/js/sort_table.js?a=3"></script>
|
2022-01-03 10:32:31 +00:00
|
|
|
|
2021-12-14 22:48:37 +00:00
|
|
|
<pre class="d-none d-md-inline-block"></pre>
|
2021-10-15 14:08:27 +00:00
|
|
|
<h5 style="font-weight:bold;">Admins</h5>
|
|
|
|
<pre></pre>
|
2022-01-03 10:32:31 +00:00
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table id="sortable_table" class="table table-striped mb-5 text-small-mobile">
|
2021-12-14 22:48:37 +00:00
|
|
|
<thead class="bg-primary text-white">
|
2021-10-15 14:08:27 +00:00
|
|
|
<tr>
|
2021-12-14 22:48:37 +00:00
|
|
|
<th style="font-weight:bold;">#</th>
|
2022-01-03 10:44:13 +00:00
|
|
|
<th role="button" onclick="sort_table(1)" style="font-weight:bold;">Name</th>
|
2022-01-03 10:48:15 +00:00
|
|
|
<th role="button" onclick="sort_table2(2)" style="font-weight:bold; text-align:right;">Truescore</th>
|
|
|
|
<th role="button" onclick="sort_table2(3)" style="font-weight:bold; text-align:right;">Mod actions</th>
|
2021-10-15 14:08:27 +00:00
|
|
|
</tr>
|
2021-12-14 22:48:37 +00:00
|
|
|
</thead>
|
|
|
|
{% for user in admins %}
|
|
|
|
<tr>
|
|
|
|
<td style="font-weight:bold;">{{loop.index}}</td>
|
2022-01-03 10:32:31 +00:00
|
|
|
<td><a style="color:#{{user.namecolor}};font-weight:bold;" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="/uid/{{user.id}}/pic" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a>{% if user.admin_level == 1 and v and v.admin_level > 1 %}<i class="fas fa-broom align-middle ml-2 color-white" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="Meme Admin"></i>{% endif %}</td>
|
2021-12-14 22:48:37 +00:00
|
|
|
<td style="font-weight:bold; text-align:right;">{{user.truecoins}}</td>
|
2021-12-26 03:18:28 +00:00
|
|
|
<td style="font-weight:bold; text-align:right;">{{user.modaction_num}}</td>
|
2021-12-14 22:48:37 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2021-10-15 14:08:27 +00:00
|
|
|
</table>
|
2021-07-26 20:12:30 +00:00
|
|
|
{% endblock %}
|