MarseyWorld/files/templates/admins.html

31 lines
758 B
HTML

{% extends "meta_navbar.html" %}
{% block pagetitle %}Admins{% endblock %}
{% block content %}
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Admins</span></h5>
<div class="overflow-x-auto mt-1">
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Admin Level</th>
<th>Truescore</th>
<th>Mod actions</th>
</tr>
</thead>
{% for user in admins %}
<tr>
<td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td>
<td>{{5 if user.id == CARP_ID else user.admin_level}}</td>
<td>{{"{:,}".format(user.truescore)}}</td>
<td><a href="/log?admin={{user.username}}">{{"{:,}".format(user.modaction_num)}}</a></td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}