forked from rDrama/rDrama
sneed
parent
90fc18bcb8
commit
036bd59fc3
|
@ -1,12 +1,23 @@
|
||||||
<div class="col sidebar text-left d-none d-lg-block pt-3 pb-5 bg-white" style="max-width:300px">
|
<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='/static/assets/images/subs/' + sub.name + '.webp?a=1010' %}
|
||||||
|
{% else %}
|
||||||
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
|
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
|
||||||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=32' %}
|
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=32' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<a role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" data-bs-url="{{image}}" onclick="expandDesktopImage('{{image}}')">
|
<a role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" data-bs-url="{{image}}" onclick="expandDesktopImage('{{image}}')">
|
||||||
<img loading="lazy" src="{{image}}" width=100%>
|
<img loading="lazy" src="{{image}}" width=100%>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
{% if sub %}
|
||||||
|
<div class="mt-4">{{sub.sidebar_html|safe}}</div>
|
||||||
|
<a class="btn btn-primary btn-block mt-4" href="/s/{{sub.name}}/mods">MODS</a>
|
||||||
|
{% if v and v.mods(sub.name) %}
|
||||||
|
<a class="btn btn-primary btn-block" href="/s/{{sub.name}}/sidebar">EDIT SIDEBAR</a>
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
<a class="btn btn-primary btn-block mt-4" href="/post/16583">EMOJI MEGATHREAD</a>
|
<a class="btn btn-primary btn-block mt-4" href="/post/16583">EMOJI MEGATHREAD</a>
|
||||||
<a class="btn btn-primary btn-block" href="/post/18459">BUGS/SUGGESTIONS MEGATHREAD</a>
|
<a class="btn btn-primary btn-block" href="/post/18459">BUGS/SUGGESTIONS MEGATHREAD</a>
|
||||||
<a class="btn btn-primary btn-block" href="/post/32341">SIDEBAR ARTWORK MEGATHREAD</a>
|
<a class="btn btn-primary btn-block" href="/post/32341">SIDEBAR ARTWORK MEGATHREAD</a>
|
||||||
|
@ -49,9 +60,9 @@
|
||||||
|
|
||||||
<h5>RULE 6 </h5>Absolutely NO anti-CCP sentiment.<br><br>
|
<h5>RULE 6 </h5>Absolutely NO anti-CCP sentiment.<br><br>
|
||||||
|
|
||||||
All rules can and likely will be ignored at the discretion of the custodial staff. Be funny, or at least compelling, and pretty much anything legal is fine.<br><br>
|
All rules can and likely will be ignored at the discretion of the custodial staff. Be funny, or at least compelling, and pretty much anything legal is fine.<br><br>
|
||||||
|
|
||||||
<font color="hotpink">πππ«π© π°π¨π³ ππ«π</font><BR><BR>
|
<font color="hotpink">πππ«π© π°π¨π³ ππ«π</font><BR><BR>
|
||||||
</div>
|
</div>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
|
@ -65,4 +76,5 @@ All rules can and likely will be ignored at the discretion of the custodial staf
|
||||||
|
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
Loadingβ¦
Reference in New Issue