<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %} | Mail Boxes ETC.!</title>
<link rel="apple-touch-icon" sizes="57x57" href="/images/FAVICONS/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/images/FAVICONS/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/FAVICONS/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/images/FAVICONS/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/FAVICONS/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/images/FAVICONS/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/FAVICONS/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/images/FAVICONS/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/FAVICONS/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/FAVICONS/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/FAVICONS/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/images/FAVICONS/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/FAVICONS/favicon-16x16.png">
<link rel="manifest" href="/images/FAVICONS/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/images/FAVICONS/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
<link rel="stylesheet" href="{{ asset('css/foundation/foundation.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/main.css') }}">
<link rel="stylesheet" href="{{ asset('css/responsive.css') }}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
{% endblock %}
</head>
<body>
{% include 'header.html.twig' %}
<div id="body_content" {% if isFirstConnexion is defined and isFirstConnexion %}class="overlay_show"{% endif %}>
{% include '_notyf.html.twig' %}
{% block body %}{% endblock %}
{% include 'footer.html.twig' %}
</div>
<script src="{{ asset('js/what-input.js') }}"></script>
<script src="{{ asset('js/foundation.js') }}"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
<script src="{{ asset('js/main.js') }}"></script>
<script>
$(document).foundation();
</script>
<script src="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.js"></script>
<script src="{{ asset('js/notyf.js') }}"></script>
<script src="{{ asset('ckeditor/ckeditor.js') }}"></script>
<script>
$(document).ready(function () {
// Détruire toutes les instances existantes pour éviter les conflits
for (var instance in CKEDITOR.instances) {
CKEDITOR.instances[instance].destroy(true);
}
// Initialiser CKEditor sur tous les textareas avec la classe 'ckeditor'
$('textarea.ckeditor').each(function () {
var editorId = $(this).attr('id');
// Initialiser CKEditor sans supprimer le plugin notification
CKEDITOR.replace(editorId, {
toolbar: 'basic', // Configuration de la barre d'outils
on: {
instanceReady: function () {
// Supprime le message de version à l'initialisation
if (this.plugins.notification) {
this.plugins.notification.instances.forEach(function (notification) {
notification.hide();
});
}
},
},
});
});
});
</script>
</body>
</html>