themes/BootstrapTheme/templates/bundles/SyliusShopBundle/layout.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|slice(0, 2) }}">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="description" content="{{ sylius.channel.description}}">
  6.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.     <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  8.     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9.     {% block metatags %}
  10.     {% endblock %}
  11.     {% block stylesheets %}
  12.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  13.         {% if app.request.headers.get('User-Agent') == "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2" %}
  14.             <link rel="stylesheet" href="{{ asset('/bootstrap-theme/bootstrap_safari.css')}}">
  15.         {% endif %}
  16.     {% endblock %}
  17.     {{ sylius_template_event('sylius.shop.layout.head') }}
  18. </head>
  19. <body class="body-{{app.request.attributes.get('_route')}} ">
  20. {{ sylius_template_event('sylius.shop.layout.before_body') }}
  21. <section class="big-wrapper">
  22.     {% block top %}
  23.     {% endblock %}
  24.     {% block header %}
  25.        
  26.         
  27.         <div id="modalCookies2" tabindex="-1" >
  28.             
  29.         {% include "@CHCookieConsent/cookie_consent_styling.html.twig" %}
  30.         {{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : sylius.localeCode })) }}
  31.                     
  32.         </div>
  33.          <header class="header-body">
  34.          {{ sylius_template_event('sylius.shop.layout.header') }}
  35.          </header>
  36.     {% endblock %}
  37.      {% block javascripts %}
  38.         {{ sylius_template_event('sylius.shop.layout.javascripts') }} 
  39.     {% endblock %}
  40.     <div class="main-content page-content">
  41.         <div class="container p-lg-0 my-0">{% include '@SyliusShop/_flashes.html.twig' %}</div>
  42.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  43.         {% include '@SyliusShop/Product/_popup.html.twig'  %}
  44.         {% block content %}
  45.         {% endblock %}
  46.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  47.     </div>
  48.     {% block footer %}
  49.         {% include '@SyliusShop/_footer.html.twig' %}
  50.     {% endblock %}
  51.     {{ sylius_template_event('sylius.shop.layout.after_body') }}
  52.     <div class="loading-overlay" data-js-loading-overlay>
  53.         <div class="spinner-border" role="status">
  54.             <span class="sr-only">Loading...</span>
  55.         </div>
  56.     </div>
  57. </section>
  58. <div class="menu-overlay"></div>
  59. <div class="goToTop"><img src="{{ asset('images/top_go.png')}}" alt="" /></div>
  60. </body>
  61. </html>