custom/plugins/SchilderSysteme/src/Resources/views/storefront/layout/header/header.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
  2.             {% block layout_header_actions %}
  3. <div class="col-12 order-1 col-sm-auto order-sm-2 header-actions-col d-flex h-100 align-items-center">
  4.     <div class="row no-gutters">
  5.         {% block layout_header_navigation_toggle %}
  6.             <div class="col d-sm-none">
  7.                 <div class="menu-button">
  8.                     {% block layout_header_navigation_toggle_button %}
  9.                         <button class="btn nav-main-toggle-btn header-actions-btn"
  10.                                 type="button"
  11.                                 data-offcanvas-menu="true"
  12.                                 aria-label="{{ "general.menuLink"|trans|striptags }}">
  13.                             {% block layout_header_navigation_toggle_button_icon %}
  14.                                 {% sw_icon 'stack' %}
  15.                             {% endblock %}
  16.                         </button>
  17.                     {% endblock %}
  18.                 </div>
  19.             </div>
  20.         {% endblock %}
  21.         {% block layout_header_search_toggle %}
  22.             <div class="col-auto d-sm-none">
  23.                 <div class="search-toggle">
  24.                     <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  25.                             type="button"
  26.                             data-toggle="collapse"
  27.                             data-target="#searchCollapse"
  28.                             aria-expanded="false"
  29.                             aria-controls="searchCollapse"
  30.                             aria-label="{{ "header.searchButton"|trans|striptags }}">
  31.                         {% sw_icon 'search' %}
  32.                     </button>
  33.                 </div>
  34.             </div>
  35.         {% endblock %}
  36.         {% if config('core.cart.wishlistEnabled') %}
  37.             {% block layout_header_actions_wishlist %}
  38.                 <div class="col-auto">
  39.                     <div class="header-wishlist">
  40.                         <a class="btn header-wishlist-btn header-actions-btn"
  41.                            href="{{ path('frontend.wishlist.page') }}"
  42.                            title="{{ 'header.wishlist'|trans|striptags }}"
  43.                            aria-label="{{ 'header.wishlist'|trans|striptags }}">
  44.                             {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  45.                         </a>
  46.                     </div>
  47.                 </div>
  48.             {% endblock %}
  49.         {% endif %}
  50.         {% block layout_header_actions_account %}
  51.             <div class="col-auto">
  52.                 <div class="account-menu">
  53.                     {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  54.                 </div>
  55.             </div>
  56.         {% endblock %}
  57.         {% block layout_header_actions_cart %}
  58.             <div class="col-auto">
  59.                 <div class="header-cart"
  60.                      data-offcanvas-cart="true">
  61.                     <a class="btn header-cart-btn header-actions-btn"
  62.                        href="{{ path('frontend.checkout.cart.page') }}"
  63.                        data-cart-widget="true"
  64.                        title="{{ 'checkout.cartTitle'|trans|striptags }}"
  65.                        aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  66.                         {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  67.                     </a>
  68.                 </div>
  69.             </div>
  70.         {% endblock %}
  71.     </div>
  72. </div>
  73. {% block layout_header_actions_login_btn %}
  74. {% if not context.customer %}
  75. <div class=" order-1 order-sm-2 h-100 header-login">
  76.     <div class="header-login-wrapper pl-0">
  77.         <a href="{{ path('frontend.account.login.page') }}"
  78.            title="{{ "header.loginSubmit"|trans|striptags }}"
  79.            class="btn btn-primary account-menu-login-button header-login-btn h-100 d-flex align-items-end rounded-0">
  80.             {% sw_icon 'lock'  style {
  81.                 'namespace': 'SchilderSysteme',
  82.             } %}
  83.             {{ "header.loginSubmit"|trans|sw_sanitize }}
  84.         </a>
  85.     </div>
  86. </div>
  87. {% endif %}
  88. {% endblock %}
  89.             {% endblock %}