82 lines
2.1 KiB
Twig
Executable File
82 lines
2.1 KiB
Twig
Executable File
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{{ title|default(platformName) }}</title>
|
|
|
|
{# Bootstrap CSS #}
|
|
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
|
|
|
|
{# Bootstrap Icons #}
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
|
|
|
{# Quill Editor CSS (se habilitado) #}
|
|
|
|
{# Alpine.js #}
|
|
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
|
|
|
|
{% block head %}{% endblock %}
|
|
</head>
|
|
|
|
<body style="background:#f8f9fa;">
|
|
|
|
{% block layout_navbar %}
|
|
{# Navbar Global #}
|
|
{% if not is_maintenance_mode or (auth.user is defined and auth.user.role == 'super_admin') %}
|
|
{% include 'partials/nav-bar.twig' %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block layout_body %}
|
|
{# Conteúdo da página #}
|
|
<main class="container py-4">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
{% endblock %}
|
|
|
|
{# Footer Global #}
|
|
{% if not is_maintenance_mode or (auth.user is defined and auth.user.role == 'super_admin') %}
|
|
{% include 'partials/footer.twig' %}
|
|
{% endif %}
|
|
|
|
{# Bootstrap JS #}
|
|
<script src="/assets/js/bootstrap.bundle.js"></script>
|
|
|
|
{# Quill Editor JS (se habilitado) #}
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/public/consent/cookieconsent.min.css" />
|
|
<script src="/public/consent/cookieconsent.min.js"></script>
|
|
<script>
|
|
window.addEventListener("load", function(){
|
|
window.cookieconsent.initialise({
|
|
"palette": {
|
|
"popup": {
|
|
"background": "#216942",
|
|
"text": "#b2d192"
|
|
},
|
|
"button": {
|
|
"background": "#afed71"
|
|
}
|
|
},
|
|
"content": {
|
|
"message": "{{ __('layout.cookie_consent.message') }}",
|
|
"dismiss": "{{ __('layout.cookie_consent.dismiss') }}",
|
|
"link": "{{ __('layout.footer.terms') }}",
|
|
"href": "/user_terms.html"
|
|
}
|
|
})});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|