forked from rDrama/rDrama
24 lines
1.0 KiB
HTML
24 lines
1.0 KiB
HTML
{% extends "guild_settings.html" %}
|
|
|
|
{% block content %}
|
|
<table class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th style="font-weight:bold;">#</th>
|
|
<th style="font-weight:bold;">Name</th>
|
|
<th style="font-weight:bold;">Reason</th>
|
|
<th style="font-weight:bold;">Banned by</th>
|
|
</tr>
|
|
</thead>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td style="font-weight:bold;">{{users.index(user)+1}}</td>
|
|
<td><a {% if user.animatedname %}class="{% if user.patron %}patron{% else %}leaderboard{% endif %}"{% endif %} style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
|
<td style="font-weight:bold;">{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
|
|
<td><a {% if user.banned_by.animatedname %}class="{% if user.banned_by.patron %}patron{% else %}leaderboard{% endif %}"{% endif %} style="color:#{{user.banned_by.namecolor}}; font-weight:bold;" href="/@{{user.banned_by.username}}">{{user.banned_by.username}}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|