templates/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 %}Welcome!{% endblock %}</title>
  6.     <link rel="icon"
  7.           href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  8.     {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  9.     {% block stylesheets %}
  10.             {{ encore_entry_link_tags('app') }}
  11.     {% endblock %}
  12.     {% block javascripts %}
  13.             {{ encore_entry_script_tags('app') }}
  14.     {% endblock %}
  15. </head>
  16. <body onload="document.body.style.opacity='1'">
  17. {% include "includes/header.html.twig" %}
  18. <div class="container-fluid">
  19.     <div class="row mt-4 mb-4">
  20.         <div class="col-md-12">
  21.             <main>
  22.                 {% for message in app.flashes('error') %}
  23.                     <div class="alert alert-danger">
  24.                         {{ message }}
  25.                     </div>
  26.                 {% endfor %}
  27.                 {% block body %}{% endblock %}
  28.             </main>
  29.         </div>
  30. {#        <div class="block-right col-md-4 sidebar">#}
  31. {#                {% if tree is defined %}#}
  32. {#                    <h3 class="pb-2 border-bottom">Category tree</h3>#}
  33. {#                    {% include "blocks/block-right.html.twig" with {'tree':tree} %}#}
  34. {#                {% endif %}#}
  35. {#        </div>#}
  36.     </div>
  37. <footer class="border-top p-4">
  38. {#    <h6 class="pb-2 border-bottom">Footer menu</h6>#}
  39. {#    <div style="font-size: 9px">#}
  40. {#        {{ knp_menu_render('footer') }}#}
  41. {#    </div>#}
  42. </footer>
  43. </div>
  44. </body>
  45. </html>