2021-10-15 14:08:27 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2022-01-13 23:39:39 +00:00
|
|
|
<title>{{SITE_NAME}}</title>
|
2021-12-27 05:07:19 +00:00
|
|
|
|
2021-10-15 14:08:27 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-12-14 22:48:37 +00:00
|
|
|
<pre></pre>
|
|
|
|
<pre></pre>
|
|
|
|
<h3> Admin Tools</h3>
|
|
|
|
|
|
|
|
<h4>Content</h4>
|
|
|
|
<ul>
|
2021-12-17 17:55:11 +00:00
|
|
|
<li><a href="/admin/image_posts">Image Posts</a></li>
|
2021-12-14 22:48:37 +00:00
|
|
|
<li><a href="/admin/reported/posts">Reported Posts</a></li>
|
|
|
|
<li><a href="/admin/reported/comments">Reported Comments</a></li>
|
2021-12-17 17:55:11 +00:00
|
|
|
<li><a href="/admin/removed/posts">Removed Posts</a></li>
|
|
|
|
<li><a href="/admin/removed/comments">Removed Comments</a></li>
|
2021-12-14 22:48:37 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>Users</h4>
|
|
|
|
<ul>
|
2021-12-17 17:55:11 +00:00
|
|
|
<li><a href="/admin/users">Users Feed</a></li>
|
2021-12-14 22:48:37 +00:00
|
|
|
<li><a href="/admin/shadowbanned">Shadowbanned Users</a></li>
|
2022-01-03 11:02:56 +00:00
|
|
|
<li><a href="/banned">Permabanned Users</a></li>
|
2022-01-03 10:39:41 +00:00
|
|
|
<li><a href="/agendaposters">Users with Agendaposter Theme</a></li>
|
|
|
|
<li><a href="/grassed">Currently Grassed Users</a></li>
|
2021-12-14 22:48:37 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>Safety</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/admin/banned_domains">Banned Domains</a></li>
|
|
|
|
<li><a href="/admin/alt_votes">Multi Vote Analysis</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>Grant</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/admin/awards">Give User Award</a></li>
|
2022-01-11 03:28:35 +00:00
|
|
|
<li><a href="/admin/badge_grant">Grant Badges</a></li>
|
|
|
|
<li><a href="/admin/badge_remove">Remove Badges</a></li>
|
2021-12-14 22:48:37 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>API Access Control</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/admin/apps">Apps</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>Statistics</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/stats">Content Stats</a></li>
|
|
|
|
<li><a href="/chart">Stat Chart</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>Configuration</h4>
|
|
|
|
<ul>
|
2021-12-30 05:27:22 +00:00
|
|
|
<li><a href="/admin/sidebar">Edit Sidebar</a></li>
|
2021-12-14 22:48:37 +00:00
|
|
|
</ul>
|
|
|
|
|
2022-01-08 06:41:40 +00:00
|
|
|
{% if v.admin_level > 2 %}
|
|
|
|
<div class="custom-control custom-switch">
|
2022-01-09 15:15:02 +00:00
|
|
|
<input autocomplete="off" type="checkbox" class="custom-control-input" id="disable_signups" name="disable_signups" {% if x == "yes" %}checked{% endif %} onchange="post_toast('/admin/disable_signups');">
|
|
|
|
<label class="custom-control-label" for="disable_signups">Disable signups</label>
|
2022-01-08 06:41:40 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2021-12-14 22:48:37 +00:00
|
|
|
|
2022-01-14 02:33:27 +00:00
|
|
|
{% if v.admin_level == 3 %}
|
|
|
|
<div class="custom-control custom-switch mt-3">
|
2022-01-11 17:08:28 +00:00
|
|
|
<input autocomplete="off" type="checkbox" class="custom-control-input" id="under_attack" name="under_attack" {% if x2 == "yes" %}checked{% endif %} onchange="post_toast('/admin/under_attack');">
|
|
|
|
<label class="custom-control-label" for="under_attack">Under attack mode</label>
|
|
|
|
</div>
|
2022-01-09 15:15:02 +00:00
|
|
|
|
2022-01-14 02:33:27 +00:00
|
|
|
<button class="btn btn-primary mt-3" onclick="post_toast('/admin/purge_cache');">PURGE CACHE</button>
|
|
|
|
{% endif %}
|
2021-07-21 01:12:26 +00:00
|
|
|
{% endblock %}
|