templates/admin/base.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block headerMenuLeft %}
  3.     <li class="float-left">
  4.         <button class="button-menu-mobile open-left waves-light waves-effect">
  5.             <i class="dripicons-menu"></i>
  6.         </button>
  7.     </li>
  8. {% endblock %}
  9. {% block bodyClass %}fixed-left{% endblock %}
  10.     {% block body %}
  11.         <!-- Begin page -->
  12.         <div id="wrapper">
  13.             {% include 'menu.html.twig' with { menuLeft: block('headerMenuLeft')} %}
  14.             {% if hideSideMenu is not defined %}
  15.                 {% include ('admin/menu.html.twig') %}
  16.             {% endif %}
  17.             <div class="content-page" {% if hideSideMenu is defined %}style="margin-left: 0px;"{% endif %}>
  18.                 <!-- Start content -->
  19.                 <div class="content" style="{% block contentCSS %}{% endblock %}">
  20.                     <div class="container-fluid">
  21.                         {% block content %}
  22.                         {% endblock %}
  23.                         <footer class="footer text-right">
  24.                             &copy; 2016 - {{"now" | date('Y')}}. All rights reserved.
  25.                         </footer>
  26.                     </div>
  27.                 </div> <!-- container -->
  28.             </div> <!-- content -->
  29.         </div>
  30. {% endblock %}
  31. {% block modals %}
  32.         {# Start of all the modal #}
  33.         {# The waiting dialog #}
  34.         {% include ('admin/modals/addNewProduct.html.twig') %}
  35.         {% include ('admin/modals/previewImage.html.twig') %}
  36.         {{parent()}}
  37.         {% if company is defined and company.termsAcceptanceDate is defined and company.termsAcceptanceDate is empty %}
  38.             {% include ('admin/modals/companyTerms.html.twig') %}
  39.         {% endif %}
  40. {% endblock %}