<!DOCTYPE html>
<html lang="{{ app.request.locale|split('_')[0] }}">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
{% if config.checkIfNotrelogis %}
<title>Notre Logis</title>
{% else %}
<title>{% block title %}Oecko - Solution d'affichage dynamique{% endblock %}</title>
{% endif %}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,600,0,0" />
<link rel="stylesheet" href="{{ asset('assets/vendor/please-wait/build/please-wait.css') }}"/>
<link rel="stylesheet" href="{{ asset('app/css/materialize.min.css') }}"/>
<link rel="stylesheet" href="{{ asset('assets/vendor/font-awesome/css/font-awesome.min.css') }}"/>
<link rel="stylesheet" href="{{ asset('perfect-scrollbar/css/perfect-scrollbar.min.css') }}"/>
<link rel="stylesheet" href="{{ asset('app/css/shared.css') }}"/>
<style>
:root {
{% if app.user %}{% set org = app.user.organization %}{% if app.user.hasGroup('GROUP_ADMIN') or not org.activeInterface or org.colorSet == null %} --main-color: #1cb7f9;
--gradient-color: #35cfae;
--nav-top-color: #017db2;
--sidebar-color: #2e3e51;
--sidebar-items-color: #fff;
--text-color: #fff;
--notification-color: #1cb7f9;
--white-button-text-color: #1cb7f9;
--colored-button: #1cb7f9;
--text-breadcrumbs-color: #fff;
--common-text-color: #2e3e51;
{% else %} --main-color: #{{ org.colorSet.mainColor is defined ? org.colorSet.mainColor : '1cb7f9' }};
--gradient-color: #{{ org.colorSet.gradientColor is defined ? org.colorSet.gradientColor : '35cfae' }};
--nav-top-color: #{{ org.colorSet.navTopColor is defined ? org.colorSet.navTopColor : '017db2' }};
--sidebar-color: #{{ org.colorSet.sidebarColor is defined ? org.colorSet.sidebarColor : '2e3e51' }};
--sidebar-items-color: #{{ org.colorSet.sidebarItemsColor is defined ? org.colorSet.sidebarItemsColor : 'fff' }};
--text-color: #{{ org.colorSet.textColor is defined ? org.colorSet.textColor : 'fff' }};
--notification-color: #{{ org.colorSet.notificationColor is defined ? org.colorSet.notificationColor : '1cb7f9' }};
--white-button-text-color: #{{ org.colorSet.whiteButtonTextColor is defined ? org.colorSet.whiteButtonTextColor : '1cb7f9' }};
--colored-button: #{{ org.colorSet.coloredButton is defined ? org.colorSet.coloredButton : 'fff' }};
--text-breadcrumbs-color: #{{ org.colorSet.textBreadcrumbsColor is defined ? org.colorSet.textBreadcrumbsColor : 'fff' }};
--common-text-color: #212121;
{% endif %} --hover-lighter: rgba(220, 220, 220, .85);
{% endif %}
}
{% if (is_granted('ROLE_SURVEY')) %}
body {
margin-left: 330px;
}
{% endif %}
</style>
{% block bundlestyles %}{% endblock %}
{% if config.checkIfNotrelogis %}
<link rel="icon" type="image/x-icon" href="{{ asset('favicon-notrelogis.png') }}?v=2"/>
{% else %}
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.png') }}?v=2"/>
{% endif %}
<noscript>
<style>.simplebar, [data-simplebar-direction] {
overflow: auto;
}</style>
</noscript>
</head>
<body>
<script src="{{ asset('assets/vendor/please-wait/build/please-wait.min.js') }}"></script>
<script type="text/javascript">
var auto_stop_pleaseWait = true;
function startScreenWait() {
window.loading_screen = window.pleaseWait({
logo: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==',
{% if app.user %}
{% if app.user.hasGroup('GROUP_ADMIN') or not app.user.organization.activeInterface or app.user.organization.colorSet == null %}
backgroundColor: '#1cb7f9',
loadingHtml: '<div class="sk-three-bounce"> <div class="sk-child sk-bounce1"></div><div class="sk-child sk-bounce2"></div><div class="sk-child sk-bounce3"></div></div>'
{% else %}
backgroundColor: '#{{ app.user.organization.colorSet.mainColor }}',
loadingHtml: '<div class="sk-three-bounce"> <div class="sk-child sk-bounce1"></div><div class="sk-child sk-bounce2"></div><div class="sk-child sk-bounce3"></div></div>'
{% endif %}
{% endif %}
});
}
function stopScreenWait() {
if (window.loading_screen)
window.loading_screen.finish();
}
// startScreenWait();
var bundlesAssetsDir = "{{ asset('front/') }}";
</script>
<noscript>
<div class='noscript-notice'>
<p><i class="fa fa-exclamation-circle fa-2x" aria-hidden="true"></i>
Oecko a besoin de JavaScript pour fonctionner</p>
<a href='http://enable-javascript.com/fr/' target="_blank" class='btn'
title='Activer Javascript dans votre navigateur'>Comment et pourquoi activer JavaScript ?</a>
</div>
</noscript>
{% include 'app/menus.html.twig' %}
<div id='flash-message-container'>
{% for label, flashes in app.session.flashbag.all %}
{% for flash in flashes %}
<div class="flash-message" toastType="{{ label }}"> {{ flash }} </div>{% endfor %}
{% endfor %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="flash-message" toastType="{{ label }}"> {{ message }} </div>
{% endfor %}
{% endfor %}
</div>
{% block body %}{% endblock %}
<div id="modal-action" class="modal modal-fixed-footer ">
<div class="modal-content">
<h5 id="action-modal-header">Modal Header</h5>
<p id="action-modal-content"></p>
</div>
<div id="action-modal-buttons" class="modal-footer">
{% block modalFooter %}
<a href="#" id="modal-positive-button"
class="btn modal-action modal-close waves-effect waves-light blue darken-1">Valider</a>
<a href="#" id="modal-negative-button" class="btn-flat modal-action modal-close waves-effect">Annuler</a>
{% endblock %}
</div>
</div>
<script src="{{ asset('assets/vendor/jquery/dist/jquery.min.js') }}"></script>
<script src="{{ asset('assets/vendor/Materialize/dist/js/materialize.min.js') }}"></script>
<script src="{{ asset('/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js') }}"></script>
<script src="{{ asset('assets/vendor/list.js/dist/list.min.js') }}"></script>
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ asset('js/fos_js_routes.js') }}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-messageformat/9.0.2/intl-messageformat.min.js" integrity="sha512-uGIOqaLIi8I30qAnPLfrEnecDDi08AcCrg7gzGp/XrDafLJl/NIilHwAm1Wl2FLiTSf10D5vM70108k3oMjK5Q==" crossorigin="anonymous"></script>
<script src="{{ asset('bundles/bazingajstranslation/js/translator.min.js') }}"></script>
<script src="{{ url('bazinga_jstranslation_js', { 'domain': 'javascript', 'locales': 'fr,en' }) }}"></script>
<script src="{{ asset('app/js/variables.js') }}"></script>
<script src="{{ asset('app/js/utils.js') }}"></script>
<script src="{{ asset('app/js/app-grid.js') }}"></script>
<script src="{{ asset('app/js/shared.js') }}"></script>
{% block bundlejs %}{% endblock %}
<script type="text/javascript">
if (auto_stop_pleaseWait) stopScreenWait();
</script>
{% if app.user and app.user.hasRole('ROLE_NOTIFICATION_CENTER') %}
<script src="{{ asset('app/js/browser-notifs.js') }}"></script>
{% endif %}
</body>
</html>