<!DOCTYPE html>
<html lang="en">
<head>
<base href="">
<title>Piensa PRO | {{ titlePage|default('Bienvenido') }} </title>
<meta charset="utf-8"/>
<meta name="description" content="una descripcion "/>
<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="Piensa Pro, Pensamiento Computacional"/>
<meta property="og:url" content="https://keenthemes.com/metronic"/>
<meta property="og:site_name" content="Piensa Pro | IAnalytics"/>
<link rel="canonical" href="https://preview.keenthemes.com/metronic8"/>
<link rel="shortcut icon" href="{{ asset('media/logos/favicon.ico') }}"/>
<!--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('css/piensapro.css') }}" rel="stylesheet" type="text/css"/>
<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/piensapro.css') }}" rel="stylesheet" type="text/css" />
{% 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 positon-xl-relative"
style="background-color: #8a99f2">
<!--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">
<!--begin::Logo-->
<a href="#" class="py-9 mb-5">
<img alt="Logo" src="{{ asset('media/logo-piensapro.png') }}" class="h-60px"/>
</a>
<!--end::Logo-->
<!--begin::Title-->
<h1 class="fw-bolder fs-2qx pb-5 pb-md-10">Bienvenido a PiensaPro</h1>
<!--end::Title-->
<!--begin::Description-->
<p class="fw-bold fs-2" style="font-weight: bold;">Una nueva forma de aprender </p>
<p style="font-size: 14px;"> Plataforma diseñada especialmente para que los docentes aprendan y usen
el Pensamiento Computacional en sus tareas diarias.</p>
<!--end::Description-->
</div>
<!--end::Content-->
<!--begin::Illustration-->
<div class=" loading d-flex flex-row-auto bgi-no-repeat bgi-position-x-center bgi-size-contain bgi-position-y-bottom min-h-100px min-h-lg-350px"
style="background-image: url({{ asset('media/illustrations/sigma-1/13.png') }}"></div>
<!--end::Illustration-->
</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/logo.png') }}" style="width: 250px;"/>
<!--begin::Title-->
<h1 class="text-dark mb-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('app_restore_password') }}" 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"/>
</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>
<!--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">iAnalytic.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>