2022-02-21 06:45:01 +00:00
|
|
|
{% extends "default.html" %}
|
2023-10-07 17:55:50 +00:00
|
|
|
{% block pagetitle %}/h/{{hole}} Exiles{% endblock %}
|
2022-02-21 06:45:01 +00:00
|
|
|
{% block content %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<h5 class="my-4 ml-2">Users exiled from /h/{{hole}}</h5>
|
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Exiled by</th>
|
|
|
|
<th>Exiled since</th>
|
|
|
|
<th class="disable-sort-click"></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user, exile in users %}
|
|
|
|
<tr>
|
|
|
|
<td>{{loop.index}}</td>
|
|
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
|
|
<td>
|
|
|
|
{% with user=exile.exiler %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
<td {% if exile.created_utc %}data-time="{{exile.created_utc}}"{% endif %}></td>
|
|
|
|
<td>
|
2024-01-12 07:18:04 +00:00
|
|
|
{% if v.mods_hole(hole.name) %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<form action="/h/{{hole}}/unexile/{{user.id}}" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHRReload(this)">
|
|
|
|
<input hidden name="formkey" value="{{v|formkey}}">
|
|
|
|
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Unexile">
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-10-27 15:37:40 +00:00
|
|
|
{% endblock %}
|