forked from rDrama/rDrama
59 lines
2.7 KiB
HTML
59 lines
2.7 KiB
HTML
{% set root_scope = namespace() %}
|
|
{% block template_config %}
|
|
{% set root_scope.include_user_css = true %}
|
|
{% set root_scope.include_seo = true %}
|
|
{% set root_scope.include_cf_2fa_verify = false %}
|
|
{% endblock %}
|
|
{%- import 'util/macros.html' as macros with context -%}
|
|
{%- import 'util/html_head.html' as html_head with context -%}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en"
|
|
{%- if IS_DKD() and not (v and v.theme == 'light') -%}
|
|
style="--primary:#2AAA8A"
|
|
{%- elif not IS_FISTMAS() -%}
|
|
style="--primary:#{{v.themecolor if v else DEFAULT_COLOR}}"
|
|
{%- endif -%}
|
|
>
|
|
<head>
|
|
{% block head %}
|
|
<meta charset="utf-8">
|
|
{% block title %}<title>{% block pagetitle %}if you see this pls report it as a bug <3{% endblock %} - {{SITE_NAME}}</title>{% endblock %}
|
|
{{html_head.page_meta(self.pagetitle() or none)}}
|
|
{{html_head.javascript()}}
|
|
{{html_head.stylesheets(root_scope.include_user_css)}}
|
|
{{html_head.seo() if root_scope.include_seo}}
|
|
{{html_head.cf_2fa_verify() if root_scope.include_2fa_verify}}
|
|
{% block head_final %}{% endblock %}
|
|
{% endblock %}
|
|
</head>
|
|
<body {% block body_attributes %}id="{%block pagetype %}{% endblock %}"{% endblock %}>
|
|
<input hidden id="gnonce" value="{{g.nonce}}">
|
|
<input hidden id="gbrowser" value="{{g.browser}}">
|
|
<input hidden id="IMAGE_FORMATS" value="{{IMAGE_FORMATS}}">
|
|
<input hidden id="approved_embed_hosts" value="{{approved_embed_hosts}}">
|
|
<input hidden id="SITE_FULL_IMAGES" value="{{SITE_FULL_IMAGES}}">
|
|
<script src="{{'js/top.js' | asset}}"></script>
|
|
{% block body required %}{% endblock %}
|
|
{{html_head.stylesheets_lower()}}
|
|
<script defer src="{{'js/bottom.js' | asset}}"></script>
|
|
|
|
{% if not v or v.cursormarsey %}
|
|
<div id="cursormarsey"></div>
|
|
<div id="cursormarsey-heart" class="d-none"></div>
|
|
<script defer src="{{'js/cursormarsey.js' | asset}}"></script>
|
|
{% endif %}
|
|
<script defer src="{{'js/pwa_pulltorefresh.js' | asset}}"></script>
|
|
<div class="toast" id="toast-post-success" style="position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 100000" 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: 100000" 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>
|
|
</body>
|
|
</html>
|