86 lines
4.0 KiB
HTML
86 lines
4.0 KiB
HTML
<div class="col sidebar text-left d-none d-lg-block pt-3 pb-5 bg-white" style="max-width:300px">
|
||
|
||
{% if sub %}
|
||
{% set image=sub.sidebar_url %}
|
||
{% else %}
|
||
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
|
||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?v=37' %}
|
||
{% endif %}
|
||
|
||
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
|
||
|
||
{% if sub %}
|
||
{% if sub.sidebar_html %}
|
||
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
||
{% endif %}
|
||
{% if v %}
|
||
<div class="d-lg-block d-none btn-block">
|
||
{% if v.subs == 1 %}
|
||
<a class="btn btn-primary btn-block mb-3 {% if v.subscribed_to(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/subscribe','subscribe-sub','unsubscribe-sub');this.classList.toggle('d-none');nextElementSibling.classList.toggle('d-none')">SUBSCRIBE TO HOLE</a>
|
||
<a class="btn btn-primary btn-block mb-3 {% if not v.subscribed_to(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/unsubscribe','subscribe-sub','unsubscribe-sub');this.classList.toggle('d-none');previousElementSibling.classList.toggle('d-none')">UNSUBSCRIBE FROM HOLE</a>
|
||
{% else %}
|
||
<a class="btn btn-primary btn-block mb-3 {% if v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/block','block-sub','unblock-sub');this.classList.toggle('d-none');nextElementSibling.classList.toggle('d-none')">BLOCK HOLE</a>
|
||
<a class="btn btn-primary btn-block mb-3 {% if not v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/unblock','block-sub','unblock-sub');this.classList.toggle('d-none');previousElementSibling.classList.toggle('d-none')">UNBLOCK HOLE</a>
|
||
{% endif %}
|
||
</div>
|
||
|
||
{% if v.id in (AEVANN_ID,CARP_ID) %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/create_sub">CREATE HOLE</a>
|
||
{% endif %}
|
||
{% if v.mods(sub.name) %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/settings">HOLE SETTINGS</a>
|
||
{% endif %}
|
||
{% endif %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/mods">HOLE MODS</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/subscribers">HOLE SUBSCRIBERS</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/exilees">HOLE EXILEES</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/blockers">HOLE BLOCKERS</a>
|
||
{% else %}
|
||
{% if v and v.id in (AEVANN_ID,CARP_ID) %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/create_sub">CREATE HOLE</a>
|
||
{% endif %}
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/16583">EMOJI MEGATHREAD</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/18459">BUGS/SUGGESTIONS MEGATHREAD</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/32341">SIDEBAR ARTWORK MEGATHREAD</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/33652">SNAPPY QUOTES MEGATHREAD</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/35835">BANNER ARTWORK MEGATHREAD</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/37677">EMOJI REQUESTS MEGATHREAD</a>
|
||
<a class="btn btn-primary btn-block mb-3" href="/post/39413">GAMBLING MEGATHREAD</a>
|
||
|
||
<div class="rules mt-4">
|
||
Rulez:<br><br>
|
||
|
||
- Don't post anything illegal<br><br>
|
||
|
||
- No sexualizing minors even as a “joke”<br><br>
|
||
|
||
- No doxxing<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>
|
||
|
||
<font color="hotpink">𝐜𝐚𝐫𝐩 𝐰𝐨𝐳 𝐞𝐫𝐞</font><BR><BR>
|
||
</div>
|
||
{% endif %}
|
||
<pre>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</pre>
|
||
</div> |