<header>
<div class="header_left">
<div class="header_logo">
{% if admin is defined and admin %}
<a href="{{ path('admin_default')}}">
{% else %}
<a href="{{ path('default')}}">
{% endif %}
<img src="{{ asset(image_dir_png ~ "MailBox_logo.png") }}" alt="Logo MAIL BOXES">
</a>
</div>
</div>
{% if user is defined and user %}
<div class="header_right">
<div class="header_name">
<div class="header_name_bloc">
<element class="icon-Profil_picto"></element>*
{% if admin is defined and admin %}
<span class="name_profil">Bonjour,
{{user.compte.prenom}}
{{user.compte.nom|upper}}</span>
<div class="header_name_bloc_dropdown">
<hr>
<a href="{{ path('app_compte_show', {'id': user.compte.id}) }}">Mon compte</a>
</div>
{% else %}
<span class="name_profil">Bonjour,
{{user.client.prenomContact}}
{{user.client.nomContact|upper}}</span>
<div class="header_name_bloc_dropdown">
<hr>
<a href="{{ path('app_client_show', {'id': user.client.id}) }}">Mon compte</a>
</div>
{% endif %}
</div>
</div>
<div
class="burger">
{# <input id="toggleBurger" type="checkbox"></input> #}
<div class="burger-picto">
<div class="burger-item"></div>
<div class="burger-item"></div>
</div>
</div>
</div>
<div class="hiddendiv">
<a href="{{ path('app_commande_new')}}">Nouvelle commande</a>
<a href="{{ path('app_commande_index')}}">Suivi de commande</a>
{% if admin is defined and admin %}
<hr>
<a href="{{ path('app_client_home')}}">Gestion des cavistes</a>
<a href="{{ path('app_compte_index')}}">Gestion des administrateurs</a>
<a href="{{ path('app_admin_index')}}">Configurateur</a>
{% else %}
<hr>
<a href="{{ path('app_simulateur')}}">Simulateur de prix</a>
<a href="{{ path('app_fourniture')}}">Commande de fourniture</a>
<a href="{{ path('app_offre')}}">Offre complète</a>
{% endif %}
<hr>
<a href="{{ path('app_outils')}}">Nos outils</a>
<hr>
<a href="{{ path('logout') }}" class="bold">Se déconnecter</a>
</div>
{% endif %}
</header>