rDrama/files/templates/sub/exilees.html

24 lines
1.2 KiB
HTML
Raw Normal View History

2022-02-21 06:45:01 +00:00
{% extends "default.html" %}
{% block content %}
<pre></pre>
<h5>Users exiled from /s/{{sub.name}}</h5>
<pre></pre>
<div class="overflow-x-auto"><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>
2022-02-22 13:43:17 +00:00
<th style="font-weight: bold">Exiled by</th>
2022-02-21 06:45:01 +00:00
</tr>
</thead>
2022-02-22 13:43:17 +00:00
{% for user, exile in users %}
2022-02-21 06:45:01 +00:00
<tr>
2022-02-22 13:43:17 +00:00
{% set exiler=exile.exiler %}
2022-02-21 06:45:01 +00:00
<td style="font-weight: bold">{{loop.index}}</td>
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img alt="@{{user.username}}'s profile picture" loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
2022-02-22 13:43:17 +00:00
<td><a style="color:#{{exiler.namecolor}}; font-weight:bold;" href="/@{{exiler.username}}"><img alt="@{{exiler.username}}'s profile picture" loading="lazy" src="{{exiler.profile_url}}" class="pp20"><span {% if exiler.patron %}class="patron" style="background-color:#{{exiler.namecolor}}"{% endif %}>{{exiler.username}}</span></a></td>
2022-02-21 06:45:01 +00:00
</tr>
{% endfor %}
</table>
{% endblock %}