2022-10-29 00:38:39 +00:00
|
|
|
|
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 mb-5" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
|
2022-04-02 16:54:27 +00:00
|
|
|
|
|
|
|
|
|
{% if sub %}
|
|
|
|
|
{% set image=sub.sidebar_url %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
|
2022-09-12 09:28:12 +00:00
|
|
|
|
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=45' %}
|
2022-04-02 16:54:27 +00:00
|
|
|
|
{% endif %}
|
|
|
|
|
|
2022-08-04 20:41:14 +00:00
|
|
|
|
{% if request.path != '/sidebar' %}
|
|
|
|
|
{% if v and (v.is_banned or v.agendaposter) %}
|
|
|
|
|
<a href="/i/{{SITE_NAME}}/sidebar2.webp">
|
2022-08-24 16:43:08 +00:00
|
|
|
|
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="/i/{{SITE_NAME}}/sidebar2.webp" width=100%>
|
2022-08-04 20:41:14 +00:00
|
|
|
|
</a>
|
2022-09-16 13:01:25 +00:00
|
|
|
|
{% elif not (sub and sub.name == 'chudrama' and v.truecoins < 5000) %}
|
2022-10-14 19:34:20 +00:00
|
|
|
|
<a href="{{image}}">
|
|
|
|
|
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="{{image}}" width=100%>
|
2022-08-04 20:41:14 +00:00
|
|
|
|
</a>
|
|
|
|
|
{% endif %}
|
2022-04-14 17:40:13 +00:00
|
|
|
|
{% endif %}
|
|
|
|
|
|
2022-07-12 19:18:40 +00:00
|
|
|
|
<p class="text-center text-md mb-4">
|
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +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>
|
2022-07-12 19:18:40 +00:00
|
|
|
|
<a class="sidebar-link" href="/admins" data-bs-toggle="tooltip" data-bs-placement="top" title="Admins"><i class="fas fa-crown"></i></a>
|
2022-05-30 08:29:41 +00:00
|
|
|
|
<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>
|
2022-06-03 10:29:10 +00:00
|
|
|
|
<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>
|
2022-08-13 07:42:19 +00:00
|
|
|
|
<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>
|
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
|
|
|
|
</p>
|
|
|
|
|
|
2022-04-02 16:54:27 +00:00
|
|
|
|
{% if sub %}
|
|
|
|
|
{% if sub.sidebar_html %}
|
|
|
|
|
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if v %}
|
2022-06-23 09:02:49 +00:00
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE {{HOLE_NAME|upper}}S</a>
|
2022-06-21 05:20:21 +00:00
|
|
|
|
{% if v.can_create_hole -%}
|
2022-06-23 09:02:49 +00:00
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE {{HOLE_NAME|upper}}</a>
|
2022-06-21 05:20:21 +00:00
|
|
|
|
{%- endif %}
|
2022-09-29 09:39:37 +00:00
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub}}/log">{{HOLE_NAME|upper}} LOG</a>
|
2022-04-02 16:54:27 +00:00
|
|
|
|
{% if v.mods(sub.name) %}
|
2022-09-12 05:25:04 +00:00
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub}}/settings">{{HOLE_NAME|upper}} SETTINGS</a>
|
2022-04-02 16:54:27 +00:00
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
2022-09-12 05:25:04 +00:00
|
|
|
|
<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>
|
2022-04-02 16:54:27 +00:00
|
|
|
|
{% else %}
|
2022-06-15 07:27:04 +00:00
|
|
|
|
<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>
|
2022-06-23 09:02:49 +00:00
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE {{HOLE_NAME|upper}}S</a>
|
2022-06-21 05:20:21 +00:00
|
|
|
|
{% if v and v.can_create_hole -%}
|
2022-06-23 09:02:49 +00:00
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE {{HOLE_NAME|upper}}</a>
|
2022-06-21 05:20:21 +00:00
|
|
|
|
{%- endif %}
|
2022-04-02 16:54:27 +00:00
|
|
|
|
|
2022-10-29 23:08:35 +00:00
|
|
|
|
<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>
|
2022-10-31 20:35:23 +00:00
|
|
|
|
<li class="font-weight-bold">Absolutely NO homophobia.</li>
|
|
|
|
|
<li class="font-weight-bold">Absolutely NO misgendering.</li>
|
|
|
|
|
<li class="font-weight-bold">Absolutely NO antisemitism.</li>
|
|
|
|
|
<li class="font-weight-bold">Absolutely NO vaccine misinformation.</li>
|
2022-10-29 23:08:35 +00:00
|
|
|
|
</ol>
|
2022-04-02 16:54:27 +00:00
|
|
|
|
|
2022-10-29 23:08:35 +00:00
|
|
|
|
<p style="color: hotpink">𝐜𝐚𝐫𝐩 𝐰𝐨𝐳 𝐞𝐫𝐞</p>
|
2022-04-02 16:54:27 +00:00
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
2022-05-24 21:27:12 +00:00
|
|
|
|
</div>
|