MarseyWorld/files/templates/admins.html

34 lines
933 B
HTML
Raw Normal View History

2022-05-04 23:09:46 +00:00
{% extends "settings2.html" %}
{% block pagetitle %}Admins{% endblock %}
{% block content %}
<pre class="d-none d-md-inline-block"></pre>
<h5 style="font-weight:bold;">Admins</h5>
<div class="overflow-x-auto mt-1">
2022-06-27 02:47:49 +00:00
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
2022-09-03 03:04:51 +00:00
<th onclick="sort_table(2)" style="text-align:right;">Truescore</th>
<th onclick="sort_table(3)" style="text-align:right;">Mod actions</th>
2022-06-27 02:47:49 +00:00
</tr>
</thead>
{% for user in admins %}
<tr>
<td>{{loop.index}}</td>
2022-09-05 03:01:06 +00:00
<td>{% include "user_in_table.html" %}</td>
2022-09-10 06:43:38 +00:00
<td style="text-align:right;">{{"{:,}".format(user.truecoins)}}</td>
2022-09-10 08:47:16 +00:00
<td style="text-align:right;"><a href="/log?admin={{user.username}}">{{"{:,}".format(user.modaction_num)}}</a></td>
2022-06-27 02:47:49 +00:00
</tr>
{% endfor %}
</table>
</div>
<script defer src="{{'js/sort_table.js' | asset}}"></script>
2022-05-04 23:09:46 +00:00
{% endblock %}