templates/security/base.html.twig line 1

Open in your IDE?
  1. {% extends 'admin/base.html.twig' %}
  2. {% set config = getConfig() %}
  3. {% block sonata_head_title %}{{ config.name }}{% endblock %}
  4. {% block stylesheets %}
  5.     {{ parent() }}
  6.     <style>
  7.         .content-wrapper, .right-side, .main-footer {
  8.             margin-left: 0;
  9.         }
  10.         body, .skin-black .wrapper, .skin-black .main-sidebar, .skin-black .left-side {
  11.             background-color: #ECF0F5;
  12.         }
  13.         .skin-black .wrapper {
  14.             height: 100% !important;
  15.         }
  16.         .login-logo {
  17.             margin-bottom: 10px;
  18.         }
  19.         .login-logo img {
  20.         }
  21.         .fos_user_resetting_request [type="submit"], .fos_user_resetting_reset [type="submit"] {
  22.             color: #fff;
  23.             background-color: #367FA9;
  24.             border: 1px solid transparent;
  25.             padding: 6px 12px;
  26.             width: 100%;
  27.         }
  28.         .fos_user_resetting_request [type="text"], .fos_user_resetting_reset [type="password"] {
  29.             color: #555;
  30.             background-color: #fff;
  31.             background-image: none;
  32.             border: 1px solid #ccc;
  33.             margin-bottom: 10px;
  34.             height: 34px;
  35.             width: 100%;
  36.             display: block;
  37.         }
  38.     </style>
  39. {% endblock %}
  40. {% block sonata_header %}{% endblock sonata_header %}
  41. {% block sonata_wrapper %}
  42.     <div class="login-box">
  43.         <div class="login-logo">
  44.             <img src="{{ asset('assets/img/aprocab100.jpg') }}" alt="{{ config.name }}"><a href="{{ path('sonata_admin_dashboard') }}"></a>
  45.         </div>
  46.         <div class="login-box-body bxsh-2 bdrs-2">
  47.             <h4 class="login-box-msg"></h4>
  48.             {% for message in app.flashes('error') %}
  49.                 <div class="alert alert-danger">
  50.                     {{ message }}
  51.                 </div>
  52.             {% endfor %}
  53.             {% for message in app.flashes('success') %}
  54.                 <div class="alert alert-success">
  55.                     {{ message }}
  56.                 </div>
  57.             {% endfor %}
  58.             {% block security_form %}
  59.             {% endblock security_form %}
  60.         </div>
  61.         <!-- /.login-box-body -->
  62.     </div>
  63. {% endblock sonata_wrapper %}