rDrama/files/templates/admin/admin_home.html

90 lines
3.2 KiB
HTML
Raw Normal View History

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>&nbsp;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>
2022-03-25 22:33:01 +00:00
<li><a href="/admin/reported/posts">Reported Posts/Comments</a></li>
<li><a href="/admin/removed/posts">Removed Posts/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-28 04:37:40 +00:00
<li><a href="/agendaposters">Users with Chud Theme</a></li>
2022-01-03 10:39:41 +00:00
<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>
2022-01-24 15:44:27 +00:00
<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>
2022-02-17 07:03:51 +00:00
{% if SITE_NAME == 'PCM' %}
<h4>Configuration</h4>
<ul>
<li><a href="/admin/sidebar">Edit Sidebar</a></li>
</ul>
{% endif %}
2022-01-08 06:41:40 +00:00
{% if v.admin_level > 2 %}
2022-04-12 19:09:15 +00:00
<pre></pre>
2022-01-08 06:41:40 +00:00
<div class="custom-control custom-switch">
2022-04-12 19:05:50 +00:00
<input autocomplete="off" type="checkbox" class="custom-control-input" id="signups" {% if site_settings['Signups'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Signups');">
<label class="custom-control-label" for="signups">Signups</label>
2022-01-08 06:41:40 +00:00
</div>
2021-12-14 22:48:37 +00:00
2022-02-08 14:49:49 +00:00
<div class="custom-control custom-switch">
2022-04-12 19:05:50 +00:00
<input autocomplete="off" type="checkbox" class="custom-control-input" id="bots" {% if site_settings['Bots'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Bots');">
<label class="custom-control-label" for="bots">Bots</label>
</div>
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="Fart mode" {% if site_settings['Fart mode'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Fart mode');">
<label class="custom-control-label" for="Fart mode">Fart mode</label>
2022-01-11 17:08:28 +00:00
</div>
2022-01-09 15:15:02 +00:00
2022-04-12 17:29:52 +00:00
<div class="custom-control custom-switch">
2022-04-12 19:05:50 +00:00
<input autocomplete="off" type="checkbox" class="custom-control-input" id="Readonly mode" {% if site_settings['Readonly mode'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Readonly mode');">
<label class="custom-control-label" for="Readonly mode">Readonly mode</label>
</div>
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="under_attack" name="under_attack" {% if under_attack%}checked{% endif %} onchange="post_toast(this,'/admin/under_attack');">
<label class="custom-control-label" for="under_attack">Under attack mode</label>
2022-04-12 17:29:52 +00:00
</div>
<button class="btn btn-primary mt-3" onclick="post_toast(this,'/admin/purge_cache');">PURGE CACHE</button>
2022-01-14 02:33:27 +00:00
{% endif %}
2022-01-14 03:50:47 +00:00
2021-07-21 01:12:26 +00:00
{% endblock %}