Merge branch 'frost' of https://github.com/Aevann1/Drama into frost

master
Aevann1 2022-07-09 14:02:24 +02:00
commit b9bc2968cf
3 changed files with 18 additions and 11 deletions

View File

@ -154,7 +154,7 @@ PIN_ENABLED = True
PIN_LIMIT = 3 PIN_LIMIT = 3
POST_RATE_LIMIT = '1/second;2/minute;10/hour;50/day' POST_RATE_LIMIT = '1/second;2/minute;10/hour;50/day'
LOGGEDIN_ACTIVE_TIME = 15 * 60 LOGGEDIN_ACTIVE_TIME = 15 * 60
PFP_DEFAULT_MARSEY = False#True PFP_DEFAULT_MARSEY = True
HOLE_NAME = 'hole' HOLE_NAME = 'hole'
HOLE_STYLE_FLAIR = False HOLE_STYLE_FLAIR = False
@ -325,6 +325,7 @@ elif SITE == 'lgbdropthet.com':
PROCOINS_ENABLED = False PROCOINS_ENABLED = False
PFP_DEFAULT_MARSEY = False PFP_DEFAULT_MARSEY = False
HOLE_NAME = 'community'
AUTOJANNY_ID = 1 AUTOJANNY_ID = 1
SNAPPY_ID = 3 SNAPPY_ID = 3

View File

@ -13,6 +13,7 @@
<p class="text-center text-md mb-4"> <p class="text-center text-md mb-4">
<a class="sidebar-link" href="/admins" data-bs-toggle="tooltip" data-bs-placement="top" title="Admins"><i class="fas fa-crown"></i></a> <a class="sidebar-link" href="/admins" data-bs-toggle="tooltip" data-bs-placement="top" title="Admins"><i class="fas fa-crown"></i></a>
<a class="sidebar-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="top" title="Moderation Log"><i class="fas fa-scroll-old"></i></a> <a class="sidebar-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="top" title="Moderation Log"><i class="fas fa-scroll-old"></i></a>
<a class="sidebar-link" href="/transfers" data-bs-toggle="tooltip" data-bs-placement="top" title="Transfers"><i class="fas fa-arrow-right-arrow-left"></i></a>
<a class="sidebar-link" href="/random_post/" data-bs-toggle="tooltip" data-bs-placement="top" title="Random Post"><i class="fas fa-random"></i></a> <a class="sidebar-link" href="/random_post/" data-bs-toggle="tooltip" data-bs-placement="top" title="Random Post"><i class="fas fa-random"></i></a>
<a class="sidebar-link" href="/comments" data-bs-toggle="tooltip" data-bs-placement="top" title="All Comments"><i class="fas fa-comment-dots"></i></a> <a class="sidebar-link" href="/comments" data-bs-toggle="tooltip" data-bs-placement="top" title="All Comments"><i class="fas fa-comment-dots"></i></a>
</p> </p>
@ -21,18 +22,23 @@
{% if sub.sidebar_html %} {% if sub.sidebar_html %}
<div class="mb-4">{{sub.sidebar_html|safe}}</div> <div class="mb-4">{{sub.sidebar_html|safe}}</div>
{% endif %} {% endif %}
{% if v and v.mods(sub.name) %} {% if v %}
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/settings">{{HOLE_NAME|upper}} SETTINGS</a> <a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE COMMUNITIES</a>
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/exilees">{{HOLE_NAME|upper}} EXILES</a> {% if v.mods(sub.name) %}
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/followers">{{HOLE_NAME|upper}} FOLLOWERS</a> <a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/settings">{{HOLE_NAME|upper}} SETTINGS</a>
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/blockers">{{HOLE_NAME|upper}} BLOCKERS</a> {% endif %}
{% endif %} {% endif %}
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/mods">{{HOLE_NAME|upper}} MODS</a> <a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/mods">{{HOLE_NAME|upper}} MODS</a>
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/exilees">{{HOLE_NAME|upper}} EXILES</a>
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/followers">{{HOLE_NAME|upper}} FOLLOWERS</a>
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/blockers">{{HOLE_NAME|upper}} BLOCKERS</a>
{% else %}
<a id="sidebar--directory--btn" class="btn btn-primary btn-block mb-3" href="/directory">
<span id="sidebar--directory--head">DIRECTORY</span>
<span id="sidebar--directory--subhead">Resources | Site Help | Megathreads</span>
</a>
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE COMMUNITIES</a>
{% endif %} {% endif %}
<a id="sidebar--directory--btn" class="btn btn-primary btn-block mb-3" href="/directory">
<span id="sidebar--directory--head">DIRECTORY</span>
<span id="sidebar--directory--subhead">Resources | Site Help | Megathreads</span>
</a>
<div id="sidebar--rules"> <div id="sidebar--rules">
<h3 id="sidebar--rules--head">Rules</h3> <h3 id="sidebar--rules--head">Rules</h3>

View File

@ -4,7 +4,7 @@
</pre> </pre>
<h5>List of {{HOLE_NAME}}s</h5> <h5>{{HOLE_NAME}} List</h5>
<pre></pre> <pre></pre>
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="table table-striped mb-5"> <table class="table table-striped mb-5">