forked from rDrama/rDrama
1
0
Fork 0

show hole buttons in holes in WPD

master
Aevann 2024-02-06 04:20:54 +02:00
parent 3801fd83c0
commit 64489fada9
1 changed files with 80 additions and 78 deletions

View File

@ -55,92 +55,94 @@
{% if hole and hole.sidebar_html %}
<div class="mb-4">{{hole.sidebar_html|safe}}</div>
{% else %}
<div class="hr-title">
<hr>
<h5>DEATH</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
<a href="/h/accident">Accident</a>
<a href="/h/animal">Animal</a>
<a href="/h/beating">Beating</a>
<a href="/h/beheading">Beheading</a>
<a href="/h/bladed">Bladed</a>
<a href="/h/burning">Burning</a>
<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>
<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/police">Police</a>
<a href="/h/shooting">Shooting</a>
<a href="/h/suicide">Suicide</a>
<a href="/h/vehicle">Vehicle</a>
<a href="/h/other">Other</a>
</div>
{% endif %}
<div class="hr-title mt-3">
<hr>
<h5>GORE</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
<a href="/h/aftermath">Aftermath</a>
<a href="/h/fights">Fights</a>
<a href="/h/gore">Gore</a>
<a href="/h/medical">Medical</a>
<a href="/h/request">Request</a>
<a href="/h/selfharm">Self-Harm</a>
</div>
<div class="hr-title">
<hr>
<h5>DEATH</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
<a href="/h/accident">Accident</a>
<a href="/h/animal">Animal</a>
<a href="/h/beating">Beating</a>
<a href="/h/beheading">Beheading</a>
<a href="/h/bladed">Bladed</a>
<a href="/h/burning">Burning</a>
<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>
<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/police">Police</a>
<a href="/h/shooting">Shooting</a>
<a href="/h/suicide">Suicide</a>
<a href="/h/vehicle">Vehicle</a>
<a href="/h/other">Other</a>
</div>
<div class="hr-title mt-3">
<hr>
<h5>SOCIAL</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
<a href="/h/discussion">Discussion</a>
<a href="/h/meta">Meta</a>
<a href="/h/music">Music</a>
<a href="/h/pets">Pets</a>
<a href="/h/social">Social</a>
</div>
<div class="hr-title mt-3">
<hr>
<h5>GORE</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
<a href="/h/aftermath">Aftermath</a>
<a href="/h/fights">Fights</a>
<a href="/h/gore">Gore</a>
<a href="/h/medical">Medical</a>
<a href="/h/request">Request</a>
<a href="/h/selfharm">Self-Harm</a>
</div>
<div class="hr-title mt-3">
<hr>
<h5>ACTIVE CONFLICTS</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--1 mb-3">
<a href="/h/slavshit">
<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>
<div class="hr-title mt-3">
<hr>
<h5>SOCIAL</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--3">
<a href="/h/discussion">Discussion</a>
<a href="/h/meta">Meta</a>
<a href="/h/music">Music</a>
<a href="/h/pets">Pets</a>
<a href="/h/social">Social</a>
</div>
<a href="/h/sandshit">
<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>
<div class="hr-title mt-3">
<hr>
<h5>ACTIVE CONFLICTS</h5>
<hr>
</div>
<div class="sidebar-wpd--holes sidebar-wpd--holes--1 mb-3">
<a href="/h/slavshit">
<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>
<a href="/h/sandshit">
<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>
{% if not (hole and hole.sidebar_html) %}
<div class="sidebar--rules sidebar--rules--wpd pt-2">
{% set rules = "rules_" ~ SITE_NAME ~ ".html" %}
{% include rules %}
</div>
<hr>
<div class="mt-3">
Live commit: <a href="https://fsdfsd.net/rDrama/rDrama/commit/{{git_head()[0]}}">{{git_head()[0]}}</a>
</div>
{% endif %}
<hr>
<div class="mt-3">
Live commit: <a href="https://fsdfsd.net/rDrama/rDrama/commit/{{git_head()[0]}}">{{git_head()[0]}}</a>
</div>
</div>