<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}B-Ticket{% endblock %}</title>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{{ encore_entry_link_tags('menu') }}
{% if app.user and app.user.dark %}
{{ encore_entry_link_tags('dark') }}
{% endif %}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('menu') }}
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
{% endblock %}
</head>
<body>
<!--MENU-->
{% if app.user %}
<div class="subheader {% if app.user.lockMenu == 1 %}menu-full{% endif %}">
<div class="breadcrumbs">
{% block breadcrumbs %}
{% endblock %}
</div>
</div>
{% include 'menu.html.twig' %}
<input type="hidden" id="lockMenuHidden" value="{{ app.user.lockMenu }}"/>
{% endif %}
<!--Container Main start-->
<main class="{% if app.user and app.user.lockMenu == 1 %}margin-left{% endif %}">
<div id="notification">
{% for message in app.session.flashbag.get('error') %}
<div class="aks-alert aks-danger">
<div class="aks-alert-header">
<div class="aks-alert-icon"><i class="ri-close-circle-line"></i></div>
<div class="aks-alert-content">
<div class="aks-alert-title">Erreur
</div>
<div class="aks-alert-main">{{ message }}</div>
</div>
<div class="aks-alert-close"><i class="ri-close-line"></i></div>
</div>
</div>
{% endfor %}
{% for message in app.session.flashbag.get('success') %}
<div class="aks-alert aks-successful">
<div class="aks-alert-header">
<div class="aks-alert-icon"><i class="ri-checkbox-circle-line"></i></div>
<div class="aks-alert-content">
<div class="aks-alert-title">Succès
</div>
<div class="aks-alert-main">{{ message }}</div>
</div>
<div class="aks-alert-close"><i class="ri-close-line"></i></div>
</div>
</div>
{% endfor %}
{% for message in app.session.flashbag.get('warning') %}
<div class="aks-alert aks-warning">
<div class="aks-alert-header">
<div class="aks-alert-icon"><i class="ri-alarm-warning-line"></i></div>
<div class="aks-alert-content">
<div class="aks-alert-title">Attention
</div>
<div class="aks-alert-main">{{ message }}</div>
</div>
<div class="aks-alert-close"><i class="ri-close-line"></i></div>
</div>
</div>
{% endfor %}
{% for message in app.session.flashbag.get('info') %}
<div class="aks-alert aks-info">
<div class="aks-alert-header">
<div class="aks-alert-icon"><i class="ri-information-line"></i></div>
<div class="aks-alert-content">
<div class="aks-alert-title">Information
</div>
<div class="aks-alert-main">{{ message }}</div>
</div>
<div class="aks-alert-close"><i class="ri-close-line"></i></div>
</div>
</div>
{% endfor %}
</div>
{% block body %}
{% endblock %}
</main>
<input type="hidden" id="dateToday" value="{{ "now"|date("Y-m-d") }}"/>
<footer id="footer">
<span class="libel-version footer"> </span>
<span class="copyright-footer"> Copyright © <a href="https://www.ginkgo-it.com/" target="_blank">B-Ticket</a> - Tous droits réservés - 2020 - {{ "now"|date("Y") }} </span>
</footer>
</body>
</html>