2022-05-04 23:09:46 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
2022-06-19 12:34:10 +00:00
|
|
|
{% block title %}
|
|
|
|
<title>{{SITE_NAME}}</title>
|
|
|
|
|
|
|
|
{% endblock %}
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
{% block content %}
|
2022-06-19 12:34:10 +00:00
|
|
|
<pre></pre>
|
|
|
|
<pre></pre>
|
2022-09-17 15:08:24 +00:00
|
|
|
<h3 class="pb-2">Admin Tools</h3>
|
2022-06-19 12:34:10 +00:00
|
|
|
|
2022-09-17 15:08:24 +00:00
|
|
|
{% if v.admin_level > 2 and (SITE_NAME == 'rDrama' or SIDEBAR_THREAD or BANNER_THREAD or BADGE_THREAD or SNAPPY_THREAD) %}
|
2022-09-11 07:11:10 +00:00
|
|
|
<h4>Add Stuff</h4>
|
|
|
|
<ul>
|
|
|
|
{% if SIDEBAR_THREAD %}
|
|
|
|
<li><a href="/post/{{SIDEBAR_THREAD}}">Add Sidebar Images</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if BANNER_THREAD %}
|
|
|
|
<li><a href="/post/{{BANNER_THREAD}}">Add Banners</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if BADGE_THREAD %}
|
|
|
|
<li><a href="/post/{{BADGE_THREAD}}">Add Badges</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if SNAPPY_THREAD %}
|
|
|
|
<li><a href="/post/{{SNAPPY_THREAD}}">Add Snappy Quotes</a></li>
|
|
|
|
{% endif %}
|
2022-09-17 15:08:24 +00:00
|
|
|
{% if SITE_NAME == 'rDrama' %}
|
|
|
|
<li><a href="/admin/update/marseys">Update Marseys</a></li>
|
|
|
|
{% endif %}
|
2022-09-11 07:11:10 +00:00
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
2022-06-19 12:34:10 +00:00
|
|
|
<h4>Content</h4>
|
|
|
|
<ul>
|
2022-07-18 04:37:07 +00:00
|
|
|
<li><a href="/log">Moderation Log</a></li>
|
2022-06-19 12:34:10 +00:00
|
|
|
<li><a href="/admin/image_posts">Image Posts</a></li>
|
|
|
|
<li><a href="/admin/reported/posts">Reported Posts/Comments</a></li>
|
|
|
|
<li><a href="/admin/removed/posts">Removed Posts/Comments</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>Users</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/admin/users">Users Feed</a></li>
|
|
|
|
<li><a href="/admin/shadowbanned">Shadowbanned Users</a></li>
|
|
|
|
<li><a href="/banned">Permabanned Users</a></li>
|
2022-07-19 23:59:39 +00:00
|
|
|
{% if FEATURES['AWARDS'] -%}
|
|
|
|
<li><a href="/agendaposters">Users with Chud Theme</a></li>
|
|
|
|
<li><a href="/grassed">Currently Grassed Users</a></li>
|
|
|
|
{%- endif %}
|
2022-09-17 22:06:29 +00:00
|
|
|
{% if FEATURES['PROCOINS'] and (not AEVANN_ID or v.id == AEVANN_ID) -%}
|
2022-07-19 23:59:39 +00:00
|
|
|
<li><a href="/patrons">Patrons / Paypigs</a></li>
|
|
|
|
{%- endif %}
|
2022-06-19 12:34:10 +00:00
|
|
|
<li><a href="/admin/loggedin">Currently Logged-in Users</a></li>
|
|
|
|
<li><a href="/admin/loggedout">Currently Logged-out Users</a></li>
|
|
|
|
</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>
|
|
|
|
|
2022-07-19 23:59:39 +00:00
|
|
|
{% if FEATURES['BADGES'] or FEATURES['AWARDS'] -%}
|
2022-06-19 12:34:10 +00:00
|
|
|
<h4>Grant</h4>
|
|
|
|
<ul>
|
2022-07-19 23:59:39 +00:00
|
|
|
{% if FEATURES['AWARDS'] -%}
|
|
|
|
<li><a href="/admin/awards">Give User Award</a></li>
|
|
|
|
{%- endif %}
|
|
|
|
{% if FEATURES['BADGES'] -%}
|
|
|
|
<li><a href="/admin/badge_grant">Grant Badges</a></li>
|
|
|
|
<li><a href="/admin/badge_remove">Remove Badges</a></li>
|
|
|
|
{%- endif %}
|
2022-06-19 12:34:10 +00:00
|
|
|
</ul>
|
2022-07-19 23:59:39 +00:00
|
|
|
{%- endif %}
|
2022-06-19 12:34:10 +00:00
|
|
|
|
2022-09-04 20:53:34 +00:00
|
|
|
{% if CASINO_ENABLED -%}
|
2022-09-05 20:59:42 +00:00
|
|
|
<h4>Casino</h4>
|
2022-06-19 12:34:10 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href="/admin/lottery/participants">Participants</a></li>
|
2022-09-05 20:59:42 +00:00
|
|
|
<button class="btn btn-primary mt-3" onclick="post_toast(this,'/casino/blackjack/purge');" style="margin-bottom: 2em;">PURGE BAD BLACKJACK GAMES</button>
|
2022-06-19 12:34:10 +00:00
|
|
|
</ul>
|
2022-06-19 12:33:51 +00:00
|
|
|
{%- endif %}
|
2022-06-19 12:34:10 +00:00
|
|
|
|
|
|
|
<h4>Statistics</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/stats">Content Stats</a></li>
|
|
|
|
<li><a href="/weekly_chart">Weekly Stat Chart</a></li>
|
|
|
|
<li><a href="/daily_chart">Daily Stat Chart</a></li>
|
|
|
|
</ul>
|
|
|
|
|
2022-07-12 19:32:34 +00:00
|
|
|
<h4>Configuration</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/create_hole">Create {{ HOLE_NAME | capitalize }}</a></li>
|
2022-08-07 06:56:13 +00:00
|
|
|
<li><a href="/admin/apps">Apps</a></li>
|
|
|
|
{% if FEATURES['CATEGORIES'] -%}
|
|
|
|
<li><a href="/admin/categories">Categories</a></li>
|
|
|
|
{%- endif %}
|
2022-07-12 19:32:34 +00:00
|
|
|
</ul>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
2022-06-19 12:33:51 +00:00
|
|
|
{% if v.admin_level > 2 %}
|
|
|
|
<pre></pre>
|
2022-05-04 23:09:46 +00:00
|
|
|
<div class="custom-control custom-switch">
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
|
2022-08-05 20:40:48 +00:00
|
|
|
<div class="custom-control custom-switch">
|
|
|
|
<input autocomplete="off" type="checkbox" class="custom-control-input" id="login_required" {% if site_settings['login_required'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/login_required');">
|
|
|
|
<label class="custom-control-label" for="login_required">Login Required</label>
|
|
|
|
</div>
|
|
|
|
|
2022-05-04 23:09:46 +00:00
|
|
|
<div class="custom-control custom-switch">
|
2022-09-04 23:15:37 +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');">
|
2022-05-04 23:09:46 +00:00
|
|
|
<label class="custom-control-label" for="bots">Bots</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="custom-control custom-switch">
|
2022-09-04 23:15:37 +00:00
|
|
|
<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');">
|
2022-05-04 23:09:46 +00:00
|
|
|
<label class="custom-control-label" for="Fart mode">Fart mode</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="custom-control custom-switch">
|
2022-09-04 23:15:37 +00:00
|
|
|
<input autocomplete="off" type="checkbox" class="custom-control-input" id="Read-only mode" {% if site_settings['Read-only mode'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Read-only mode');">
|
2022-05-04 23:09:46 +00:00
|
|
|
<label class="custom-control-label" for="Read-only mode">Read-only 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>
|
|
|
|
</div>
|
|
|
|
|
2022-06-19 12:33:51 +00:00
|
|
|
<button class="btn btn-primary mt-3" onclick="post_toast(this,'/admin/purge_cache');" style="margin-bottom: 2em;">PURGE CACHE</button>
|
2022-06-22 16:17:26 +00:00
|
|
|
<br>
|
|
|
|
{% if SITE_NAME == 'PCM' %}
|
|
|
|
<button class="btn btn-primary" onclick="post_toast(this,'/kippy');" style="margin-bottom: 2em;">Print 10k Marseybux</button>
|
|
|
|
{% endif %}
|
2022-06-19 12:33:51 +00:00
|
|
|
{% endif %}
|
2022-05-04 23:09:46 +00:00
|
|
|
|
2022-06-19 12:33:51 +00:00
|
|
|
<h4>Server Status</h4>
|
|
|
|
<div>
|
|
|
|
Live Revision: <code>{{ gitref }}</code> <br>
|
2022-05-05 08:46:20 +00:00
|
|
|
</div>
|
|
|
|
|
2022-06-19 12:34:10 +00:00
|
|
|
{% endblock %}
|