2023-06-27 21:25:35 +00:00
< 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-04-02 16:54:27 +00:00
2023-02-24 22:01:55 +00:00
< a href = "/users" >
2023-02-25 18:12:58 +00:00
< h5 class = "text-center mt-0 mt-md-2 mb-4" >
2023-02-24 22:01:55 +00:00
Current registered users: {{current_registered_users()}}
< / h5 >
< / a >
2023-02-24 21:55:47 +00:00
2023-11-04 22:03:26 +00:00
{% if hole and hole.sidebarurls %}
{% set image = hole.random_sidebar %}
2023-12-18 15:19:28 +00:00
{% elif IS_FISTMAS() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
2023-04-27 12:08:11 +00:00
{% elif IS_EVENT() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
2023-01-01 12:39:25 +00:00
{% else %}
2023-06-29 20:14:24 +00:00
{% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %}
2023-01-01 12:39:25 +00:00
{% endif %}
2022-08-04 20:41:14 +00:00
{% if request.path != '/sidebar' %}
2023-12-18 15:19:28 +00:00
{% if IS_HOMOWEEN() and not (hole and hole.sidebarurls) %}
{% include "events/homoween/eye_tracking.html" %}
2024-02-13 10:22:18 +00:00
{% elif v and (v.is_banned or v.chud) %}
2023-03-19 16:28:19 +00:00
< a href = "{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp" >
2023-05-02 16:46:42 +00:00
< img class = "mb-4 sidebar-img" alt = "sidebar image" data-nonce = "{{g.nonce}}" data-onclick = "expandImage()" loading = "lazy" src = "{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp" >
2022-08-04 20:41:14 +00:00
< / a >
2023-10-07 17:55:50 +00:00
{% elif not (hole and hole.name == 'chudrama' and v and not v.can_see_chudrama) %}
2022-12-04 01:39:09 +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}}" >
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" >
2024-01-10 20:43:39 +00:00
< 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 >
2024-02-03 03:45:42 +00:00
< 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 >
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 = "/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 >
2023-09-29 08:06:20 +00:00
{% 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 >
2023-09-29 08:06:20 +00:00
{% endif %}
2023-09-28 23:58:09 +00:00
2023-10-07 17:55:50 +00:00
{% if hole and hole.sidebar_html %}
< div class = "mb-4" > {{hole.sidebar_html|safe}}< / div >
2023-02-24 20:12:44 +00:00
{% endif %}
2023-03-03 04:05:43 +00:00
2024-02-07 04:13:08 +00:00
< a class = "btn btn-primary btn-block mb-3" href = "/?effortposts_only=True" > BROWSE EFFORTPOSTS< / a >
2023-03-03 04:05:43 +00:00
< a class = "btn btn-primary btn-block mb-3" href = "/post/151246/rdrama-featureset" > SITE GUIDE< / a >
2023-02-24 20:12:44 +00:00
< a id = "sidebar--directory--btn" class = "btn btn-primary btn-block mb-3" href = "/directory" >
< span id = "sidebar--directory--head" > DIRECTORY< / span >
2024-02-12 14:59:44 +00:00
< span id = "sidebar--directory--subhead" > Emojis & Art | Info Megathreads< / span >
2023-02-24 20:12:44 +00:00
< / a >
2023-10-07 18:04:12 +00:00
< a class = "btn btn-primary btn-block mb-3" href = "/holes" > BROWSE HOLES< / a >
< a class = "btn btn-primary btn-block mb-3" href = "/create_hole" > CREATE HOLE< / a >
2023-02-24 20:12:44 +00:00
2023-10-07 17:55:50 +00:00
{% if hole %}
2023-02-24 20:12:44 +00:00
< br >
2024-01-12 07:18:04 +00:00
{% if v and v.mods_hole(hole.name) %}
2023-10-07 17:55:50 +00:00
< a class = "btn btn-primary btn-block mb-3 text-uppercase" style = "font-size: 0.87rem" href = "/h/{{hole}}/settings" > /h/{{hole}} SETTINGS< / a >
2022-04-02 16:54:27 +00:00
{% endif %}
2023-10-07 17:55:50 +00:00
< 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}}/mods" > /h/{{hole}} MODS< / a >
< a class = "btn btn-primary btn-block mb-3 text-uppercase" style = "font-size: 0.87rem" href = "/h/{{hole}}/exilees" > /h/{{hole}} EXILEES< / 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 >
2023-02-24 20:12:44 +00:00
{% else %}
2022-12-26 22:21:01 +00:00
< div class = "sidebar--rules sidebar--rules--rdrama pt-2" >
2022-12-07 08:59:40 +00:00
{% set rules = "rules_" ~ SITE_NAME ~ ".html" %}
2022-12-05 05:22:08 +00:00
{% include rules %}
2022-04-02 16:54:27 +00:00
< / div >
{% endif %}
2023-05-05 21:45:25 +00:00
2023-02-24 20:12:44 +00:00
< 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-02-24 20:12:44 +00:00
< / div >
2022-05-24 21:27:12 +00:00
< / div >