templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <title>DocuManager</title>
  5.     
  6.     <meta charset="UTF-8">
  7.     <link rel="shortcut icon" href="favicon.ico" />
  8.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700" />
  9.     <link href="{{ asset('assets/plugins/global/plugins.bundle.css')}}" rel="stylesheet" type="text/css" />
  10.     <link href="{{ asset('assets/css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
  11.     <style>
  12.         .text-white {
  13.             font-size: 2rem;
  14.         }
  15.         img {
  16.             width: 306px;
  17.             height: 240px;
  18.         }
  19.     </style>
  20.     <script>
  21.         var lang = {
  22.             emailNotValid: '',
  23.             emailRequired: '',
  24.             passwordRequired: '',
  25.             pleaseWait: '',
  26.             someErrors: '',
  27.             errorOccurred: '',
  28.             gotIt: ''
  29.         };
  30.     </script>
  31.         {% block head %}
  32.         {% endblock %}
  33. </head>
  34. <body id="kt_body" class="app-blank bgi-size-cover bgi-position-center bgi-no-repeat" style="
  35.          background-image: url({{asset('assets/media/misc/pattern-2.png')}});
  36.          background-position: center; 
  37.          background-repeat: no-repeat; 
  38.          background-size: cover">
  39.     {% for label, messages in app.flashes %}
  40.     {% for message in messages %}
  41.         <div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
  42.             {{ message }}
  43.             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Cerrar"></button>
  44.         </div>
  45.     {% endfor %}
  46.     {% endfor %}
  47.     
  48. {% block body %}
  49.     <div class="d-flex flex-column flex-root">
  50.         
  51.         <div class="d-flex flex-column flex-column-fluid flex-lg-row">
  52.             <div class="d-flex flex-center w-lg-50 pt-15 pt-lg-0 px-10">
  53.                 <div class="d-flex flex-center flex-lg-start flex-column">
  54.                     <a class="mb-7">
  55.                         <img alt="Logo" src="{{ asset('assets/media/logos/DocuManager_transparente.png')}}" />
  56.                     </a>
  57.                 </div>
  58.             </div>
  59.             <div class="d-flex flex-center w-lg-50 p-10">
  60.                 <div class="card rounded-3 w-md-550px">
  61.                     <div class="card-body p-10 p-lg-20">
  62.                         <form action="{{ path('index') }}" method="POST" accept-charset="UTF-8" class="form w-100" novalidate="novalidate" id="kt_sign_in_form" data-kt-redirect-url="<?= site_url('home'); ?>">
  63.                             
  64.                             <div class="text-center mb-11">
  65.                                 <h1 class="text-dark fw-bolder mb-3">Entrar</h1>
  66.                             </div>
  67.                             <div class="fv-row mb-8">
  68.                                 <input name="_username" type="email" placeholder="Email" value="{{ last_username }}" autocomplete="off" class="form-control bg-transparent" />
  69.                             </div>
  70.                             <div class="fv-row mb-3">
  71.                                 <input name="_password" type="password" placeholder="ContraseƱa" autocomplete="off" class="form-control bg-transparent" />                                
  72.                             </div>
  73.                             {% if error %}
  74.                                                             <div class="badget text-danger">
  75.                                                                 {{ error.message }}
  76.                                                             </div>
  77.                                                         {%  endif %}
  78.                             
  79.                             <div class="d-grid mb-10">
  80.                                 <button type="submit" id="kt_sign_in_submit" class="btn btn-primary">
  81.                                     <span class="indicator-label">Entrar</span>
  82.                                     <span class="indicator-progress">Entrando
  83.                                         <span class="spinner-border spinner-border-sm align-middle ms-2"></span>
  84.                                     </span>
  85.                                 </button>
  86.                             </div>
  87.                         </form>
  88.                     </div>
  89.                 </div>
  90.             </div>
  91.         </div>
  92.         <script>
  93.             var hostUrl = "assets/";            
  94.         </script>
  95.         <script src="{{ asset('assets/plugins/global/plugins.bundle.js')}}"></script>
  96.         <script src="{{ asset('assets/js/scripts.bundle.js')}}"></script>
  97.         {#<script src="assets/js/custom/authentication/sign-in/general.js"></script>#}
  98. {% endblock %}
  99. {% block footerjs %}
  100. {% endblock %}
  101. </body>
  102. </html>