forked from rDrama/rDrama
56 lines
2.6 KiB
HTML
56 lines
2.6 KiB
HTML
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
|
|
|
|
{% if sub %}
|
|
{% set image=sub.sidebar_url %}
|
|
{% else %}
|
|
{% set image='/i/' + SITE_NAME + '/sidebar.webp?v=3000' %}
|
|
{% endif %}
|
|
|
|
<a href="{{image}}">
|
|
<img class="mb-4" alt="sidebar image" role="button" onclick="expandDesktopImage()" loading="lazy" src="{{image}}" width=100%>
|
|
</a>
|
|
|
|
<p class="text-center text-md mb-4">
|
|
<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>
|
|
|
|
{% 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.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}} EXILEES</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 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="mt-4">
|
|
<h3>Rules:</h3><br>
|
|
|
|
<a href="https://rdrama.net/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>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|