MarseyWorld/files/templates/admins.html

31 lines
1.3 KiB
HTML
Raw Normal View History

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-02-02 00:06:29 +00:00
<script src="/static/assets/js/sort_table.js?a=240"></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">
2022-01-03 10:59:29 +00:00
<table id="sortable_table" class="table table-striped mb-5">
2021-12-14 22:48:37 +00:00
<thead class="bg-primary text-white">
2021-10-15 14:08:27 +00:00
<tr>
2022-02-24 12:03:28 +00:00
<th>#</th>
<th>Name</th>
<th role="button" onclick="sort_table(2)" style="text-align:right;">Truescore</th>
<th role="button" onclick="sort_table(3)" style="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>
2022-02-24 12:03:28 +00:00
<td>{{loop.index}}</td>
<td><a style="color:#{{user.namecolor}}" href="/@{{user.username}}"><img loading="lazy" src="{{user.profile_url}}" 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" title="Meme Admin" data-bs-original-title="Meme Admin"></i>{% endif %}</td>
<td style="text-align:right;">{{user.truecoins}}</td>
<td style="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 %}