templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1">
  6.         <title>{% block title %}Welcome!{% endblock %}</title>
  7.         <link rel="icon" 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.             <link rel="stylesheet" href="/assets/css/tabler.css">
  12.             <link rel="stylesheet" href="/assets/css/app.css">
  13.         {% endblock %}
  14.         {% block javascripts %}
  15.             {{ encore_entry_script_tags('app') }}
  16.             <script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
  17.             <script src="/assets/js/tabler.min.js"></script>
  18.             <script src="/assets/js/app.js"></script>
  19.             <script src="https://kit.fontawesome.com/d3fdef1158.js" crossorigin="anonymous"></script>
  20.         {% endblock %}
  21.     </head>
  22.     <body>
  23.         {% for message in app.flashes('success') %}
  24.             <div class="alert alert-success">
  25.                 {{ message }}
  26.             </div>
  27.         {% endfor %}
  28.         {% if app.request.get('_route') != 'show_error' %}
  29.             {% for message in app.flashes('error') %}
  30.                 <div class="alert alert-danger">
  31.                     {{ message }}
  32.                 </div>
  33.             {% endfor %}
  34.         {% endif %}
  35.         {% block body %}{% endblock %}
  36.     </body>
  37. </html>