Adapt base template to changes
parent
0631923b66
commit
279d5c5d8f
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html prefix="og: http://ogp.me/ns#" lang="{{ html_lang }}" dir="ltr">
|
||||
<html prefix="og: http://ogp.me/ns#" lang="{{ html_lang }}" dir="ltr" {% if theme.assetprotection == 1 %}data-copyright-msg="{{ theme.copyrightmessage }}"{% endif %}>
|
||||
<head>
|
||||
{% block head %}
|
||||
<title>{% if header.title %}{{ header.title|e }} | {% endif %}{{ site.title|e }}</title>
|
||||
|
@ -20,25 +20,26 @@
|
|||
|
||||
{% block stylesheets %}
|
||||
{% do assets.addCss('theme://css/reset.css', 90) %}
|
||||
|
||||
{% do assets.addCss('theme://fonts/opensans.css', 80) %}
|
||||
{% do assets.addCss('theme://fonts/unicaone.css', 80) %}
|
||||
{% do assets.addCss('theme://fonts/marcellussc.css', 80) %}
|
||||
{% do assets.addCss('theme://css/print.css', {'priority': 70, 'group': 'print'}) %}
|
||||
{% do assets.addCss('theme://css/style.css', 60) %}
|
||||
{% do assets.addCss('theme://css/template.css', 55) %}
|
||||
{% do assets.addCss('theme://css/common.css', 50) %}
|
||||
{% do assets.addCss('theme://pluginAppObj/imFooter_pluginAppObj_03/custom.css', 40) %}
|
||||
{% do assets.addCss('theme://pluginAppObj/imFooter_pluginAppObj_05/custom.css', 40) %}
|
||||
|
||||
{% do assets.addCss('theme://css/page.css', 75) %}
|
||||
{% do assets.addCss('theme://css/navbar.css', 50) %}
|
||||
{% do assets.addCss('theme://css/footer.css', 50) %}
|
||||
{% do assets.addCss('theme://css/animated-image.css', 50) %}
|
||||
{% if theme.cookiebanner.enabled == 1 %} {% do assets.addCss('theme://css/cookiebanner.css', 50) %} {% endif %}
|
||||
|
||||
{% do assets.addCss('theme://css/print.css', {'priority': 10, 'group': 'print'}) %}
|
||||
{% endblock %}
|
||||
{% block custom_stylesheets %}{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{% do assets.addJs('theme://js/jquery.js', 100) %}
|
||||
{% do assets.addJs('theme://js/x5engine.js', 100) %}
|
||||
{% do assets.addJs('theme://pluginAppObj/imFooter_pluginAppObj_03/main.js', 100) %}
|
||||
{% do assets.addJs('theme://pluginAppObj/imFooter_pluginAppObj_05/main.js', 100) %}
|
||||
{% do assets.addJs('theme://js/jquery-3.7.1.min.js', 100) %}
|
||||
{% do assets.addJs('theme://js/base.js', 100) %}
|
||||
{% if theme.cookiebanner.enabled == 1 %} {% do assets.addJs('theme://js/cookiebanner.js', 90) %} {% endif %}
|
||||
{% if theme.assetprotection == 1 %} {% do assets.addJs('theme://js/asset-protection.js', 90) %} {% endif %}
|
||||
{% endblock %}
|
||||
{% block custom_scripts %}{% endblock %}
|
||||
|
||||
|
@ -47,26 +48,24 @@
|
|||
{{ assets.css('print', {'media': 'print'})|raw }}
|
||||
{{ assets.js()|raw }}
|
||||
{% endblock %}
|
||||
|
||||
<script>
|
||||
window.onload = function(){ checkBrowserCompatibility('Der von Ihnen verwendete Browser unterstützt nicht die die Funktionen, die für die Anzeige dieser Website benötigt werden.','Der von Ihnen verwendete Browser unterstützt möglicherweise nicht die die Funktionen, die für die Anzeige dieser Website benötigt werden.','[1]Browser aktualisieren[/1] oder [2]Vorgang fortsetzen[/2].','http://outdatedbrowser.com/'); };
|
||||
x5engine.utils.currentPagePath = 'index.html';
|
||||
x5engine.boot.push(function () { x5engine.utils.imCodeProtection('4Creative'); });
|
||||
x5engine.boot.push(function () { x5engine.parallax.start(); });
|
||||
x5engine.boot.push(function () { x5engine.imPageToTop.initializeButton({}); });
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
{% if theme.cookiebanner.enabled == 1 and get_cookie('cookieBannerDismiss') != 'true' %}
|
||||
<div id="cookie-law-message" class="alertbox hidden" data-position="top" data-priority="1" style="position: fixed; top: 0px; left: 0px; right: 0px; border-top-width: 0px; z-index: 10801;">
|
||||
<div class="message-container">
|
||||
<div class="wrapper-content">Diese Seite benutzt Cookies. Dazu und über den Datenschutz im Weltenverbund lesen Sie bitte die <a href="{{ theme.cookiebanner.gdprUrl }}" target="_blank" class="imCssLink">Datenschutzhinweise</a>.<div class="imClose close"><div class="imCloseInn">Einverstanden</div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="imPageExtContainer">
|
||||
<div id="imPageIntContainer">
|
||||
<div id="imHeaderBg"></div>
|
||||
{% if theme.header.background.count() > 0 %}<div id="imHeaderBg" style="background-image: url('{{ theme.header.background }}')"></div>{% endif %}
|
||||
<div id="imFooterBg"></div>
|
||||
<div id="imPage">
|
||||
{% block header %}
|
||||
{% include 'partials/header.html.twig' %}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
<div id="imContentGraphics"></div>
|
||||
<main id="imContent">
|
||||
<a id="imGoToCont"></a>
|
||||
{% block content %}{% endblock %}
|
||||
|
@ -76,28 +75,29 @@
|
|||
<footer id="imFooter">
|
||||
<div id="imFooterObjects">
|
||||
<div class="template-object-wrapper animated-image">
|
||||
<img loading="lazy" alt="4Creative Discord Button" style="position: relative; left: 0px; top: 0px; user-select: none" unselectable="on" src="{{ media['image://4Creative-Discord-Button.png'].url|e }}">
|
||||
<a href="https://discord.com/invite/ZfPtWAr" data-description="Link zu unserem Discord Kanal (Einladung)">Unser Discord Kanal</a>
|
||||
<img class="over-720" loading="lazy" alt="4Creative Discord Button" style="position: relative; left: 0px; top: 0px; user-select: none" draggable="false" unselectable="on" src="/{{ theme.footer.dcbutton|first.path|e }}">
|
||||
<img class="under-720" loading="lazy" alt="4Creative Discord Button" style="position: relative; left: 0px; top: 0px; user-select: none" draggable="false" unselectable="on" src="/{{ theme.footer.dcbuttonsmall|first.path|e }}">
|
||||
<a href="{{ theme.dcurl }}" data-description="Link zu unserem Discord Kanal (Einladung)">Unser Discord Kanal</a>
|
||||
</div>
|
||||
<div id="imFooter_imTextObject_02_wrapper" class="template-object-wrapper">
|
||||
<div id="imFooter_imTextObject_02">
|
||||
<div data-index="0" class="text-tab-content grid-prop current-tab" id="imFooter_imTextObject_02_tab0" style="opacity: 1">
|
||||
<div class="text-inner">
|
||||
<div data-line-height="1.15" class="lh1-15 imTARight"><span class="fs14lh1-15 cf1">(c) 2020-{{ "now"|date('Y') }} </span><span class="fs14lh1-15 cf1">by </span><span class="fs14lh1-15 cf1"><b>4Creative</b></span></div>
|
||||
<div class="imTARight">(c) 2020-{{ "now"|date('Y') }} by <b>4Creative</b></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="imFooter_imObjectImage_04_wrapper" class="template-object-wrapper">
|
||||
<div id="imFooter_imObjectImage_04">
|
||||
<img loading="lazy" alt="4Creative Logo" style="width: 60px; height: 60px; position: relative; left: 0px; top: 0px; user-select: none;" width="60" height="60" unselectable="on" src="{{ media['image://4Creative-logo-small.png'].url|e }}">
|
||||
<img loading="lazy" alt="4Creative Logo" style="position: relative; left: 0px; top: 0px; user-select: none;" draggable="false" unselectable="on" src="/{{ theme.footer.logo|first.path|e }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{% endblock %}
|
||||
</div>
|
||||
<span class="imHidden"><a href="#imGoToCont" title="Lesen Sie den Inhalt der Seite noch einmal durch">Zurück zum Seiteninhalt</a></span>
|
||||
<span id="to-top" class="imHidden"><a href="#imGoToCont" title="Lesen Sie den Inhalt der Seite noch einmal durch">Zurück zum Seiteninhalt</a></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -108,5 +108,6 @@
|
|||
{% block bottom %}
|
||||
{{ assets.js('bottom')|raw }}
|
||||
{% endblock %}
|
||||
<div id="to-top" class="page-to-top-visible" style="display: block;"><a id="to-top-link" href="#imGoToCont"><img src="{{ media['theme://images/page-to-top.png'].url|e }}" alt="scroll to top" id="to-top-img"></a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue