<!DOCTYPE html>
<html lang="en">
<head>
<base href="">
<title> Gestión de Servicios IANSA {{ titlePage|default('Bienvenido') }} </title>
<meta charset="utf-8"/>
<meta name="description" content=""/>
<meta name="keywords" content="palabras claves "/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="Iansa, Servicios"/>
<meta property="og:url" content="https://keenthemes.com/metronic"/>
<meta property="og:site_name" content="Audítoria | IAnalytics"/>
<link rel="canonical" href="https://preview.keenthemes.com/metronic8"/>
<link rel="shortcut icon" href="{{ asset('media/logoicon.png') }}"/>
<!--begin::Fonts-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"/>
<!--end::Fonts-->
<!--begin::Page Vendor Stylesheets(used by this page)-->
<!--end::Page Vendor Stylesheets-->
<!--begin::Global Stylesheets Bundle(used by all pages)-->
<link href="{{ asset('plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('css/service.css') }}" rel="stylesheet" type="text/css" />
{% set headerImg = 'media/patterns/PENUP_20250221_130239.jpg' %}
{% block stylesheets %}
{% endblock %}
</head>
<!--end::Head-->
<!--begin::Body-->
<body id="kt_body" class="bg-body">
<div class="d-flex flex-column flex-root">
<!--begin::Authentication - Sign-in -->
<div class="d-flex flex-column flex-lg-row flex-column-fluid">
<!--begin::Aside-->
<div class="d-flex flex-column flex-lg-row-auto w-xl-600px position-xl-relative"
style="background-image: url({{ asset(headerImg) }}); background-size: cover; background-repeat: no-repeat; background-position: center;">
<!--begin::Wrapper-->
<div class="d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y">
<!--begin::Content-->
<div class="d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20">
</div>
<!--end::Content-->
</div>
<!--end::Wrapper-->
</div>
<!--end::Aside-->
<!--begin::Body-->
<div class="d-flex flex-column flex-lg-row-fluid py-10">
<!--begin::Content-->
<div class="d-flex flex-center flex-column flex-column-fluid">
<!--begin::Wrapper-->
<div class="w-lg-500px p-10 p-lg-15 mx-auto">
<!--begin::Form-->
<!--begin::Heading-->
<div class="text-center mb-4">
<img alt="Logo" src="{{ asset('media/logo2.png') }}"
style="width: 250px;" />
<!--begin::Title-->
<h1 class="text-dark mb-3 mt-3">Inicio de Sesión</h1>
{% if error %}
<div class="alert alert-danger d-flex align-items-center p-5 mb-10">
<!--begin::Svg Icon | path: icons/duotune/general/gen048.svg-->
<span class=" me-2" style="zoom: 3"><i
class=" text-danger fas fa-exclamation-triangle"></i></span>
<!--end::Svg Icon-->
<div class="d-flex flex-column" style="text-align: start;">
<h4 class="mb-1 text-danger">Ha ocurrido un error </h4>
<span>{{ error.messageKey }}</span>
</div>
</div>
{% endif %}
<hr>
</div>
<div id="logins" style="display: block">
<form class="form w-100" novalidate="novalidate" id="kt_sign_in_form"
action="{{ path('app_login') }}" method="post">
<div class="fv-row mb-10">
<!--begin::Label-->
<label class="form-label fs-6 fw-bolder text-dark">Correo Electrónico</label>
<!--end::Label-->
<!--begin::Input-->
<input class="form-control form-control-lg form-control-solid" type="email"
value="{{ last_username }}" name="email" id="email" required autocomplete="off"/>
<!--end::Input-->
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}">
</div>
<!--end::Input group-->
<!--begin::Input group-->
<div class="fv-row mb-10">
<!--begin::Wrapper-->
<div class="d-flex flex-stack mb-2">
<!--begin::Label-->
<label class="form-label fw-bolder text-dark fs-6 mb-0">Contraseña</label>
<!--end::Label-->
<!--begin::Link-->
<!--<a id="requestPass" class="link-primary fs-6 fw-bolder">¿Solicitar Contraseña?</a>-->
<!--end::Link-->
</div>
<!--end::Wrapper-->
<!--begin::Input-->
<input class="form-control form-control-lg form-control-solid" type="password"
name="password" id="inputPassword" autocomplete="off"/>
<!--end::Input-->
</div>
<!--begin::Input group-->
<!--end::Input group-->
<!--begin::Actions-->
<div class="text-center">
<!--begin::Submit button-->
<button type="submit" class="btn btn-lg btn-primary w-100 mb-5">
<span class="indicator-label">Ingresar</span>
</button>
</div>
<!--end::Actions-->
</form>
</div>
<div id="passRequest" style="display: none">
<form class="form w-100" novalidate="novalidate"
action="{{ path('register_provider_post') }}" method="post">
<div class="fv-row mb-10">dUser
<!--begin::Label-->
<label class="form-label fs-6 fw-bolder text-dark">Correo Electrónico</label>
<!--end::Label-->
<!--begin::Input-->
<input class="form-control form-control-lg form-control-solid" type="email"
value="{{ last_username }}" name="emailR" id="emailR" required autocomplete="off"/>
</div>
<div class="text-center">
<!--begin::Submit button-->
<button type="submit" class="btn btn-lg btn-primary w-100 mb-5">
<span class="indicator-label">Solicitar Contraseña</span>
</button>
</div>
<!--end::Actions-->
</form>
</div>
<div class="text-center mt-2">
<a href="{{ path('register_provider') }}" id="registerUserBtn" class="btn btn-secondary btn-sm">
Registrarse
</a>
</div>
<!--end::Form-->
</div>
<!--end::Wrapper-->
</div>
<!--end::Content-->
<!--begin::Footer-->
<div class="d-flex flex-center flex-wrap fs-6 p-5 pb-0">
<!--begin::Links-->
<div class="d-flex flex-center fw-bold fs-6">
<a href="https://ianalytics.cl" class="text-muted text-hover-primary px-2" target="_blank">iAnalytics.cl</a>
</div>
<!--end::Links-->
</div>
<!--end::Footer-->
</div>
<!--end::Body-->
</div>
<!--end::Authentication - Sign-in-->
</div>
<!--begin::Global Javascript Bundle(used by all pages)-->
<script src="{{ asset('plugins/global/plugins.bundle.js') }} "></script>
<script src="{{ asset('js/scripts.bundle.js') }} "></script>
<script>
{% for flashMessage in app.session.flashbag.get('error') %}
Swal.fire({
text: "{{ flashMessage }}",
icon: "error",
timer: 2000,
showConfirmButton: false,
showCancelButton: false,
});
{% endfor %}
{% for flashMessage in app.session.flashbag.get('success') %}
Swal.fire({
text: "{{ flashMessage }}",
icon: "success",
timer: 2000,
showConfirmButton: false,
showCancelButton: false,
});
{% endfor %}
{% for flashMessage in app.session.flashbag.get('info') %}
Swal.fire({
text: "{{ flashMessage }}",
icon: "info",
timer: 2000,
showConfirmButton: false,
showCancelButton: false,
});
{% endfor %}
$('#requestPass').click( function (e) {
$('#passRequest').show();
$('#logins').hide();
} )
</script>
</body>
<!--end::Body-->
</html>