forked from rDrama/rDrama
216 lines
8.4 KiB
HTML
216 lines
8.4 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<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="">
|
|
<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">
|
|
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:title" content="{{'SITE_NAME' | app_config}}" />
|
|
<meta property="og:site_name" content="{{request.host}}" />
|
|
<meta property="og:image" content="{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp" />
|
|
<meta property="og:url" content="{{request.path | full_link}}">
|
|
<meta property="og:description" name="description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}">
|
|
<meta property="og:author" name="author" content="{{request.host_url}}" />
|
|
<meta property="og:site_name" content="{{request.host}}" />
|
|
|
|
<meta name="twitter:card" content="summary_large_image"/>
|
|
<meta name="twitter:site" content="{{request.host_url}}">
|
|
<meta name="twitter:title" content="{{'SITE_NAME' | app_config}}" />
|
|
<meta name="twitter:creator" content="{{request.host_url}}">
|
|
<meta name="twitter:description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}" />
|
|
<meta name="twitter:image" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.webp" />
|
|
<meta name="twitter:url" content="{{request.path | full_link}}" />
|
|
|
|
|
|
|
|
<title>{% block pagetitle %}{{'SITE_NAME' | app_config}}{% endblock %}</title>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap" rel="stylesheet">
|
|
|
|
<!-- {{'SITE_NAME' | app_config}} CSS -->
|
|
|
|
{% if v %}
|
|
<link id="css-link" rel="stylesheet" href="/assets/css/{{v.theme}}_{{v.themecolor}}.css">
|
|
{% else %}
|
|
<link id="css-link" rel="stylesheet" href="/assets/css/{{'DEFAULT_THEME' | app_config}}.css">
|
|
{% endif %}
|
|
|
|
<!-- Font Awesome -->
|
|
<link href="/assets/css/fa.css" rel="stylesheet"> <!--load all styles -->
|
|
|
|
<script>
|
|
function formkey() {
|
|
return '{{v.formkey}}';
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<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 %}">
|
|
|
|
{% include "header.html" %}
|
|
|
|
<!-- sub-header container -->
|
|
|
|
{% block subHeader %}
|
|
<div class="container-fluid bg-light">
|
|
<div class="row py-3">
|
|
<div class="col">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col">
|
|
<span class="font-weight-bold">
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
<!-- tabs container -->
|
|
{% block subNav %}
|
|
|
|
{% if True %}
|
|
{% set mod = (v.admin_level==6) %}
|
|
<!-- Desktop -->
|
|
<div class="container-fluid bg-white sticky d-none d-md-block">
|
|
<div class="row box-shadow-bottom">
|
|
<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">
|
|
<a class="nav-link{% if request.path.endswith('/leaderboard') %} active{% endif %}" href="/leaderboard"><i class="fas fa-trophy"></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"></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"></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"></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"></i>Blocks</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link{% if request.path.endswith('/changelog') %} active{% endif %}" href="/changelog"><i class="fas fa-clipboard"></i>Changelog</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Mobile -->
|
|
<div class="container-fluid bg-white sticky d-block d-md-none">
|
|
<div class="row box-shadow-bottom">
|
|
<div class="col">
|
|
<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">
|
|
<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>
|
|
</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">
|
|
<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>
|
|
</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>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
<!-- Settings content -->
|
|
<div class="{% if request.path == '/banned' or request.path == '/blocks' %}container-fluid{% else %}container{% endif %} mt-3 {% if request.path in ['/leaderboard', '/paypigs', '/patrons'] %}px-0{% endif %}">
|
|
|
|
{% block content %}
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<!-- Clipboard Toast -->
|
|
|
|
<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"></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"></span>
|
|
</div>
|
|
</div>
|
|
|
|
{% block mobilenavbar %}
|
|
{% include "mobile_navigation_bar.html" %}
|
|
{% endblock %}
|
|
|
|
{% block invitationModal %}
|
|
{% endblock %}
|
|
|
|
{% block exileModal %}
|
|
{% endblock %}
|
|
|
|
{% block approveModal %}
|
|
{% endblock %}
|
|
|
|
{% block errorToasts %}
|
|
{% endblock %}
|
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="/assets/js/general39.js"></script>
|
|
|
|
{% block scripts %}
|
|
{% endblock %}
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html> |