<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>ProAgri - {% block title %}{% endblock %}</title>
{#-------------------------------- Bootstrap ---------------------------------#}
{# <link rel="stylesheet" href="{{ asset('css/bootstrap/bootstrap.css') }}">#}
<link rel="stylesheet" href="{{ asset('css/new/bootstrap.min.css') }}">
{#<link rel="stylesheet" href="{{ asset('plugins/bootstrap/css/bootstrap.min.css') }}">#}
<link rel="stylesheet" href="{{ asset('css/styles.css') }}">
<link rel="stylesheet" href="{{ asset('font-awesome/css/all.css') }}">
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
{% block stylesheets %}{% endblock %}
</head>
<body>
<div class="titlePage d-flex justify-content-start" style="padding-left: 9.5%">
<div class="home pl-1">
<img src="{{ asset('img/logo_CA.png') }}" class="img-fluid" alt="Gard">
</div>
<div class="titre w-50" style="padding-left: 2%">
<a href="{{ path('home') }}" class="title-h2 h4 font-weight-normal text-center" style="text-decoration: none; color:#999696;">{% block navBar %}{% endblock %}</a>
</div>
{% if app.user %}
<div class="admin d-flex">
<div class="dropdown">
<button class="dropdown-toggle btn" type="button" data-toggle="dropdown" style="color:#999696;padding-top: 15px">
<i class="fas fa-users-cog" style="color:#999696"></i>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="{{ path('administration') }}">Administration</a></li>
<li><a class="dropdown-item" href="{{ path('app_profil') }}">Modifier le profil</a></li>
<li><a class="dropdown-item" href="{{ path('app_logout') }}">Déconnexion</a></li>
</ul>
</div>
</div>
{% endif %}
</div>
<div class="main">
<div class="col-12">
{% for label, flashes in app.session.flashbag.all %}
{% for flash in flashes %}
<div id="flash" class="section__content">
<div class="alert alert-{{ label }} ">
{{ flash }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
</div>
{% endfor %}
{% endfor %}
</div>
{% block body %}{% endblock %}
</div>
{#<script src="{{ asset('js/jquery-3.4.1.min.js') }}"></script>#}
{#<script src="{{ asset('js/jquery-ui-1.12.1.min.js') }}"></script>#}
{#<script src="{{ asset('js/bootstrap/popper.js') }}"></script>#}
{#<script src="{{ asset('js/bootstrap/bootstrap.js') }}"></script>#}
<script src="{{ asset('js/new/jquery-3.7.1.min.js') }}"></script>
<script src="{{ asset('js/new/jquery-ui.min.js') }}"></script>
<script src="{{ asset('js/new/popper.min.js') }}"></script>
<script src="{{ asset('js/new/bootstrap.bundle.min.js') }}"></script>
{% block javascripts %}{% endblock %}
{# bandeau de cookies #}
{#<script type="text/javascript" id="cookiebanner" src="{{ asset('js/cookiebanner.min.js') }}" data-position="top" data-fg="#ffffff" data-bg="#C30040" data-link="#03447E" data-moreinfo="http://www.votresite.fr/mentions-legales" data-message="Les cookies assurent le bon fonctionnement de notre site Internet. En utilisant ce dernier, vous acceptez leur utilisation." data-linkmsg="En savoir plus"</script>#}
</body>
</html>