MarseyWorld/files/templates/sidebar_WPD.html

136 lines
6.0 KiB
HTML
Raw Normal View History

<div class="col sidebar text-left {% if not request.path.startswith('/sidebar') %}d-none d-lg-block{% endif %} pt-2" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
2022-05-23 20:09:40 +00:00
2023-01-01 14:52:16 +00:00
<a href="/users">
2023-02-25 18:12:58 +00:00
<h5 class="text-center mt-0 mt-md-2 mb-4">
2022-12-30 13:57:00 +00:00
Current registered users: {{current_registered_users()}}
</h5>
2023-01-01 14:52:16 +00:00
</a>
2022-12-30 13:54:49 +00:00
2023-12-21 14:22:33 +00:00
{% if IS_FISTMAS() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
{% elif IS_EVENT() %}
2023-04-27 12:08:11 +00:00
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
2023-04-25 15:30:44 +00:00
{%- elif v -%}
{%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%}
{%- else -%}
2023-12-22 20:14:21 +00:00
{%- set image = SITE_FULL_IMAGES ~ '/i/' ~ SITE_NAME ~ '/sidebar.webp?x=7' -%}
{%- endif -%}
{% if request.path != '/sidebar' %}
2023-12-18 15:19:28 +00:00
{% if IS_HOMOWEEN() %}
{% include "events/homoween/eye_tracking.html" %}
2023-09-28 23:58:09 +00:00
{% else %}
<a href="{{image}}">
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">
</a>
{% endif %}
{% endif %}
<p class="text-center text-md mb-4">
<a class="sidebar-link d-md-none" href="/random_user" data-bs-toggle="tooltip" data-bs-placement="top" title="Random User with a Profile Anthem"><i class="fas fa-music"></i></a>
<a class="sidebar-link" href="/ping_groups" data-bs-toggle="tooltip" data-bs-placement="top" title="Ping Groups"><i class="fas fa-bell"></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>
</p>
{% if IS_HOMOWEEN() %}
<div class="progress">
<div style="--width:{{bar_position()[0]}}%" class="bar-left"></div>
<div style="--width:{{bar_position()[1]}}%" class="bar-right"></div>
<div class="legend">
<span title="{{bar_position()[2]}}">{{bar_position()[0]}}% Vaxxed</span>
<span title="{{bar_position()[3]}}">{{bar_position()[1]}}% Infected</span>
</div>
2023-09-28 23:58:09 +00:00
</div>
{% endif %}
2023-09-28 23:58:09 +00:00
2024-02-03 03:46:48 +00:00
<a class="btn btn-primary btn-block mb-3" href="/post/122529/new-user-welcome-message-supplement-for">SITE GUIDE</a>
2024-02-03 03:48:56 +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>
2024-02-03 03:46:48 +00:00
2024-02-06 02:31:14 +00:00
{% if hole %}
{% if v and v.mods_hole(hole.name) %}
<a class="btn btn-primary btn-block mb-3 text-uppercase" style="font-size: 0.87rem" href="/h/{{hole}}/settings">/h/{{hole}} SETTINGS</a>
<a class="btn btn-primary btn-block mb-3 text-uppercase" style="font-size: 0.87rem" href="/h/{{hole}}/log">/h/{{hole}} LOG</a>
<a class="btn btn-primary btn-block mb-3 text-uppercase" style="font-size: 0.87rem" href="/h/{{hole}}/followers">/h/{{hole}} FOLLOWERS</a>
<a class="btn btn-primary btn-block mb-3 text-uppercase" style="font-size: 0.87rem" href="/h/{{hole}}/blockers">/h/{{hole}} BLOCKERS</a>
{% endif %}
2024-02-06 02:24:08 +00:00
2024-02-06 02:31:14 +00:00
{% if hole.sidebar_html %}
<div class="mt-5 mb-4">{{hole.sidebar_html|safe}}</div>
{% endif %}
2024-02-06 02:20:54 +00:00
{% endif %}
2024-02-06 02:20:54 +00:00
<div class="hr-title">
<hr>
<h5>DEATH</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
2024-02-06 02:33:45 +00:00
{% set holes = ['Accident','Animal','Beating','Beheading','Bladed','Burning','Cartel','Combat','Compilation','Disaster','Drowning','Electricity','Execution','Explosions','Falling','Industrial','ISIS','Maiming','Police','Shooting','Suicide','Vehicle','Other'] %}
{% for name in holes %}
<a href="/h/{{name.lower()}}" {% if hole and hole.name == name.lower() %}class="active-hole"{% endif %}>{{name}}</a>
{% endfor %}
2024-02-06 02:20:54 +00:00
</div>
2024-02-06 02:20:54 +00:00
<div class="hr-title mt-3">
<hr>
<h5>GORE</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
2024-02-06 02:33:45 +00:00
{% set holes = ['Aftermath','Fights','Gore','Medical','Request','Self-Harm'] %}
{% for name in holes %}
<a href="/h/{{name.lower()}}" {% if hole and hole.name == name.lower() %}class="active-hole"{% endif %}>{{name}}</a>
{% endfor %}
2024-02-06 02:20:54 +00:00
</div>
2022-06-23 10:56:37 +00:00
2024-02-06 02:20:54 +00:00
<div class="hr-title mt-3">
<hr>
<h5>SOCIAL</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
2024-02-06 02:33:45 +00:00
{% set holes = ['Discussion','Meta','Music','Pets','Social'] %}
{% for name in holes %}
<a href="/h/{{name.lower()}}" {% if hole and hole.name == name.lower() %}class="active-hole"{% endif %}>{{name}}</a>
{% endfor %}
2024-02-06 02:20:54 +00:00
</div>
2024-02-06 02:20:54 +00:00
<div class="hr-title mt-3">
<hr>
<h5>ACTIVE CONFLICTS</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--1 mb-3">
2024-02-06 02:33:45 +00:00
<a href="/h/slavshit" {% if hole and hole.name == 'slavshit' %}class="active-hole"{% endif %}>
2024-02-06 02:20:54 +00:00
<img loading="lazy" class="emoji" src="{{SITE_FULL_IMAGES}}/e/marseyflagukraine.webp">
Slavshit
<img loading="lazy" class="emoji mirrored" src="{{SITE_FULL_IMAGES}}/e/marseyflagrussia.webp">
</a>
2024-02-06 02:33:45 +00:00
<a href="/h/sandshit" {% if hole and hole.name == 'slavshit' %}class="active-hole"{% endif %}>
2024-02-06 02:20:54 +00:00
<img loading="lazy" class="emoji" src="{{SITE_FULL_IMAGES}}/e/marseyflagpalestine.webp">
Sandshit
<img loading="lazy" class="emoji mirrored" src="{{SITE_FULL_IMAGES}}/e/marseyisrael.webp">
</a>
</div>
2023-12-24 23:05:02 +00:00
2024-02-06 02:20:54 +00:00
{% if not (hole and hole.sidebar_html) %}
2023-12-24 23:05:02 +00:00
<div class="sidebar--rules sidebar--rules--wpd pt-2">
{% set rules = "rules_" ~ SITE_NAME ~ ".html" %}
{% include rules %}
</div>
{% endif %}
2024-02-06 02:20:54 +00:00
<hr>
<div class="mt-3">
Live commit: <a href="https://fsdfsd.net/rDrama/rDrama/commit/{{git_head()[0]}}">{{git_head()[0]}}</a>
</div>
2022-05-24 21:28:16 +00:00
</div>