2022-11-30 21:10:20 +00:00
< 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 sidebar_path = "assets/images/event/sidebar" %}
2022-12-07 08:59:40 +00:00
{% set selected_image = listdir('files/' ~ sidebar_path)|random() %}
{% set image = "/" ~ sidebar_path ~ "/" ~ selected_image ~ '?v=45' %}
2022-11-30 21:10:20 +00:00
{% endif %}
{% if request.path != '/sidebar' %}
< a href = "{{image}}" style = "text-decoration:none" >
< img class = "mb-4" alt = "sidebar image" onclick = "expandDesktopImage()" loading = "lazy" src = "{{image}}" width = 100% >
< / a >
{% endif %}
< p class = "text-center text-md mb-4" >
2022-12-08 12:15:21 +00:00
< a class = "sidebar-link d-md-none" href = "/random_user" data-bs-toggle = "tooltip" data-bs-placement = "top" title = "Random User" > < i class = "fas fa-music" > < / i > < / a >
2022-11-30 21:10:20 +00:00
< 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 >
< span class = "sidebar-link" onclick = "if(localStorage.getItem('setting_upsidedown')=='true'){localStorage.setItem('setting_upsidedown', 'false')}else{localStorage.setItem('setting_upsidedown', 'true')};location.reload()" style = "display:inline" data-bs-toggle = "tooltip" data-bs-placement = "top" title = "???" > < i class = "fas fa-trees" > < / i > < / span >
< / 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 %}
< a class = "btn btn-primary btn-block mb-3" href = "/h/{{sub}}/log" > {{HOLE_NAME|upper}} LOG< / a >
{% 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 = "sidebar--rules" >
< h3 class = "sidebar--rules-head mt-4 mb-3" > Rules< / h3 >
< ol class = "sidebar--rules-list sidebar--rules-list--rdrama" >
< li class = "font-weight-bold" style = "color: red" > < a href = "/post/19711/a-short-guide-on-how-to" style = "color: inherit" > NO RIGHTWING AGENDAPOSTING.< / a > < / li >
< li > Don't post anything illegal.< / li >
< li > No sexualizing minors even as a “joke”.< / li >
< li > No doxing.< / li >
< li > Using alts to game dramacoin will get you banned.< / li >
< li > Supporting free speech is an immediate ban.< / li >
< li class = "font-weight-bold" > Absolutely NO anti-CCP sentiment.< / li >
< / ol >
< p > 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.< / p >
< p style = "color: hotpink" > 𝐜 𝐚 𝐫 𝐩 𝐰 𝐨 𝐳 𝐞 𝐫 𝐞 < / p >
< / div >
{% endif %}
< pre >
< / pre >
< / div >