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>Piensa PRO | {{ titlePage|default('Bienvenido') }}  </title>
  6.     <meta charset="utf-8"/>
  7.     <meta name="description" content="una descripcion "/>
  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="Piensa Pro, Pensamiento Computacional"/>
  13.     <meta property="og:url" content="https://keenthemes.com/metronic"/>
  14.     <meta property="og:site_name" content="Piensa Pro | IAnalytics"/>
  15.     <link rel="canonical" href="https://preview.keenthemes.com/metronic8"/>
  16.     <link rel="shortcut icon" href="{{ asset('media/logos/favicon.ico') }}"/>
  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('css/piensapro.css') }}" rel="stylesheet" type="text/css"/>
  24.     <link href="{{ asset('plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />
  25.     <link href="{{ asset('css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
  26.     <link href="{{ asset('css/piensapro.css') }}" rel="stylesheet" type="text/css" />
  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 positon-xl-relative"
  38.              style="background-color: #8a99f2">
  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.                     <!--begin::Logo-->
  44.                     <a href="#" class="py-9 mb-5">
  45.                         <img alt="Logo" src="{{ asset('media/logo-piensapro.png') }}" class="h-60px"/>
  46.                     </a>
  47.                     <!--end::Logo-->
  48.                     <!--begin::Title-->
  49.                     <h1 class="fw-bolder fs-2qx pb-5 pb-md-10">Bienvenido a PiensaPro</h1>
  50.                     <!--end::Title-->
  51.                     <!--begin::Description-->
  52.                     <p class="fw-bold fs-2" style="font-weight: bold;">Una nueva forma de aprender </p>
  53.                     <p style="font-size: 14px;"> Plataforma diseñada especialmente para que los docentes aprendan y usen
  54.                         el Pensamiento Computacional en sus tareas diarias.</p>
  55.                     <!--end::Description-->
  56.                 </div>
  57.                 <!--end::Content-->
  58.                 <!--begin::Illustration-->
  59.                 <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"
  60.                      style="background-image: url({{ asset('media/illustrations/sigma-1/13.png') }}"></div>
  61.                 <!--end::Illustration-->
  62.             </div>
  63.             <!--end::Wrapper-->
  64.         </div>
  65.         <!--end::Aside-->
  66.         <!--begin::Body-->
  67.         <div class="d-flex flex-column flex-lg-row-fluid py-10">
  68.             <!--begin::Content-->
  69.             <div class="d-flex flex-center flex-column flex-column-fluid">
  70.                 <!--begin::Wrapper-->
  71.                 <div class="w-lg-500px p-10 p-lg-15 mx-auto">
  72.                     <!--begin::Form-->
  73.                     <!--begin::Heading-->
  74.                     <div class="text-center mb-4">
  75.                         <img alt="Logo" src="{{ asset('media/logo.png') }}" style="width: 250px;"/>
  76.                         <!--begin::Title-->
  77.                         <h1 class="text-dark mb-3">Inicio de Sesión</h1>
  78.                         {% if error %}
  79.                             <div class="alert alert-danger d-flex align-items-center p-5 mb-10">
  80.                                 <!--begin::Svg Icon | path: icons/duotune/general/gen048.svg-->
  81.                                 <span class="  me-2" style="zoom: 3"><i
  82.                                             class=" text-danger fas fa-exclamation-triangle"></i></span>
  83.                                 <!--end::Svg Icon-->
  84.                                 <div class="d-flex flex-column" style="text-align: start;">
  85.                                     <h4 class="mb-1 text-danger">Ha ocurrido un error </h4>
  86.                                     <span>{{ error.messageKey }}</span>
  87.                                 </div>
  88.                             </div>
  89.                         {% endif %}
  90.                         <hr>
  91.                     </div>
  92.                     <div id="logins" style="display: block">
  93.                     <form class="form w-100" novalidate="novalidate" id="kt_sign_in_form"
  94.                           action="{{ path('app_login') }}" method="post">
  95.                         <div class="fv-row mb-10">
  96.                             <!--begin::Label-->
  97.                             <label class="form-label fs-6 fw-bolder text-dark">Correo Electrónico</label>
  98.                             <!--end::Label-->
  99.                             <!--begin::Input-->
  100.                             <input class="form-control form-control-lg form-control-solid" type="email"
  101.                                    value="{{ last_username }}" name="email" id="email" required autocomplete="off"/>
  102.                             <!--end::Input-->
  103.                             <input type="hidden" name="_csrf_token"
  104.                                    value="{{ csrf_token('authenticate') }}"
  105.                             >
  106.                         </div>
  107.                         <!--end::Input group-->
  108.                         <!--begin::Input group-->
  109.                         <div class="fv-row mb-10">
  110.                             <!--begin::Wrapper-->
  111.                             <div class="d-flex flex-stack mb-2">
  112.                                 <!--begin::Label-->
  113.                                 <label class="form-label fw-bolder text-dark fs-6 mb-0">Contraseña</label>
  114.                                 <!--end::Label-->
  115.                                 <!--begin::Link-->
  116.                                 <a id="requestPass" class="link-primary fs-6 fw-bolder">¿Solicitar Contraseña?</a>
  117.                                 <!--end::Link-->
  118.                             </div>
  119.                             <!--end::Wrapper-->
  120.                             <!--begin::Input-->
  121.                             <input class="form-control form-control-lg form-control-solid" type="password"
  122.                                    name="password" id="inputPassword" autocomplete="off"/>
  123.                             <!--end::Input-->
  124.                         </div>
  125.                         <!--begin::Input group-->
  126.                         <!--end::Input group-->
  127.                         <!--begin::Actions-->
  128.                         <div class="text-center">
  129.                             <!--begin::Submit button-->
  130.                             <button type="submit" class="btn btn-lg btn-primary w-100 mb-5">
  131.                                 <span class="indicator-label">Ingresar</span>
  132.                             </button>
  133.                         </div>
  134.                         <!--end::Actions-->
  135.                     </form>
  136.                     </div>
  137.                     <div id="passRequest" style="display: none">
  138.                         <form class="form w-100" novalidate="novalidate"
  139.                               action="{{ path('app_restore_password') }}" method="post">
  140.                             <div class="fv-row mb-10">
  141.                                 <!--begin::Label-->
  142.                                 <label class="form-label fs-6 fw-bolder text-dark">Correo Electrónico</label>
  143.                                 <!--end::Label-->
  144.                                 <!--begin::Input-->
  145.                                 <input class="form-control form-control-lg form-control-solid" type="email"
  146.                                        value="{{ last_username }}" name="email" id="email" required autocomplete="off"/>
  147.                             </div>
  148.                             <div class="text-center">
  149.                                 <!--begin::Submit button-->
  150.                                 <button type="submit" class="btn btn-lg btn-primary w-100 mb-5">
  151.                                     <span class="indicator-label">Solicitar Contraseña</span>
  152.                                 </button>
  153.                             </div>
  154.                             <!--end::Actions-->
  155.                         </form>
  156.                     </div>
  157.                     <!--end::Form-->
  158.                 </div>
  159.                 <!--end::Wrapper-->
  160.             </div>
  161.             <!--end::Content-->
  162.             <!--begin::Footer-->
  163.             <div class="d-flex flex-center flex-wrap fs-6 p-5 pb-0">
  164.                 <!--begin::Links-->
  165.                 <div class="d-flex flex-center fw-bold fs-6">
  166.                     <a href="https://ianalytics.cl" class="text-muted text-hover-primary px-2" target="_blank">iAnalytic.cl</a>
  167.                 </div>
  168.                 <!--end::Links-->
  169.             </div>
  170.             <!--end::Footer-->
  171.         </div>
  172.         <!--end::Body-->
  173.     </div>
  174.     <!--end::Authentication - Sign-in-->
  175. </div>
  176. <!--begin::Global Javascript Bundle(used by all pages)-->
  177. <script src="{{ asset('plugins/global/plugins.bundle.js') }}  "></script>
  178. <script src="{{ asset('js/scripts.bundle.js') }} "></script>
  179. <script>
  180.     {% for flashMessage in app.session.flashbag.get('error') %}
  181.     Swal.fire({
  182.         text: "{{ flashMessage }}",
  183.         icon: "error",
  184.         timer: 2000,
  185.         showConfirmButton: false,
  186.         showCancelButton: false,
  187.     });
  188.     {% endfor %}
  189.     {% for flashMessage in app.session.flashbag.get('success') %}
  190.     Swal.fire({
  191.         text: "{{ flashMessage }}",
  192.         icon: "success",
  193.         timer: 2000,
  194.         showConfirmButton: false,
  195.         showCancelButton: false,
  196.     });
  197.     {% endfor %}
  198.     {% for flashMessage in app.session.flashbag.get('info') %}
  199.     Swal.fire({
  200.         text: "{{ flashMessage }}",
  201.         icon: "info",
  202.         timer: 2000,
  203.         showConfirmButton: false,
  204.         showCancelButton: false,
  205.     });
  206.     {% endfor %}
  207.      $('#requestPass').click( function (e) {
  208.           $('#passRequest').show();
  209.           $('#logins').hide();
  210.      } )
  211. </script>
  212. </body>
  213. <!--end::Body-->
  214. </html>