<!-- start: header -->
<header class="header">
<div class="logo-container">
<a href="https://web.selmet.inrae.fr" class="logo">
<img src="{{ asset('images/logo_inrae.svg')}}" height="35" alt="INRA">
<img src="{{ asset('images/logo_selmet.png')}}" height="35" alt="INRA">
</a>
<div class="visible-xs toggle-sidebar-left" data-toggle-class="sidebar-left-opened" data-target="html" data-fire-event="sidebar-left-opened">
<i class="fa fa-bars" aria-label="Toggle sidebar"></i>
</div>
</div>
<!-- start: search & user box -->
<div class="header-right">
<ul class="notifications">
<h5><strong>CIRAD/SELMET - Demandes</strong></h5>
</ul>
<span class="separator"></span>
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<div id="userbox" class="userbox">
<a href="#" data-toggle="dropdown">
<figure class="profile-picture">
<img src="{{asset('assets/images/!logged-user.jpg')}}" alt="Joseph Doe" class="img-circle" data-lock-picture="{{asset('assets/images/!logged-user.jpg')}}" />
</figure>
<div class="profile-info" data-lock-name="John Doe" data-lock-email="johndoe@JSOFT.com">
<span class="name">{{ app.user.nom }} {{ app.user.prenom }}</span>
</div>
<i class="fa custom-caret"></i>
</a>
<div class="dropdown-menu">
<ul class="list-unstyled">
<li class="divider"></li>
<li>
<a role="menuitem" tabindex="-1" href="{{path('app_logout')}}"><i class="fa fa-sign-out"></i> Se déconnecter</a>
</li>
</ul>
</div>
</div>
{% else %}
<div id="userbox" class="userbox">
<a href="{{ path('app_login') }}" class="logo">
<i class="fa fa-sign-in"></i> Se connecter
</a>
</div>
{% endif %}
</div>
<!-- end: search & user box -->
</header>
<!-- end: header -->