templates/security/index.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head><base href="">
  4.     <title>Agrovit Facturas | {{ titlePage|default('Bienvenido') }}  </title>
  5.     <meta charset="utf-8" />
  6.     <meta name="description" content="una descripcion " />
  7.     <meta name="keywords" content="palabras claves " />
  8.     <meta name="viewport" content="width=device-width, initial-scale=1" />
  9.     <meta property="og:locale" content="en_US" />
  10.     <meta property="og:type" content="article" />
  11.     <meta property="og:title" content="Laboratorio Iansa" />
  12.     <meta property="og:url" content="https://keenthemes.com/metronic" />
  13.     <meta property="og:site_name" content="Facturas | IAnalytics" />
  14.     <link rel="canonical" href="https://preview.keenthemes.com/metronic8" />
  15.     <link rel="icon" href="{{ asset('media/logo.png') }}">
  16.     <link rel="shortcut icon" href="#"/>    <!--begin::Fonts-->
  17.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" />
  18.     <!--end::Fonts-->
  19.     <!--begin::Page Vendor Stylesheets(used by this page)-->
  20.     <!--end::Page Vendor Stylesheets-->
  21.     <!--begin::Global Stylesheets Bundle(used by all pages)-->
  22.     <link href="{{ asset('plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />
  23.     <link href="{{ asset('css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
  24.     <link href="{{ asset('css/iansaLab.css') }}" rel="stylesheet" type="text/css" />
  25.     {% block stylesheets %}
  26.     {% endblock %}
  27. </head>
  28. <!--end::Head-->
  29. <!--begin::Body-->
  30. <body id="kt_body" class="bg-body">
  31. <div class="d-flex flex-column flex-root">
  32.     <!--begin::Authentication - Sign-in -->
  33.     <div class="d-flex flex-column flex-lg-row flex-column-fluid">
  34.         <!--begin::Aside-->
  35.         <div class="d-flex flex-column flex-lg-row-auto w-xl-600px positon-xl-relative" style="background-color: #107c69">
  36.             <!--begin::Wrapper-->
  37.             <div class="d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y">
  38.                 <!--begin::Content-->
  39.                 <div class="d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20">
  40.                     <!--begin::Title-->
  41.                 </div>
  42.             </div>
  43.             <!--end::Wrapper-->
  44.         </div>
  45.         <!--end::Aside-->
  46.         <!--begin::Body-->
  47.         <div class="d-flex flex-column flex-lg-row-fluid py-10">
  48.             <!--begin::Content-->
  49.             <div class="d-flex flex-center flex-column flex-column-fluid" >
  50.                 <!--begin::Wrapper-->
  51.                 <div class="w-lg-500px p-10 p-lg-15 mx-auto card" id="loginform">
  52.                     <!--begin::Form-->
  53.                     <form class="form w-100" novalidate="novalidate" id="kt_sign_in_form"   action="{{ path('app_login') }}"   method="post" >
  54.                         <!--begin::Heading-->
  55.                         <div class="text-center mb-4">
  56.                             <img  alt="Logo" src="{{ asset('media/logo.png') }}" style="width: 300px; margin-bottom: -20%"  />
  57.                             <h1 class="text-dark mb-3">Inicio de Sesión</h1>
  58.                             {% if error %}
  59.                                 <div class="alert alert-danger d-flex align-items-center p-5 mb-10">
  60.                                     <!--begin::Svg Icon | path: icons/duotune/general/gen048.svg-->
  61.                                     <span class="  me-2" style="zoom: 3"><i class=" text-danger fas fa-exclamation-triangle"></i></span>
  62.                                     <!--end::Svg Icon-->
  63.                                     <div class="d-flex flex-column" style="text-align: start;">
  64.                                         <h4 class="mb-1 text-danger">Ha ocurrido un error </h4>
  65.                                         <span>{{ error.messageKey }}</span>
  66.                                     </div>
  67.                                 </div>
  68.                             {% endif %}
  69.                             <hr>
  70.                         </div>
  71.                         <!--begin::Heading-->
  72.                         <!--begin::Input group-->
  73.                    
  74.                         <div class="fv-row mb-10">
  75.                             <!--begin::Label-->
  76.                             <label class="form-label fs-6 fw-bolder text-dark">Nombre de Usuario</label>
  77.                             <!--end::Label-->
  78.                             <!--begin::Input-->
  79.                             <input class="form-control form-control-lg form-control-solid" type="text" value="{{ last_username }}" name="userName" id="userName" required   autocomplete="off" />
  80.                             <!--end::Input-->
  81.                             <input type="hidden" name="_csrf_token"
  82.                                    value="{{ csrf_token('authenticate') }}" >
  83.                         </div>
  84.                         <!--end::Input group-->
  85.                         <!--begin::Input group-->
  86.                         <div class="fv-row mb-10">
  87.                             <!--begin::Wrapper-->
  88.                             <div class="d-flex flex-stack mb-2">
  89.                                 <!--begin::Label-->
  90.                                 <label class="form-label fw-bolder text-dark fs-6 mb-0">Contraseña</label>
  91.                                 <!--end::Label-->
  92.                                 <div style="" class="mt-5">
  93.                                     <a href="javascript:void(0)" id="showPass" class="link-primary fs-6 fw-bolder" style="display: none;">Recuperar Contraseña</a>
  94.                                 </div>
  95.                                 <!--end::Link-->
  96.                             </div>
  97.                             <!--end::Wrapper-->
  98.                             <!--begin::Input-->
  99.                             <input class="form-control form-control-lg form-control-solid" type="password"  name="password" id="inputPassword"  autocomplete="off" />
  100.                             <!--end::Input-->
  101.                         </div>
  102.                         <!--begin::Input group-->
  103.                         <!--end::Input group-->
  104.                         <!--begin::Actions-->
  105.                         <div class="text-center">
  106.                             <!--begin::Submit button-->
  107.                             <button type="submit" id="loginButton" class="btn btn-lg w-100 mb-5" style="background: #b2cf38;color: #ffffff">
  108.                                 <span class="indicator-label">Ingresar</span>
  109.                             </button>
  110.                         </div>
  111.                         <!--end::Actions-->
  112.                     </form>
  113.                     <!--end::Form-->
  114.                 </div>
  115.                 <!--end::Wrapper-->
  116.             </div>
  117.             <!--end::Content-->
  118.             <!--begin::Footer-->
  119.             <div class="d-flex flex-center flex-wrap fs-6 p-5 pb-0">
  120.                 <!--begin::Links-->
  121.                 <div class="d-flex flex-center fw-bold fs-6">
  122.                     <a href="https://ianalytics.cl" class="text-muted text-hover-primary px-2" target="_blank">iAnalytic.cl</a>
  123.                 </div>
  124.                 <!--end::Links-->
  125.             </div>
  126.             <!--end::Footer-->
  127.         </div>
  128.         <!--end::Body-->
  129.     </div>
  130.     <!--end::Authentication - Sign-in-->
  131. </div>
  132. <!--begin::Global Javascript Bundle(used by all pages)-->
  133. <script src="{{ asset('plugins/global/plugins.bundle.js') }}  "></script>
  134. <script src="{{ asset('js/scripts.bundle.js') }} "></script>
  135. <script>
  136.     {% for flashMessage in app.session.flashbag.get('error') %}
  137.     Swal.fire({
  138.         text: "{{ flashMessage }}",
  139.         icon: "error",
  140.         timer: 2000,
  141.         showConfirmButton: false,
  142.         showCancelButton: false,
  143.     });
  144.     {% endfor %}
  145.     $('#showLogin').click(function () {
  146.         $('#restorepass').hide();
  147.         $('#loginform').show();
  148.     });
  149.     $('#showPass').click(function () {
  150.         $('#restorepass').show();
  151.         $('#loginform').hide();
  152.     });
  153. </script>
  154. </body>
  155. <!--end::Body-->
  156. </html>