templates/security/index.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <base href="">
  5.     <title> Gestión de Servicios IANSA {{ titlePage|default('Bienvenido') }}  </title>
  6.     <meta charset="utf-8"/>
  7.     <meta name="description" content=""/>
  8.     <meta name="keywords" content="palabras claves "/>
  9.     <meta name="viewport" content="width=device-width, initial-scale=1"/>
  10.     <meta property="og:locale" content="en_US"/>
  11.     <meta property="og:type" content="article"/>
  12.     <meta property="og:title" content="Iansa, Servicios"/>
  13.     <meta property="og:url" content="https://keenthemes.com/metronic"/>
  14.     <meta property="og:site_name" content="Audítoria | IAnalytics"/>
  15.     <link rel="canonical" href="https://preview.keenthemes.com/metronic8"/>
  16.     <link rel="shortcut icon" href="{{ asset('media/logoicon.png') }}"/>
  17.     <!--begin::Fonts-->
  18.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"/>
  19.     <!--end::Fonts-->
  20.     <!--begin::Page Vendor Stylesheets(used by this page)-->
  21.     <!--end::Page Vendor Stylesheets-->
  22.     <!--begin::Global Stylesheets Bundle(used by all pages)-->
  23.     <link href="{{ asset('plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />
  24.     <link href="{{ asset('css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
  25.     <link href="{{ asset('css/service.css') }}" rel="stylesheet" type="text/css" />
  26.     {% set headerImg = 'media/patterns/PENUP_20250221_130239.jpg' %}
  27.     {% block stylesheets %}
  28.     {% endblock %}
  29. </head>
  30. <!--end::Head-->
  31. <!--begin::Body-->
  32. <body id="kt_body" class="bg-body">
  33. <div class="d-flex flex-column flex-root">
  34.     <!--begin::Authentication - Sign-in -->
  35.     <div class="d-flex flex-column flex-lg-row flex-column-fluid">
  36.         <!--begin::Aside-->
  37.         <div class="d-flex flex-column flex-lg-row-auto w-xl-600px position-xl-relative"
  38.              style="background-image: url({{ asset(headerImg) }}); background-size: cover; background-repeat: no-repeat; background-position: center;">
  39.         <!--begin::Wrapper-->
  40.             <div class="d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y">
  41.                 <!--begin::Content-->
  42.                 <div class="d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20">
  43.                 </div>
  44.                 <!--end::Content-->
  45.             </div>
  46.             <!--end::Wrapper-->
  47.         </div>
  48.         <!--end::Aside-->
  49.         <!--begin::Body-->
  50.         <div class="d-flex flex-column flex-lg-row-fluid py-10">
  51.             <!--begin::Content-->
  52.             <div class="d-flex flex-center flex-column flex-column-fluid">
  53.                 <!--begin::Wrapper-->
  54.                 <div class="w-lg-500px p-10 p-lg-15 mx-auto">
  55.                     <!--begin::Form-->
  56.                     <!--begin::Heading-->
  57.                     <div class="text-center mb-4">
  58.                         <img  alt="Logo" src="{{ asset('media/logo2.png') }}"
  59.                               style="width: 250px;" />
  60.                         <!--begin::Title-->
  61.                         <h1 class="text-dark mb-3 mt-3">Inicio de Sesión</h1>
  62.                         {% if error %}
  63.                             <div class="alert alert-danger d-flex align-items-center p-5 mb-10">
  64.                                 <!--begin::Svg Icon | path: icons/duotune/general/gen048.svg-->
  65.                                 <span class="  me-2" style="zoom: 3"><i
  66.                                             class=" text-danger fas fa-exclamation-triangle"></i></span>
  67.                                 <!--end::Svg Icon-->
  68.                                 <div class="d-flex flex-column" style="text-align: start;">
  69.                                     <h4 class="mb-1 text-danger">Ha ocurrido un error </h4>
  70.                                     <span>{{ error.messageKey }}</span>
  71.                                 </div>
  72.                             </div>
  73.                         {% endif %}
  74.                         <hr>
  75.                     </div>
  76.                     <div id="logins" style="display: block">
  77.                         <form class="form w-100" novalidate="novalidate" id="kt_sign_in_form"
  78.                               action="{{ path('app_login') }}" method="post">
  79.                             <div class="fv-row mb-10">
  80.                                 <!--begin::Label-->
  81.                                 <label class="form-label fs-6 fw-bolder text-dark">Correo Electrónico</label>
  82.                                 <!--end::Label-->
  83.                                 <!--begin::Input-->
  84.                                 <input class="form-control form-control-lg form-control-solid" type="email"
  85.                                        value="{{ last_username }}" name="email" id="email" required autocomplete="off"/>
  86.                                 <!--end::Input-->
  87.                                 <input type="hidden" name="_csrf_token"
  88.                                        value="{{ csrf_token('authenticate') }}">
  89.                             </div>
  90.                             <!--end::Input group-->
  91.                             <!--begin::Input group-->
  92.                             <div class="fv-row mb-10">
  93.                                 <!--begin::Wrapper-->
  94.                                 <div class="d-flex flex-stack mb-2">
  95.                                     <!--begin::Label-->
  96.                                     <label class="form-label fw-bolder text-dark fs-6 mb-0">Contraseña</label>
  97.                                     <!--end::Label-->
  98.                                     <!--begin::Link-->
  99.                                     <!--<a id="requestPass" class="link-primary fs-6 fw-bolder">¿Solicitar Contraseña?</a>-->
  100.                                     <!--end::Link-->
  101.                                 </div>
  102.                                 <!--end::Wrapper-->
  103.                                 <!--begin::Input-->
  104.                                 <input class="form-control form-control-lg form-control-solid" type="password"
  105.                                        name="password" id="inputPassword" autocomplete="off"/>
  106.                                 <!--end::Input-->
  107.                             </div>
  108.                             <!--begin::Input group-->
  109.                             <!--end::Input group-->
  110.                             <!--begin::Actions-->
  111.                             <div class="text-center">
  112.                                 <!--begin::Submit button-->
  113.                                 <button type="submit" class="btn btn-lg btn-primary w-100 mb-5">
  114.                                     <span class="indicator-label">Ingresar</span>
  115.                                 </button>
  116.                             </div>
  117.                             <!--end::Actions-->
  118.                         </form>
  119.                     </div>
  120.                     <div id="passRequest" style="display: none">
  121.                         <form class="form w-100" novalidate="novalidate"
  122.                               action="{{ path('register_provider_post') }}" method="post">
  123.                             <div class="fv-row mb-10">dUser
  124.                                 <!--begin::Label-->
  125.                                 <label class="form-label fs-6 fw-bolder text-dark">Correo Electrónico</label>
  126.                                 <!--end::Label-->
  127.                                 <!--begin::Input-->
  128.                                 <input class="form-control form-control-lg form-control-solid" type="email"
  129.                                        value="{{ last_username }}" name="emailR" id="emailR" required autocomplete="off"/>
  130.                             </div>
  131.                             <div class="text-center">
  132.                                 <!--begin::Submit button-->
  133.                                 <button type="submit" class="btn btn-lg btn-primary w-100 mb-5">
  134.                                     <span class="indicator-label">Solicitar Contraseña</span>
  135.                                 </button>
  136.                             </div>
  137.                             <!--end::Actions-->
  138.                         </form>
  139.                     </div>
  140.                     <div class="text-center mt-2">
  141.                         <a href="{{ path('register_provider') }}" id="registerUserBtn" class="btn btn-secondary btn-sm">
  142.                             Registrarse
  143.                         </a>
  144.                     </div>
  145.                     <!--end::Form-->
  146.                 </div>
  147.                 <!--end::Wrapper-->
  148.             </div>
  149.             <!--end::Content-->
  150.             <!--begin::Footer-->
  151.             <div class="d-flex flex-center flex-wrap fs-6 p-5 pb-0">
  152.                 <!--begin::Links-->
  153.                 <div class="d-flex flex-center fw-bold fs-6">
  154.                     <a href="https://ianalytics.cl" class="text-muted text-hover-primary px-2" target="_blank">iAnalytics.cl</a>
  155.                 </div>
  156.                 <!--end::Links-->
  157.             </div>
  158.             <!--end::Footer-->
  159.         </div>
  160.         <!--end::Body-->
  161.     </div>
  162.     <!--end::Authentication - Sign-in-->
  163. </div>
  164. <!--begin::Global Javascript Bundle(used by all pages)-->
  165. <script src="{{ asset('plugins/global/plugins.bundle.js') }}  "></script>
  166. <script src="{{ asset('js/scripts.bundle.js') }} "></script>
  167. <script>
  168.     {% for flashMessage in app.session.flashbag.get('error') %}
  169.     Swal.fire({
  170.         text: "{{ flashMessage }}",
  171.         icon: "error",
  172.         timer: 2000,
  173.         showConfirmButton: false,
  174.         showCancelButton: false,
  175.     });
  176.     {% endfor %}
  177.     {% for flashMessage in app.session.flashbag.get('success') %}
  178.     Swal.fire({
  179.         text: "{{ flashMessage }}",
  180.         icon: "success",
  181.         timer: 2000,
  182.         showConfirmButton: false,
  183.         showCancelButton: false,
  184.     });
  185.     {% endfor %}
  186.     {% for flashMessage in app.session.flashbag.get('info') %}
  187.     Swal.fire({
  188.         text: "{{ flashMessage }}",
  189.         icon: "info",
  190.         timer: 2000,
  191.         showConfirmButton: false,
  192.         showCancelButton: false,
  193.     });
  194.     {% endfor %}
  195.     $('#requestPass').click( function (e) {
  196.         $('#passRequest').show();
  197.         $('#logins').hide();
  198.     } )
  199. </script>
  200. </body>
  201. <!--end::Body-->
  202. </html>