LGB: Rename holes; make hole sidebar Drama-like.

master
Snakes 2022-07-09 08:01:44 -04:00
parent f166522b26
commit 095b0229a2
3 changed files with 18 additions and 11 deletions

View File

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

View File

@ -13,6 +13,7 @@
<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="/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="/comments" data-bs-toggle="tooltip" data-bs-placement="top" title="All Comments"><i class="fas fa-comment-dots"></i></a>
</p>
@ -21,18 +22,23 @@
{% if sub.sidebar_html %}
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
{% endif %}
{% if v and v.mods(sub.name) %}
<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}}/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>
{% if v %}
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE COMMUNITIES</a>
{% if v.mods(sub.name) %}
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/settings">{{HOLE_NAME|upper}} SETTINGS</a>
{% 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}}/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 %}
<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">
<h3 id="sidebar--rules--head">Rules</h3>

View File

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