templates/fresh/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 - Fresh{% endblock %}</title>
  6.     {% block stylesheets %}
  7.         {{ encore_entry_link_tags('fresh_css') }}
  8.     {% endblock %}
  9. </head>
  10. <body class="{{ bodyClass|default('app header-fixed sidebar-fixed aside-menu-fixed sidebar-lg-show') }}">
  11. {% block page %}
  12.     {% block header %}{% include 'fresh/base/_header.html.twig' %}{% endblock %}
  13.     {% block body %}
  14.         <div class="app-body">
  15.             {% block sidebar %}{% include 'fresh/base/_sidebar.html.twig' %}{% endblock %}
  16.             <main class="main p-4">
  17.                 {% block content %}{% endblock %}
  18.             </main>
  19.         </div>
  20.     {% endblock %}
  21. {% endblock %}
  22. {% block javascripts %}
  23.     {{ encore_entry_script_tags('fresh_js') }}
  24. {% endblock %}
  25. {% block flashes %}
  26.     <script type="text/javascript">
  27.         {% for type,flashes in app.flashes %}
  28.             {% for flash in flashes %}
  29.                 $.notify({message: '{{ flash|trans }}'}, {type: '{{ type }}'});
  30.             {% endfor %}
  31.         {% endfor %}
  32.     </script>
  33. {% endblock %}
  34. </body>
  35. </html>