<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}CEP-I{% endblock %}</title>
{% block stylesheets %}{% endblock %}
<meta name="google-site-verification" content="ZrIRN5yWWqm7sdeDFocXKaYZ3aG6GoeVKGQ8_OeRoQE" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140409788-1"></script>
<script src="/assets/js/jquery-3.1.1.min.js"></script>
{% block head_meta%}
{% endblock %}
</head>
<body>
{% if is_granted('ROLE_FORMATEUR') %}
<div class="superadmin_switch" style="bottom : 60px" >
<a target="_blank" href="{{ path('admin_home') }}">Panneau d'admin</a>
</div>
{% endif %}
{% if is_granted('ROLE_ALLOWED_TO_SWITCH') %}
<div class="superadmin_switch" >
<a href="{{ path('admin_utilisateur', {'pagePrecedente' : app.request.attributes.get('_route') ? path(app.request.attributes.get('_route'),
app.request.attributes.get('_route_params')) : '/' }) }}">Changer d'utilisateur</a>
</div>
{% endif %}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<div class="superadmin_switch" >
<a href="?_switch_user=_exit">Revenir en mode Admin</a>
<a href="{{ path('admin_utilisateur', {'_switch_user': '_exit', 'pagePrecedente' : app.request.attributes.get('_route') ? path(app.request.attributes.get('_route'),
app.request.attributes.get('_route_params')) : '/' }) }}">Changer d'utilisateur ({{ app.user.prenom }} {{ app.user.nom }})</a>
</div>
{% endif %}
<div class="wrapper">
{% block header %}
{% include '__includes__/header.html.twig' %}
{% endblock %}
{% block breadcrumps %}
{% include '__includes__/breadcrumps.html.twig' %}
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
{% include '__includes__/footer.html.twig' %}
{% endblock %}
</div>
{% block javascripts %}{% endblock %}
</body>
</html>