templates/bundles/FOSUserBundle/layout.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="utf-8" name="viewport" content="user-scalable=no,width=device-width">
  5.         <title>{{ easyadmin_config('site_name') }}</title>
  6.         {% block head_stylesheets %}
  7.             <link rel="stylesheet" href="{{ asset('bundles/easyadmin/app.css') }}">
  8.             <style>
  9.                 :root { --color-primary: {{ easyadmin_config('design.brand_color') }}; }
  10.             </style>
  11.         {% endblock %}
  12.         {% for css_asset in easyadmin_config('design.assets.css') %}
  13.             <link rel="stylesheet" href="{{ asset(css_asset) }}">
  14.         {% endfor %}
  15.         <style>
  16.             .center-me {
  17.                 display: flex;
  18.                 justify-content: center;
  19.                 align-items: center;
  20.                 height: 100vh;
  21.             }
  22.             .form-group label, .form-group legend.col-form-label {
  23.                 flex: 1;
  24.                 font-weight: bold;
  25.                 text-align: left;
  26.             }
  27.             .card {
  28.                 background-color: white;
  29.                 border: 1px solid #ddd;
  30.             }
  31.         </style>
  32.     </head>
  33.     <body class="easyadmin new new-aluno easyadmin-content-width-normal easyadmin-sidebar-width-normal">
  34.         <div class="" style="">
  35.             
  36.             {% if app.request.hasPreviousSession %}
  37.                 {% for type, messages in app.session.flashbag.all() %}
  38.                     {% for message in messages %}
  39.                         <div class="flash-{{ type }}">
  40.                             {{ message }}
  41.                         </div>
  42.                     {% endfor %}
  43.                 {% endfor %}
  44.             {% endif %}
  45.             {% block fos_user_content %}
  46.             {% endblock fos_user_content %}
  47.         </div>  
  48.     </body>
  49. </html>