2022-06-07 09:26:22 +00:00
{%- import 'util/helpers.html' as help -%}
2022-10-21 18:39:45 +00:00
{%- import 'html_head.html' as html_head with context -%}
2022-05-04 23:09:46 +00:00
<!DOCTYPE html>
< html lang = "en" >
2022-10-21 18:39:45 +00:00
{{html_head.html_head(true, false, true, none, none, "", "")}}
2022-05-04 23:09:46 +00:00
< body id = "settings2" { % if SITE_NAME = = ' rDrama ' and v and ( v . is_banned or v . agendaposter ) % } style = "overflow-x: hidden;background:url(/assets/images/backgrounds/anime/1.webp?v=3) center center fixed; background-color: var(--background)" { % elif v and v . background % } style = "overflow-x: hidden;background:url(/assets/images/backgrounds/{{v.background}}?v=3) center center fixed; background-color: var(--background){% if 'anime' not in v.background %};background-size: cover{% endif %}" { % endif % } >
{% include "header.html" %}
{% block subNav %}
2022-09-29 10:18:27 +00:00
{% if not request.path.startswith('/h/') %}
2022-10-23 17:57:38 +00:00
< div class = "container-fluid bg-white sticky d-mob-none" style = "padding-top: 50px; padding-bottom: 0 !important;" >
2022-09-29 10:18:27 +00:00
< div class = "row box-shadow-bottom" >
< div class = "col" >
< div class = "container" style = "padding-bottom: 0;" >
< div class = "row box-shadow-bottom bg-white pt-3" >
< div class = "col" >
< div class = "d-flex flex-row-reverse justify-content-end" >
< ul class = "nav settings-nav" style = "margin-left: -15px;" >
< li class = "nav-item" >
< a class = "nav-link{% if request.path == '/leaderboard' %} active{% endif %}" href = "/leaderboard" > < i class = "fas fa-trophy pr-2" > < / i > Leaderboard< / a >
< / li >
< li class = "nav-item" >
< a class = "nav-link{% if request.path == '/admins' %} active{% endif %}" href = "/admins" > < i class = "fas fa-crown pr-2" > < / i > Admins< / a >
< / li >
< li class = "nav-item" >
< a class = "nav-link{% if request.path == '/log' %} active{% endif %}" href = "/log" > < i class = "fas fa-scroll-old pr-2" > < / i > Moderation Log< / a >
< / li >
< li class = "nav-item" >
< a class = "nav-link{% if request.path == '/banned' %} active{% endif %}" href = "/banned" > < i class = "fas fa-user-slash pr-2" > < / i > Permabanned Users< / a >
< / li >
{% if v and v.admin_level >= PERMS['USER_BLOCKS_VISIBLE'] -%}
< li class = "nav-item" >
< a class = "nav-link{% if request.path == '/blocks' %} active{% endif %}" href = "/blocks" > < i class = "fas fa-user-slash pr-2" > < / i > Blocks< / a >
< / li >
{%- endif %}
< li class = "nav-item" >
< a class = "nav-link{% if request.path == '/h/changelog' %} active{% endif %}" href = "https://rdrama.net/h/changelog" > < i class = "fas fa-clipboard pr-2" > < / i > Changelog< / a >
< / li >
< / ul >
< / div >
2022-05-04 23:09:46 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "container-fluid bg-white sticky d-md-none" style = "padding-top: 20px; padding-bottom: 0; margin-bottom: 20px;" >
2022-09-29 10:18:27 +00:00
< div class = "row box-shadow-bottom" >
< div class = "col px-0" >
< div class = "d-flex flex-row-reverse justify-content-center" >
< ul class = "nav settings-nav" >
< li class = "nav-item" >
< a style = "padding: 0.75rem 1rem" class = "nav-link{% if request.path == '/leaderboard' %} active{% endif %}" href = "/leaderboard" > < i class = "fas fa-trophy text-lg mr-0" > < / i > < / a >
< / li >
< li class = "nav-item" >
< a style = "padding: 0.75rem 1rem" class = "nav-link{% if request.path == '/admins' %} active{% endif %}" href = "/admins" > < i class = "fas fa-crown text-lg mr-0" > < / i > < / a >
< / li >
< li class = "nav-item" >
< a style = "padding: 0.75rem 1rem" class = "nav-link{% if request.path == '/log' %} active{% endif %}" href = "/log" > < i class = "fas fa-scroll-old text-lg mr-0" > < / i > < / a >
< / li >
< li class = "nav-item" >
< a style = "padding: 0.75rem 1rem" class = "nav-link{% if request.path == '/banned' %} active{% endif %}" href = "/banned" > < i class = "fas fa-user-slash text-lg mr-0" > < / i > < / a >
< / li >
< li class = "nav-item" >
< a style = "padding: 0.75rem 1rem" class = "nav-link{% if request.path == '/blocks' %} active{% endif %}" href = "/blocks" > < i class = "fas fa-eye-slash text-lg mr-0" > < / i > < / a >
< / li >
< li class = "nav-item" >
< a style = "padding: 0.75rem 1rem" class = "nav-link{% if request.path == '/h/changelog' %} active{% endif %}" href = "https://rdrama.net/h/changelog" > < i class = "fas fa-clipboard text-lg mr-0" > < / i > < / a >
< / li >
< / ul >
< / div >
2022-05-04 23:09:46 +00:00
< / div >
< / div >
< / div >
2022-09-29 10:18:27 +00:00
{% endif %}
2022-05-04 23:09:46 +00:00
{% endblock %}
2022-07-13 21:03:11 +00:00
< div class = "{% if request.path == '/banned' or request.path == '/blocks' %}container-fluid{% else %}container{% endif %} {% if request.path in ['/leaderboard', '/paypigs', '/patrons'] %}px-0{% endif %}" >
2022-05-04 23:09:46 +00:00
{% block content %}
{% endblock %}
< / div >
< div class = "toast clipboard" id = "toast-clipboard-success" role = "alert" aria-live = "assertive" aria-atomic = "true" data-bs-animation = "true" data-bs-autohide = "true" data-bs-delay = "5000" >
< div class = "toast-body text-center" >
< i class = "fas fa-check-circle text-success mr-2" > < / i > Link copied to clipboard
< / div >
< / div >
< div class = "toast clipboard" id = "toast-clipboard-error" role = "alert" aria-live = "assertive" aria-atomic = "true" data-bs-animation = "true" data-bs-autohide = "true" data-bs-delay = "5000" >
< div class = "toast-body text-center" >
< i class = "fas fa-exclamation-circle mr-2" > < / i > Unable to copy link
< / div >
< / div >
< div class = "toast" id = "toast-post-success" style = "position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 1000" role = "alert" aria-live = "assertive" aria-atomic = "true" data-bs-animation = "true" data-bs-autohide = "true" data-bs-delay = "5000" >
< div class = "toast-body bg-success text-center text-white" >
< i class = "fas fa-comment-alt-smile mr-2" > < / i > < span id = "toast-post-success-text" > Action successful!< / span >
< / div >
< / div >
< div class = "toast" id = "toast-post-error" style = "position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 1000" role = "alert" aria-live = "assertive" aria-atomic = "true" data-bs-animation = "true" data-bs-autohide = "true" data-bs-delay = "5000" >
< div class = "toast-body bg-danger text-center text-white" >
< i class = "fas fa-exclamation-circle mr-2" > < / i > < span id = "toast-post-error-text" > Error, please try again later.< / span >
< / div >
< / div >
{% block mobilenavbar %}
{% include "mobile_navigation_bar.html" %}
{% endblock %}
{% block invitationModal %}
{% endblock %}
{% block exileModal %}
{% endblock %}
{% block approveModal %}
{% endblock %}
{% block errorToasts %}
{% endblock %}
{% block scripts %}
{% endblock %}
< / body >
2022-10-23 17:57:38 +00:00
< / html >