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 %}Bej Paris{% endblock %}</title>
  6.         {# Run `composer require symfony/webpack-encore-bundle`
  7.            and uncomment the following Encore helpers to start using Symfony UX #}
  8.         {% block stylesheets %}
  9.             {# bootstrap #}
  10.             <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
  11.             {# custom #}
  12.             <link rel="stylesheet" href="{{ asset('css/base_admin.css') }}">
  13.         {% endblock %}
  14.         <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
  15.         {% block javascripts %}
  16.             {#{{ encore_entry_script_tags('app') }}#}
  17.         {% endblock %}
  18.     </head>
  19.     <body>
  20.     <div class="container">
  21.         <div class="wrap">
  22.             {% block flash %}
  23.                 {% for flash_message in app.session.flashbag.get('success') %}
  24.                     <div class="alert alert-success" role="alert">
  25.                         {{ flash_message }}
  26.                     </div>
  27.                 {% endfor %}
  28.                 {% for flash_message in app.session.flashbag.get('info') %}
  29.                     <div class="alert alert-info" role="alert">
  30.                         {{ flash_message }}
  31.                     </div>
  32.                 {% endfor %}
  33.                 {% for flash_message in app.session.flashbag.get('warning') %}
  34.                     <div class="alert alert-danger" role="alert">
  35.                         {{ flash_message }}
  36.                     </div>
  37.                 {% endfor %}
  38.                 {% for flash_message in app.session.flashbag.get('danger') %}
  39.                     <div class="alert alert-danger" role="alert">
  40.                         {{ flash_message }}
  41.                     </div>
  42.                 {% endfor %}
  43.                 {% for flash_message in app.session.flashbag.get('error') %}
  44.                     <div class="alert alert-danger" role="alert">
  45.                         {{ flash_message }}
  46.                     </div>
  47.                 {% endfor %}
  48.             {% endblock %}
  49.             {% block body %}{% endblock %}
  50.             <span class="center app_version">{{ 'app_admin.app_version'|trans }} {{ app_version }}</span>
  51.         </div>
  52.     </div>
  53.     </body>
  54. </html>