rDrama/files/templates/settings2.html

177 lines
8.1 KiB
HTML
Raw Normal View History

2021-07-28 00:42:08 +00:00
2021-07-28 01:11:25 +00:00
<!DOCTYPE html>
2021-07-21 01:12:26 +00:00
<html lang="en">
2021-09-28 03:44:31 +00:00
<head>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
<script>function formkey() {return '{{v.formkey}}';}</script>
2021-09-27 19:06:27 +00:00
2021-07-21 01:12:26 +00:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
2021-09-13 15:58:52 +00:00
<meta name="thumbnail" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.webp">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.webp">
2021-07-21 01:12:26 +00:00
2021-07-29 05:42:08 +00:00
<meta property="og:type" content="article" />
2021-08-19 05:14:52 +00:00
<meta property="og:title" content="{{'SITE_NAME' | app_config}}" />
2021-08-02 16:13:41 +00:00
<meta property="og:site_name" content="{{request.host}}" />
2021-09-13 15:58:52 +00:00
<meta property="og:image" content="{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp" />
2021-07-29 05:42:08 +00:00
<meta property="og:url" content="{{request.path | full_link}}">
2021-09-08 08:03:38 +00:00
<meta property="og:description" name="description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}">
2021-08-04 16:21:10 +00:00
<meta property="og:author" name="author" content="{{request.host_url}}" />
2021-08-02 16:13:41 +00:00
<meta property="og:site_name" content="{{request.host}}" />
2021-07-29 05:42:08 +00:00
<meta name="twitter:card" content="summary_large_image"/>
2021-08-04 16:21:10 +00:00
<meta name="twitter:site" content="{{request.host_url}}">
2021-08-19 05:14:52 +00:00
<meta name="twitter:title" content="{{'SITE_NAME' | app_config}}" />
2021-08-04 16:21:10 +00:00
<meta name="twitter:creator" content="{{request.host_url}}">
2021-09-08 08:03:38 +00:00
<meta name="twitter:description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}" />
2021-09-13 15:58:52 +00:00
<meta name="twitter:image" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.webp" />
2021-07-29 05:42:08 +00:00
<meta name="twitter:url" content="{{request.path | full_link}}" />
2021-08-19 05:14:52 +00:00
<title>{% block pagetitle %}{{'SITE_NAME' | app_config}}{% endblock %}</title>
2021-07-21 01:12:26 +00:00
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap" rel="stylesheet">
2021-09-28 03:44:31 +00:00
2021-07-21 01:12:26 +00:00
{% if v %}
2021-10-08 16:06:12 +00:00
<style>:root{--primary:#{{v.themecolor}}}</style>
2021-10-12 17:07:51 +00:00
<link rel="stylesheet" href="/assets/css/main.css?v=79"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=79">
2021-07-21 01:12:26 +00:00
{% else %}
2021-10-08 16:06:12 +00:00
<style>:root{--primary:#{{'DEFAULT_COLOR' | app_config}}</style>
2021-10-12 17:07:51 +00:00
<link rel="stylesheet" href="/assets/css/main.css?v=79"><link rel="stylesheet" href="/assets/css/{{'DEFAULT_THEME' | app_config}}.css?v=79">
2021-07-21 01:12:26 +00:00
{% endif %}
2021-10-09 16:00:35 +00:00
<link href="/assets/css/fa.css?v=52" rel="stylesheet">
2021-07-21 01:12:26 +00:00
</head>
2021-09-06 16:17:48 +00:00
<body id="settings2" style="overflow-x: hidden; {% if v and v.background %} background:url(/assets/images/backgrounds/{{v.background}}) no-repeat center center fixed !important; background-size: cover!important; background-color: #000!important;{% endif %}">
2021-07-21 01:12:26 +00:00
2021-09-30 18:12:35 +00:00
{% include "header.html" %}
2021-07-21 01:12:26 +00:00
2021-09-30 18:12:35 +00:00
{% block subNav %}
2021-07-21 01:12:26 +00:00
2021-09-30 18:12:35 +00:00
{% set mod = (v.admin_level==6) %}
2021-09-30 18:12:54 +00:00
<div class="container-fluid bg-white sticky d-none d-md-block" style="padding-top: 50px; padding-bottom: 0 !important;">
2021-09-30 18:12:35 +00:00
<div class="row box-shadow-bottom">
2021-07-21 01:12:26 +00:00
<div class="col">
<div class="container">
<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">
2021-10-13 20:29:44 +00:00
<a class="nav-link{% if request.path.endswith('/leaderboard') %} active{% endif %}" href="/leaderboard"><i class="fas fa-trophy pr-2"></i>Leaderboard</a>
2021-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
2021-10-13 20:29:44 +00:00
<a class="nav-link{% if request.path.endswith('/admins') %} active{% endif %}" href="/admins"><i class="fas fa-crown pr-2"></i>Admins</a>
2021-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
2021-10-13 20:29:44 +00:00
<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>
2021-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
2021-10-13 20:29:44 +00:00
<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>
2021-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
2021-10-13 20:29:44 +00:00
<a class="nav-link{% if request.path.endswith('/blocks') %} active{% endif %}" href="/blocks"><i class="fas fa-user-slash pr-2"></i>Blocks</a>
2021-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
2021-10-13 20:29:44 +00:00
<a class="nav-link{% if request.path.endswith('/changelog') %} active{% endif %}" href="/changelog"><i class="fas fa-clipboard pr-2"></i>Changelog</a>
2021-07-21 01:12:26 +00:00
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
2021-09-30 18:14:50 +00:00
<div class="container-fluid bg-white sticky d-md-none" style="padding-top: 20px; padding-bottom: 20px !important;">
2021-07-21 01:12:26 +00:00
<div class="row box-shadow-bottom">
2021-09-28 19:41:24 +00:00
<div class="col px-0">
2021-07-21 01:12:26 +00:00
<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.endswith('/leaderboard') %} active{% endif %}" href="/leaderboard"><i class="fas fa-trophy text-lg mr-0"></i></a>
</li>
<li class="nav-item">
2021-08-18 15:32:27 +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-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
<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>
</li>
<li class="nav-item">
<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>
</li>
<li class="nav-item">
2021-07-29 05:42:08 +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-07-21 01:12:26 +00:00
</li>
<li class="nav-item">
<a style="padding: 0.75rem 1rem;" class="nav-link{% if request.path.endswith('/changelog') %} active{% endif %}" href="/changelog"><i class="fas fa-clipboard text-lg mr-0"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
2021-09-30 18:12:35 +00:00
{% endblock %}
2021-07-21 01:12:26 +00:00
2021-09-30 18:12:35 +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{% elif request.path == '/changelog' %}px-2{% endif %}">
2021-07-21 01:12:26 +00:00
2021-09-30 18:12:35 +00:00
{% block content %}
{% endblock %}
2021-07-21 01:12:26 +00:00
</div>
2021-09-28 03:44:31 +00:00
2021-09-26 09:04:49 +00:00
<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">
2021-07-21 01:12:26 +00:00
<div class="toast-body text-center">
<i class="fas fa-check-circle text-success mr-2"></i>Link copied to clipboard
</div>
</div>
2021-09-26 09:04:49 +00:00
<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">
2021-07-21 01:12:26 +00:00
<div class="toast-body text-center">
<i class="fas fa-exclamation-circle mr-2"></i>Unable to copy link
</div>
</div>
2021-09-26 09:04:49 +00:00
<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">
2021-07-21 01:12:26 +00:00
<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"></span>
</div>
</div>
2021-09-26 09:04:49 +00:00
<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">
2021-07-21 01:12:26 +00:00
<div class="toast-body bg-danger text-center text-white">
2021-10-12 13:42:10 +00:00
<i class="fas fa-exclamation-circle mr-2"></i><span id="toast-post-error-text">Error, please try again later.</span>
2021-07-21 01:12:26 +00:00
</div>
</div>
{% block mobilenavbar %}
2021-09-25 21:13:52 +00:00
{% include "mobile_navigation_bar.html" %}
2021-07-21 01:12:26 +00:00
{% endblock %}
{% block invitationModal %}
{% endblock %}
{% block exileModal %}
{% endblock %}
{% block approveModal %}
{% endblock %}
{% block errorToasts %}
{% endblock %}
2021-09-26 09:02:50 +00:00
2021-09-26 09:48:07 +00:00
2021-09-25 21:13:52 +00:00
{% block scripts %}
{% endblock %}
2021-07-21 01:12:26 +00:00
</body>
2021-08-22 17:00:07 +00:00
</html>