templates/front/theme1/partials/header/modeles/_header1.html.twig line 1

Open in your IDE?
  1. <header class="header1  {{className}} {{headerWithBoutonRight}} {% if bgTransparent %}transparent{% endif %}">  
  2.     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_banniere_pub_header.html.twig')}}
  3.     <div class="header-bottom {{social_bandeau}} {% if not button1 %}no-bouton1{% endif %}">
  4.         <div class="container-fluid wrapper">
  5.             <div class="item-header d-flex justify-content-between align-items-center">
  6.                 <div class="logo">
  7.                     <a href="{{app.request.schemeAndHttpHost ~ app.request.baseUrl}}" class="logo_h">
  8.                         {% if bgTransparent and parametre.imageheader is not empty %}
  9.                             <img class="img-logo" src="{{asset('/uploads/images/'~ parametre.image)}}" alt="{{parametre.titre}}">
  10.                             <img class="img-logo-home" src="{{asset('/uploads/images/'~ parametre.imageheader)}}" alt="{{parametre.titre}}">
  11.                         {% else %}
  12.                            <img src="{{asset('/uploads/images/'~ parametre.image)}}" alt="{{parametre.titre}}">
  13.                         {% endif %}
  14.                     </a>        
  15.                 </div>
  16.                 {% if positionBoutonRightHeader %}
  17.                     <div class="header-with-right-boutons d-flex justify-content-end align-items-md-center">
  18.                 {% endif %}
  19.                 <div class="header-right align-self-md-start d-flex {{infos_items_flex}} w-md-100">
  20.                     <div class="infos-header d-flex justify-content-end align-items-center flex-wrap" itemscope="">
  21.                         
  22.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_recherche.html.twig')}}
  23.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_adresses.html.twig')}}
  24.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_horaires.html.twig')}}
  25.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_telephones.html.twig')}}
  26.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_emails.html.twig')}}
  27.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_social_network.html.twig')}}
  28.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_panier.html.twig')}}
  29.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_lang.html.twig')}}
  30.                                                                       
  31.                         {% if button1 and button1Position == 1 %}
  32.                             <div class="item-bouton-header d-flex align-items-center bouton1-header">
  33.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
  34.                             </div>
  35.                         {% endif %}
  36.                         {% if button2 and button2Position == 1 %}
  37.                             <div class="item-bouton-header d-flex align-items-center bouton2-header">
  38.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
  39.                             </div>
  40.                         {% endif %}
  41.                         {% if button3 and button3Position == 1 %}
  42.                             <div class="item-bouton-header d-flex align-items-center bouton3-header">
  43.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 3})}}
  44.                             </div>
  45.                         {% endif %}
  46.                     </div>
  47.                     <div class="header-menu d-flex justify-content-end align-items-center">
  48.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_navbar.html.twig')}}
  49.                         {% if button1 and button1Position == 2 %}
  50.                             <div class="item-bouton-header d-flex align-items-center ml-3 bouton1-header">
  51.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
  52.                             </div>
  53.                         {% endif %}
  54.                         {% if button2 and button2Position == 2 %}
  55.                             <div class="item-bouton-header d-flex align-items-center ml-3 bouton2-header">
  56.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
  57.                             </div>
  58.                         {% endif %}
  59.                         {% if button3 and button3Position == 2 %}
  60.                             <div class="item-bouton-header d-flex align-items-center ml-3 bouton3-header">
  61.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' :3})}}
  62.                             </div>
  63.                         {% endif %}
  64.                     </div>
  65.                 </div>
  66.                 {% if button1 and button1Position == 3 %}
  67.                     <div class="item-bouton-header d-flex align-items-center bouton1-header">
  68.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
  69.                     </div>
  70.                 {% endif %}
  71.                 {% if button2 and button2Position == 3 %}
  72.                     <div class="item-bouton-header d-flex align-items-center bouton2-header">
  73.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
  74.                     </div>
  75.                 {% endif %}
  76.                 {% if button3 and button3Position == 3 %}
  77.                     <div class="item-bouton-header d-flex align-items-center bouton3-header">
  78.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' :3})}}
  79.                     </div>
  80.                 {% endif %} 
  81.                 {% if positionBoutonRightHeader %}
  82.                     </div>
  83.                 {% endif %}
  84.                 
  85.             </div>
  86.         </div>
  87.     </div>
  88. </header>