2022-06-15 16:31:46 +00:00
|
|
|
<div class="col sidebar text-left {% if request.path != '/sidebar' %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" style="max-width:300px">
|
2022-05-23 20:09:40 +00:00
|
|
|
|
|
|
|
{% if sub %}
|
|
|
|
{% set image=sub.sidebar_url %}
|
|
|
|
{% else %}
|
2022-05-23 20:30:52 +00:00
|
|
|
{% set image='/assets/images/' + SITE_NAME + '/sidebar.webp?v=2' %}
|
2022-05-23 20:09:40 +00:00
|
|
|
{% 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%>
|
|
|
|
|
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 class="text-center text-md mb-4">
|
|
|
|
<a class="sidebar-link" href="/random_user/" data-bs-toggle="tooltip" data-bs-placement="top" title="Random User"><i class="fas fa-music"></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>
|
|
|
|
|
2022-05-23 20:09:40 +00:00
|
|
|
{% if sub %}
|
|
|
|
{% if sub.sidebar_html %}
|
|
|
|
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if v %}
|
2022-06-21 05:20:21 +00:00
|
|
|
{% if v.can_create_hole -%}
|
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE HOLE</a>
|
|
|
|
{%- endif %}
|
2022-05-23 20:09:40 +00:00
|
|
|
{% 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}}/exilees">HOLE EXILEES</a>
|
2022-06-09 20:24:24 +00:00
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/followers">HOLE FOLLOWERS</a>
|
2022-05-23 20:09:40 +00:00
|
|
|
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/blockers">HOLE BLOCKERS</a>
|
|
|
|
{% else %}
|
|
|
|
<div class="mt-4">
|
|
|
|
<h3>Rules:</h3><br>
|
|
|
|
|
|
|
|
- Don't post anything illegal.<br><br>
|
|
|
|
|
|
|
|
- No sexualizing minors even as a “joke”.<br><br>
|
|
|
|
|
|
|
|
- No doxing.<br><br>
|
|
|
|
|
|
|
|
- Don't be too edgy.<br><br>
|
|
|
|
|
|
|
|
- No agendaposting.<br><br>
|
|
|
|
|
|
|
|
- Post videos of humans dying only.<br><br>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
2022-05-24 21:28:16 +00:00
|
|
|
</div>
|