templates/navbar_reservation.html.twig line 1

Open in your IDE?
  1. <div class="navbar navbar-inverse">
  2.     <!-- start: TOP NAVIGATION CONTAINER -->
  3.     <div class="navbar-header">
  4.         <!-- start: RESPONSIVE MENU TOGGLER -->
  5.         <button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
  6.             <span class="clip-list-2"></span>
  7.         </button>
  8.         <!-- end: RESPONSIVE MENU TOGGLER -->
  9.         <!-- start: LOGO -->
  10.         <a class="navbar-brand" href="{{ path('rdv_index') }}">
  11.             <img src="{{ asset('build/images/silver.png') }}" alt="logo" class="logo" /> <span style="color:red">{% if 'dev.emmaconnect.fr' in app.request.uri %}  SERVEUR DE DEV!!!  {% endif %}</span>
  12.         </a>
  13.         <!-- end: LOGO -->
  14.     </div>
  15.     <div class="navbar-tools">
  16.         <!-- start: TOP NAVIGATION MENU -->
  17.         <ul class="nav navbar-right">
  18.             <!-- start: USER DROPDOWN -->
  19.             {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  20.             <li class="dropdown current-user">
  21.                 <a data-toggle="dropdown" data-hover="dropdown" class="dropdown-toggle" data-close-others="true" href="#">
  22.                     <span class="username">{{ app.user.email }}</span>
  23.                     <i class="clip-chevron-down"></i>
  24.                 </a>
  25.                 <ul class="dropdown-menu">
  26.                     <li>
  27.                         <a href="{{ path('app_logout') }}">
  28.                             <i class="clip-exit"></i> &nbsp;Log Out
  29.                         </a>
  30.                     </li>
  31.                 </ul>
  32.             </li>
  33.             {% else %}
  34.                 {% if app.request.get('_route') != 'app_login' %}
  35.                 <li>
  36.                     <a href="{{ path('app_login') }}">Se connecter</a>
  37.                 </li>
  38.                 {% endif %}
  39.             {% endif %}
  40.             <!-- end: USER DROPDOWN -->
  41.         </ul>
  42.         <!-- end: TOP NAVIGATION MENU -->
  43.     </div>
  44.     <!-- end: TOP NAVIGATION CONTAINER -->
  45. </div>