templates/globus/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>{% block title %}Flowy - Globus{% endblock %}</title>
  6.     <meta name="viewport" content="width=device-width, initial-scale=1">
  7.     {% block stylesheets %}
  8.         {{ encore_entry_link_tags('globus_css') }}
  9.     {% endblock %}
  10. </head>
  11. <body class="{{ bodyClass|default('app header-fixed sidebar-fixed aside-menu-fixed sidebar-lg-show') }}">
  12. {% block page %}
  13.     {% block header %}{% include 'globus/base/_header.html.twig' %}{% endblock %}
  14.     {% block body %}
  15.         <div class="app-body">
  16.             {% block sidebar %}{% include 'globus/base/_sidebar.html.twig' %}{% endblock %}
  17.             <main class="main p-4">
  18.                 {% block content %}{% endblock %}
  19.             </main>
  20.         </div>
  21.     {% endblock %}
  22. {% endblock %}
  23. {% block javascripts %}
  24.     {{ encore_entry_script_tags('globus_js') }}
  25. {% endblock %}
  26. {% block flashes %}
  27.     <script type="text/javascript">
  28.         {% for type,flashes in app.flashes %}
  29.         {% for flash in flashes %}
  30.         $.notify({message: '{{ flash|trans }}'}, {type: '{{ type }}'});
  31.         {% endfor %}
  32.         {% endfor %}
  33.     </script>
  34. {% endblock %}
  35. </body>
  36. </html>