MarseyWorld/files/templates/settings2.html

176 lines
8.3 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
<!DOCTYPE html>
<html lang="en">
2021-12-05 03:45:05 +00:00
<head>
2022-01-28 21:06:31 +00:00
<meta name="description" content="{{config('DESCRIPTION')}}">
2021-12-10 21:12:16 +00:00
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
2022-03-31 16:28:53 +00:00
<script src="/assets/js/bootstrap.js?v=245"></script>
2021-12-05 03:45:05 +00:00
2021-10-15 14:08:27 +00:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2021-12-27 05:07:19 +00:00
2021-10-15 14:08:27 +00:00
<meta name="author" content="">
2022-04-28 00:04:01 +00:00
<meta name="thumbnail" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1015">
<link rel="icon" type="image/png" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015">
2021-10-15 14:08:27 +00:00
2022-03-06 01:53:11 +00:00
<meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}">
<meta property="og:site_name" content="{{request.host}}">
2022-04-28 00:04:01 +00:00
<meta property="og:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1015">
2022-01-28 21:42:09 +00:00
<meta property="og:url" content="{{SITE_FULL}}{{request.full_path}}">
2022-02-05 11:10:16 +00:00
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
2022-04-02 17:43:11 +00:00
<meta property="og:author" name="author" content="{{SITE_FULL}}">
2022-03-06 01:53:11 +00:00
<meta property="og:site_name" content="{{request.host}}">
2021-10-15 14:08:27 +00:00
2021-10-26 21:11:14 +00:00
<meta name="twitter:card" content="summary_large_image">
2022-04-02 17:43:11 +00:00
<meta name="twitter:site" content="{{SITE_FULL}}">
2022-03-06 01:53:11 +00:00
<meta name="twitter:title" content="{{SITE_NAME}}">
2022-04-02 17:43:11 +00:00
<meta name="twitter:creator" content="{{SITE_FULL}}">
2022-03-06 01:53:11 +00:00
<meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
2022-04-28 00:04:01 +00:00
<meta name="twitter:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1015">
2022-03-06 01:53:11 +00:00
<meta name="twitter:url" content="{{SITE_FULL}}{{request.full_path}}">
2021-10-15 14:08:27 +00:00
2022-01-13 23:39:39 +00:00
<title>{% block pagetitle %}{{SITE_NAME}}{% endblock %}</title>
2021-10-15 14:08:27 +00:00
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
2022-05-03 00:13:57 +00:00
<link rel="stylesheet" href="/assets/css/main.css?v=251">
2022-05-03 19:19:00 +00:00
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=57">
2021-10-15 14:08:27 +00:00
{% else %}
2022-01-28 21:06:31 +00:00
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
2022-05-03 00:13:57 +00:00
<link rel="stylesheet" href="/assets/css/main.css?v=251">
2022-05-03 19:19:00 +00:00
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
2021-10-15 14:08:27 +00:00
{% endif %}
</head>
2022-04-22 23:32:48 +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 %}>
2021-10-15 14:08:27 +00:00
{% include "header.html" %}
{% block subNav %}
2021-11-15 22:21:12 +00:00
{% set mod = (v and v.admin_level > 1) %}
2021-10-15 14:08:27 +00:00
<div class="container-fluid bg-white sticky d-none d-md-block" style="padding-top: 50px; padding-bottom: 0 !important;">
<div class="row box-shadow-bottom">
<div class="col">
<div class="container" style="padding-bottom: 0;">
<div class="row box-shadow-bottom bg-white">
<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.endswith('/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.endswith('/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.endswith('/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.endswith('/banned') %} active{% endif %}" href="/banned"><i class="fas fa-user-slash pr-2"></i>Permabanned Users</a>
</li>
<li class="nav-item">
<a class="nav-link{% if request.path.endswith('/blocks') %} active{% endif %}" href="/blocks"><i class="fas fa-user-slash pr-2"></i>Blocks</a>
</li>
<li class="nav-item">
2022-05-01 21:44:38 +00:00
<a class="nav-link{% if request.path.endswith('/changelog') %} active{% endif %}" href="https://rdrama.net/changelog"><i class="fas fa-clipboard pr-2"></i>Changelog</a>
2021-10-15 14:08:27 +00:00
</li>
</ul>
</div>
</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;">
<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">
2022-02-24 12:03:28 +00:00
<a style="padding: 0.75rem 1rem"class="nav-link{% if request.path.endswith('/leaderboard') %} active{% endif %}" href="/leaderboard"><i class="fas fa-trophy text-lg mr-0"></i></a>
2021-10-15 14:08:27 +00:00
</li>
<li class="nav-item">
2022-02-24 12:03:28 +00:00
<a style="padding: 0.75rem 1rem"class="nav-link{% if request.path.endswith('/admins') %} active{% endif %}" href="/admins"><i class="fas fa-crown text-lg mr-0"></i></a>
2021-10-15 14:08:27 +00:00
</li>
<li class="nav-item">
2022-02-24 12:03:28 +00:00
<a style="padding: 0.75rem 1rem"class="nav-link{% if request.path.endswith('/log') %} active{% endif %}" href="/log"><i class="fas fa-scroll-old text-lg mr-0"></i></a>
2021-10-15 14:08:27 +00:00
</li>
<li class="nav-item">
2022-02-24 12:03:28 +00:00
<a style="padding: 0.75rem 1rem"class="nav-link{% if request.path.endswith('/banned') %} active{% endif %}" href="/banned"><i class="fas fa-user-slash text-lg mr-0"></i></a>
2021-10-15 14:08:27 +00:00
</li>
<li class="nav-item">
2022-02-24 12:03:28 +00:00
<a style="padding: 0.75rem 1rem"class="nav-link{% if request.path.endswith('/blocks') %} active{% endif %}" href="/blocks"><i class="fas fa-eye-slash text-lg mr-0"></i></a>
2021-10-15 14:08:27 +00:00
</li>
<li class="nav-item">
2022-05-01 21:44:38 +00:00
<a style="padding: 0.75rem 1rem"class="nav-link{% if request.path.endswith('/changelog') %} active{% endif %}" href="https://rdrama.net/changelog"><i class="fas fa-clipboard text-lg mr-0"></i></a>
2021-10-15 14:08:27 +00:00
</li>
</ul>
</div>
</div>
</div>
</div>
{% endblock %}
<div class="{% if request.path == '/banned' or request.path == '/blocks' %}container-fluid{% else %}container{% endif %} {% if request.path in ['/leaderboard', '/paypigs', '/patrons'] %}px-0{% elif request.path == '/changelog' %}px-2{% endif %}">
{% 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">
2021-12-17 04:44:25 +00:00
<i class="fas fa-comment-alt-smile mr-2"></i><span id="toast-post-success-text">Action successful!</span>
2021-10-15 14:08:27 +00:00
</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>
2021-08-22 17:00:07 +00:00
</html>