87 lines
3.8 KiB
HTML
87 lines
3.8 KiB
HTML
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
|
||
|
||
{% if sub %}
|
||
{% set image=sub.sidebar_url %}
|
||
{% else %}
|
||
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
|
||
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=45' %}
|
||
{% endif %}
|
||
|
||
{% if request.path != '/sidebar' %}
|
||
{% if v and (v.is_banned or v.agendaposter) %}
|
||
<a href="/i/{{SITE_NAME}}/sidebar2.webp">
|
||
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="/i/{{SITE_NAME}}/sidebar2.webp" width=100%>
|
||
</a>
|
||
{% elif not (sub and sub.name == 'chudrama' and v.truecoins < 5000) %}
|
||
<a href="{{image}}">
|
||
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="{{image}}" width=100%>
|
||
</a>
|
||
{% endif %}
|
||
{% endif %}
|
||
|
||
<p class="text-center text-md mb-4">
|
||
<a class="sidebar-link" href="/marseys" data-bs-toggle="tooltip" data-bs-placement="top" title="Marseys"><i class="fas fa-cat"></i></a>
|
||
<a class="sidebar-link" href="/badges" data-bs-toggle="tooltip" data-bs-placement="top" title="Badges"><i class="fas fa-hexagon"></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="/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>
|
||
</p>
|
||
|
||
{% if sub %}
|
||
{% if sub.sidebar_html %}
|
||
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
||
{% endif %}
|
||
{% if v %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE {{HOLE_NAME|upper}}S</a>
|
||
{% if v.can_create_hole -%}
|
||
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE {{HOLE_NAME|upper}}</a>
|
||
{%- endif %}
|
||
{% if v.mods(sub.name) %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub}}/settings">{{HOLE_NAME|upper}} SETTINGS</a>
|
||
{% endif %}
|
||
{% endif %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub}}/mods">{{HOLE_NAME|upper}} MODS</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub}}/exilees">{{HOLE_NAME|upper}} EXILEES</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">Submit Marseys & Art | Info Megathreads</span>
|
||
</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE {{HOLE_NAME|upper}}S</a>
|
||
{% if v and v.can_create_hole -%}
|
||
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE {{HOLE_NAME|upper}}</a>
|
||
{%- endif %}
|
||
|
||
<div class="rules mt-5">
|
||
<h3>Rules:</h3><br>
|
||
|
||
<a href="/post/19711/a-short-guide-on-how-to" style="color:red;font-weight:bold">- NO RIGHTWING AGENDAPOSTING.</a><br><br>
|
||
|
||
- Don't post anything illegal.<br><br>
|
||
|
||
- No sexualizing minors even as a “joke”.<br><br>
|
||
|
||
- No doxing.<br><br>
|
||
|
||
- Using alts to game dramacoin will get you banned.<br><br>
|
||
|
||
- Supporting free speech is an immediate ban.<br><br>
|
||
|
||
<b>- Absolutely NO anti-CCP sentiment.</b><br><br>
|
||
|
||
All rules can and likely will be ignored at the discretion of the janitorial staff. Be funny, or at least compelling, and pretty much anything legal is welcome.<br><br>
|
||
|
||
<span style="color:hotpink">𝐜𝐚𝐫𝐩 𝐰𝐨𝐳 𝐞𝐫𝐞</span><br><br>
|
||
</div>
|
||
{% endif %}
|
||
<pre>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</pre>
|
||
</div>
|