2024-08-24 01:43:31 +02:00
|
|
|
<script src='main.js?v={{ config.resource_version }}' data-resource-version="{{ config.resource_version }}"></script>
|
2024-08-22 00:09:28 +02:00
|
|
|
<script src='js/jquery.min.js?v={{ config.resource_version }}'></script>
|
|
|
|
<script src='js/mobile-style.js?v={{ config.resource_version }}'></script>
|
|
|
|
<script src='js/strftime.min.js?v={{ config.resource_version }}'></script>
|
|
|
|
<script src='js/longtable/longtable.js?v={{ config.resource_version }}'></script>
|
|
|
|
<script src='js/mod/ban-list.js?v={{ config.resource_version }}'></script>
|
2024-08-22 00:15:51 +02:00
|
|
|
<link rel='stylesheet' href='stylesheets/longtable/longtable.css?v={{ config.resource_version }}'>
|
|
|
|
<link rel='stylesheet' href='stylesheets/mod/ban-list.css?v={{ config.resource_version }}'>
|
2014-10-08 23:23:59 +02:00
|
|
|
|
|
|
|
<form action="?/bans" method="post" class="banform">
|
|
|
|
{% if token %}
|
|
|
|
<input type="hidden" name="token" value="{{ token }}">
|
|
|
|
{% endif %}
|
|
|
|
<div class='banlist-opts'>
|
|
|
|
<div class='checkboxes'>
|
|
|
|
{% if mod and mod.boards[0] != '*' %}
|
|
|
|
<label><input type="checkbox" id="only_mine"> {% trans %}Show only bans from boards I moderate{% endtrans %}</label>
|
|
|
|
{% endif %}
|
|
|
|
<label><input type="checkbox" id="only_not_expired"> {% trans %}Show only active bans{% endtrans %}</label>
|
|
|
|
</div>
|
|
|
|
<div class='buttons'>
|
|
|
|
<input type="text" id="search" placeholder="{% trans %}Search{% endtrans %}">
|
|
|
|
{% if mod %}
|
2024-06-27 11:13:54 +02:00
|
|
|
<input type="submit" name="unban" id="unban" value="{% trans 'Unban selected' %}">
|
2014-10-08 23:23:59 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br class='clear'>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="mod" style="width:100%" id="banlist">
|
2012-04-16 08:40:24 +02:00
|
|
|
</table>
|
2014-10-08 23:23:59 +02:00
|
|
|
|
|
|
|
|
2024-08-22 00:09:28 +02:00
|
|
|
|
2012-04-16 08:40:24 +02:00
|
|
|
</form>
|
2014-10-08 23:23:59 +02:00
|
|
|
{% if token_json %}
|
|
|
|
<script>$(function(){ banlist_init("{{ token_json }}", {{ boards }}); });</script>
|
|
|
|
{% else %}
|
|
|
|
<script>$(function(){ banlist_init("{{ uri_json }}", {{ boards }}, true); });</script>
|
2012-04-16 08:40:24 +02:00
|
|
|
{% endif %}
|