MarseyWorld/files/templates/sidebar_WPD.html

85 lines
3.4 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-04-27 12:08:11 +00:00
{% if IS_EVENT() %}
{% 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-08-18 20:33:29 +00:00
{%- set image = SITE_FULL_IMAGES ~ '/i/' ~ SITE_NAME ~ '/sidebar.webp?x=6' -%}
{%- endif -%}
{% if request.path != '/sidebar' %}
2023-04-25 15:30:44 +00:00
<a href="{{image}}">
2023-08-18 20:33:29 +00:00
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">
</a>
{% endif %}
<p class="text-center text-md mb-4">
<a class="sidebar-link" href="/emojis/Marsey" data-bs-toggle="tooltip" data-bs-placement="top" title="Emojis"><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>
</p>
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3">
2022-06-23 10:56:37 +00:00
<a href="/h/accident">Accident</a>
<a href="/h/animal">Animal</a>
<a href="/h/beating">Beating</a>
2022-06-27 03:37:52 +00:00
<a href="/h/beheading">Beheading</a>
<a href="/h/bladed">Bladed</a>
2022-06-26 09:15:12 +00:00
<a href="/h/burning">Burning</a>
2022-06-26 10:39:53 +00:00
<a href="/h/cartel">Cartel</a>
<a href="/h/combat">Combat</a>
<a href="/h/compilation">Compilation</a>
<a href="/h/disaster">Disaster</a>
<a href="/h/drowning">Drowning</a>
<a href="/h/electricity">Electricity</a>
2022-06-27 03:37:52 +00:00
<a href="/h/execution">Execution</a>
<a href="/h/explosions">Explosions</a>
<a href="/h/falling">Falling</a>
<a href="/h/industrial">Industrial</a>
<a href="/h/isis">ISIS</a>
<a href="/h/maiming">Maiming</a>
<a href="/h/other">Other</a>
<a href="/h/police">Police</a>
<a href="/h/shooting">Shooting</a>
<a href="/h/suicide">Suicide</a>
<a href="/h/vehicle">Vehicle</a>
</div>
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3 mt-4">
<a href="/h/aftermath">Aftermath</a>
2023-06-13 21:56:12 +00:00
<a href="/h/fights">Fights</a>
2022-10-20 18:25:53 +00:00
<a href="/h/gore">Gore</a>
2023-09-15 17:09:24 +00:00
<a href="/h/medical">Medical</a>
2023-06-13 20:00:26 +00:00
<a href="/h/request">Request</a>
<a href="/h/selfharm">Self-Harm</a>
2023-06-13 23:09:03 +00:00
</div>
2023-09-05 19:26:43 +00:00
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3 mt-4 mb-3">
2022-07-21 21:27:33 +00:00
<a href="/h/discussion">Discussion</a>
<a href="/h/meta">Meta</a>
2022-08-30 20:53:44 +00:00
<a href="/h/music">Music</a>
2023-09-06 13:20:25 +00:00
<a href="/h/pets">Pets</a>
<a href="/h/social">Social</a>
2022-06-23 10:56:37 +00:00
</div>
2023-06-15 21:13:21 +00:00
<div class="sidebar--rules sidebar--rules--wpd pt-2">
2023-06-24 17:09:02 +00:00
{% set rules = "rules_" ~ SITE_NAME ~ ".html" %}
{% include rules %}
2023-06-15 21:13:21 +00:00
</div>
<hr>
<div class="mt-3">
2023-03-12 14:33:54 +00:00
Live commit: <a href="https://fsdfsd.net/rDrama/rDrama/commit/{{git_head()[0]}}">{{git_head()[0]}}</a>
2023-09-07 15:26:31 +00:00
</div>
2022-05-24 21:28:16 +00:00
</div>