templates/base.html.twig line 1

Open in your IDE?
  1. {% extends '@!CreaEvent/bundles/CreaDocumentationBundle/bundles/CreaSecurityBundle/bundles/CreaAdminBundle/template.html.twig' %}
  2. {% trans_default_domain "template" %}
  3. {% block headerTitle %}
  4.     <a href="{{ path('dashboard') }}">
  5.         <span>{{ source('@public_path'~asset('build/main/images/logo-croisiland-blanc.svg')) }}</span>
  6.         <span>ERP</span>
  7.     </a>
  8. {% endblock %}
  9. {% block secondMenu %}{% endblock %}
  10. {% block sideBar %}{% endblock %}
  11. {% block sectionTitle %}
  12.     <i class="{{ pageIconClass is defined ? pageIconClass : "fas fa-cubes" }}"></i>
  13.     {% if pageTitle is defined %}
  14.         {{ pageTitle }}
  15.     {% else %}
  16.         {% block page_title %}{% endblock %}
  17.     {% endif %}
  18. {% endblock %}
  19. {% block sectionBreadcrumb %}
  20.     <a href="{{ path('dashboard') }}">
  21.         <i class="icon-house"></i>
  22.         <p>{{ "template.home"|trans }}</p>
  23.     </a>
  24.     {% if pageTitle is defined and isHome is not defined %}
  25.         <span>›</span>
  26.         <div>
  27.             <i class="{{ pageIconClass is defined ? pageIconClass : "fas fa-cubes" }}"></i>
  28.             <p>{{ pageTitle }}</p>
  29.         </div>
  30.     {% endif %}
  31. {% endblock %}
  32. {% block body %}
  33.     {{ parent() }}
  34.     {% block modals %}{% endblock %}
  35. {% endblock %}
  36. {% block sectionContent %}
  37.     <div class="row">
  38.         <div class="col-md-12">
  39.             <div class="crea-admin-box1">
  40.                 <div class="crea-admin-box-content">
  41.                     {% block sectionContent2 %}
  42.                         {% block action_buttons %}{% endblock %}
  43.                     {% endblock %}
  44.                 </div>
  45.             </div>
  46.         </div>
  47.     </div>
  48. {% endblock %}
  49. {% block styleSheets %}
  50.     {{ parent() }}
  51.     {{ encore_entry_link_tags('app') }}
  52.     {{ encore_entry_link_tags('partner-dashboard') }}
  53.     {{ encore_entry_link_tags('grid-style') }}
  54.     {{ encore_entry_link_tags('grid') }}
  55. {% endblock %}
  56. {% block javascripts %}
  57.     {{ parent() }}
  58.     {{ encore_entry_script_tags('app') }}
  59.     {{ encore_entry_script_tags('custom-bootstrap') }}
  60.     {% if grid is defined %}
  61.         {{ encore_entry_script_tags('grid') }}
  62.     {% endif %}
  63. {% endblock %}