2022-11-21 08:52:22 +00:00
|
|
|
{% set root_scope = namespace() %}
|
|
|
|
{% block template_config %}
|
|
|
|
{% 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 -%}
|
2022-12-30 12:14:18 +00:00
|
|
|
|
2023-10-11 14:44:28 +00:00
|
|
|
{%- if IS_HOMOWEEN() -%}
|
|
|
|
{% set primary="f66a3c" %}
|
|
|
|
{%- elif IS_FISTMAS() -%}
|
|
|
|
{% set primary="cc4145" %}
|
|
|
|
{%- elif IS_DKD() -%}
|
|
|
|
{% set primary="2aaa8a" %}
|
|
|
|
{%- elif v -%}
|
|
|
|
{% set primary=v.themecolor %}
|
|
|
|
{%- else -%}
|
|
|
|
{% set primary=DEFAULT_COLOR %}
|
|
|
|
{%- endif -%}
|
|
|
|
{% set primary_rgb = primary|rgb %}
|
|
|
|
|
2022-11-21 08:52:22 +00:00
|
|
|
<!DOCTYPE html>
|
2023-10-11 14:44:28 +00:00
|
|
|
<html lang="en" style="--primary:#{{primary}};--primary_rgb:{{primary_rgb}}">
|
2022-11-21 08:52:22 +00:00
|
|
|
<head>
|
|
|
|
{% block head %}
|
|
|
|
<meta charset="utf-8">
|
2023-09-14 22:47:17 +00:00
|
|
|
{% block title -%}
|
|
|
|
<title>{% block pagetitle %}if you see this pls report it as a bug <3{% endblock %} - {{SITE_NAME}}</title>
|
|
|
|
{%- endblock %}
|
2023-09-14 22:46:59 +00:00
|
|
|
{{html_head.seo()}}
|
2022-11-21 20:54:21 +00:00
|
|
|
{{html_head.page_meta(self.pagetitle() or none)}}
|
2023-08-11 21:50:23 +00:00
|
|
|
{{html_head.javascript()}}
|
2023-12-24 21:16:45 +00:00
|
|
|
{{html_head.stylesheets()}}
|
2022-11-21 08:52:22 +00:00
|
|
|
{{html_head.cf_2fa_verify() if root_scope.include_2fa_verify}}
|
|
|
|
{% block head_final %}{% endblock %}
|
|
|
|
{% endblock %}
|
|
|
|
</head>
|
2023-08-16 20:41:25 +00:00
|
|
|
<body {% block body_attributes %}id="{% block pagetype %}{% endblock %}"{% endblock %}>
|
2023-09-29 04:56:32 +00:00
|
|
|
{% if IS_HOMOWEEN() and ((v and v.jumpscare) or request.path.startswith('/shop/')) %}
|
2024-02-21 20:29:02 +00:00
|
|
|
{% set image_src = SITE_FULL_IMAGES ~ "/assets/events/homoween/images/jumpscares/" ~ listdir("files/assets/events/homoween/images/jumpscares")|random ~ "?x=45" %}
|
2023-10-12 18:47:03 +00:00
|
|
|
<img src="{{image_src}}" id="jumpscare-img" style="display: none">
|
2024-02-21 20:29:02 +00:00
|
|
|
{% set audio_src = "/assets/events/homoween/audio/jumpscares/" ~ listdir("files/assets/events/homoween/audio/jumpscares")|random ~ "?x=45" %}
|
2023-09-28 23:58:09 +00:00
|
|
|
<audio id="jumpscare-audio" preload="none" src="{{audio_src}}"></audio>
|
|
|
|
<script defer src="{{'events/homoween/js/jumpscare.js' | asset}}"></script>
|
|
|
|
{% endif %}
|
|
|
|
|
2023-01-02 03:49:26 +00:00
|
|
|
<input hidden id="gnonce" value="{{g.nonce}}">
|
2023-01-02 03:50:49 +00:00
|
|
|
<input hidden id="gbrowser" value="{{g.browser}}">
|
2023-03-07 04:44:11 +00:00
|
|
|
<input hidden id="IMAGE_FORMATS" value="{{IMAGE_FORMATS}}">
|
2023-04-29 20:50:47 +00:00
|
|
|
<input hidden id="approved_embed_hosts" value="{{approved_embed_hosts}}">
|
2023-07-22 16:24:16 +00:00
|
|
|
<input hidden id="SITE_FULL_IMAGES" value="{{SITE_FULL_IMAGES}}">
|
2023-09-07 15:26:31 +00:00
|
|
|
|
2023-08-12 18:28:21 +00:00
|
|
|
{% if v %}
|
|
|
|
<input hidden id="MAX_IMAGE_AUDIO_SIZE_MB" value="{{MAX_IMAGE_AUDIO_SIZE_MB}}">
|
|
|
|
<input hidden id="MAX_IMAGE_AUDIO_SIZE_MB_PATRON" value="{{MAX_IMAGE_AUDIO_SIZE_MB_PATRON}}">
|
|
|
|
<input hidden id="MAX_VIDEO_SIZE_MB" value="{{MAX_VIDEO_SIZE_MB}}">
|
2023-09-07 15:26:31 +00:00
|
|
|
<input hidden id="MAX_VIDEO_SIZE_MB_PATRON" value="{{MAX_VIDEO_SIZE_MB_PATRON}}">
|
2023-10-02 08:12:54 +00:00
|
|
|
<input hidden id="vpatron" value="{{v.patron}}">
|
2023-08-12 18:28:21 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2023-09-07 15:26:31 +00:00
|
|
|
<script src="{{'js/top.js' | asset}}"></script>
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block body required %}{% endblock %}
|
2023-02-01 15:30:42 +00:00
|
|
|
<script defer src="{{'js/bottom.js' | asset}}"></script>
|
2023-04-29 21:07:37 +00:00
|
|
|
|
2023-08-13 13:23:42 +00:00
|
|
|
{% if (v and v.cursormarsey) or (not v and CURSORMARSEY_DEFAULT) %}
|
2023-05-04 15:30:12 +00:00
|
|
|
<div id="cursormarsey"></div>
|
|
|
|
<div id="cursormarsey-heart" class="d-none"></div>
|
|
|
|
<script defer src="{{'js/cursormarsey.js' | asset}}"></script>
|
2023-04-29 21:07:37 +00:00
|
|
|
{% endif %}
|
2023-06-30 19:39:19 +00:00
|
|
|
<script defer src="{{'js/pwa_pulltorefresh.js' | asset}}"></script>
|
2023-09-28 23:58:09 +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: 10000000000" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
2023-08-11 21:50:23 +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">Action successful!</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-28 23:58:09 +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: 10000000000" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
2023-08-11 21:50:23 +00:00
|
|
|
<div class="toast-body bg-danger text-center text-white">
|
2023-11-10 14:15:37 +00:00
|
|
|
<i class="fas fa-exclamation-circle mr-2"></i><span id="toast-post-error-text">Error, please refresh the page and try again.</span>
|
2023-08-11 21:50:23 +00:00
|
|
|
</div>
|
2023-09-07 15:26:31 +00:00
|
|
|
</div>
|
2022-11-21 08:52:22 +00:00
|
|
|
</body>
|
|
|
|
</html>
|