rDrama/files/templates/admins.html

32 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-04-01 20:06:35 +00:00
<script src="/assets/js/sort_table.js?v=242"></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>
2022-02-24 18:07:53 +00:00
<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"></i>{% endif %}</td>
2022-02-24 12:03:28 +00:00
<td style="text-align:right;">{{user.truecoins}}</td>
2022-04-01 20:09:42 +00:00
<td style="text-align:right;"><a href="/log?admin={{user.username}}">{{user.modaction_num}}</a></td>
2021-12-14 22:48:37 +00:00
</tr>
{% endfor %}
2021-10-15 14:08:27 +00:00
</table>
2022-03-08 21:48:03 +00:00
{% endblock %}