templates/header.html.twig line 1

Open in your IDE?
  1. <!-- start: header -->
  2.             <header class="header">
  3.                 <div class="logo-container">
  4.                     <a href="https://web.selmet.inrae.fr" class="logo">
  5.                         <img src="{{ asset('images/logo_inrae.svg')}}" height="35" alt="INRA">
  6.             <img src="{{ asset('images/logo_selmet.png')}}" height="35" alt="INRA">
  7.                     </a>
  8.                     <div class="visible-xs toggle-sidebar-left" data-toggle-class="sidebar-left-opened" data-target="html" data-fire-event="sidebar-left-opened">
  9.                         <i class="fa fa-bars" aria-label="Toggle sidebar"></i>
  10.                     </div>
  11.                 </div>
  12.             
  13.                 <!-- start: search & user box -->
  14.                 <div class="header-right">            
  15.                     <ul class="notifications">
  16.                         <h5><strong>CIRAD/SELMET - Demandes</strong></h5>
  17.                     </ul>
  18.             
  19.                     <span class="separator"></span>
  20.                     {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  21.                     <div id="userbox" class="userbox">
  22.                         <a href="#" data-toggle="dropdown">
  23.                             <figure class="profile-picture">
  24.                                 <img src="{{asset('assets/images/!logged-user.jpg')}}" alt="Joseph Doe" class="img-circle" data-lock-picture="{{asset('assets/images/!logged-user.jpg')}}" />
  25.                             </figure>
  26.                             <div class="profile-info" data-lock-name="John Doe" data-lock-email="johndoe@JSOFT.com">
  27.                                 <span class="name">{{ app.user.nom }} {{ app.user.prenom }}</span>
  28.                             </div>
  29.             
  30.                             <i class="fa custom-caret"></i>
  31.                         </a>
  32.                 
  33.                         <div class="dropdown-menu">
  34.                             <ul class="list-unstyled">
  35.                                 <li class="divider"></li>
  36.                                 <li>
  37.                                     <a role="menuitem" tabindex="-1" href="{{path('app_logout')}}"><i class="fa fa-sign-out"></i> Se déconnecter</a>
  38.                                 </li>
  39.                             </ul>
  40.                         </div>
  41.                     </div>
  42.                     {% else %}
  43.                     <div id="userbox" class="userbox">
  44.                         <a href="{{ path('app_login') }}" class="logo">
  45.                             <i class="fa fa-sign-in"></i> Se connecter
  46.                         </a>
  47.                     </div>
  48.                     {% endif %}
  49.                 </div>
  50.                 <!-- end: search & user box -->
  51.             </header>
  52.             <!-- end: header -->