templates/Front/Luminous/signin.html.twig line 1

Open in your IDE?
  1. {% extends "Global/luminous/layout.html.twig" %}
  2. {% set pagetitle = 'Sign in'|trans({}, 'messages') %}
  3. {% block title %}{{pagetitle}}{% endblock %}
  4. {% block content %}
  5.     <section class="hero-section">
  6.         <div class="container">
  7.             <div class="necesitas-section">
  8.                 <div class="row align-items-center gy-4 justify-content-center">
  9.                     <div class="col-lg-6 col-12">
  10.                         <div class="necesitas-title">
  11.                             <span>Todas las <strong>experiencias</strong> de los <strong>grandes públicos</strong> en un
  12.                                 mismo espacio.</span>
  13.                         </div>
  14.                         <div class="necesitas-log-in-image">
  15.                             <img src="{{ asset('assets/ll_assets/assets/img/Girl Black.png') }}" alt="">
  16.                         </div>
  17.                     </div>
  18.                     <div class="col-lg-1"></div>
  19.                     <div class="col-lg-5 col-md-6 col-12">
  20.                         <div class="panel panel-default">
  21.                             <div class="necesitas-registration-heading">
  22.                                 <span>Inicia sesión con tu correo y contraseña.</span>
  23.                             </div>
  24.                             <div class="panel-body">
  25.                                 {% if services.getSetting("social_login_facebook_enabled") == "yes" or
  26.                                 services.getSetting("social_login_google_enabled") == "yes" %}
  27.                                 <p>
  28.                                     {% if services.getSetting("social_login_facebook_enabled") == "yes" %}
  29.                                     <a href="{{ path('hwi_oauth_service_redirect', {'service': 'facebook' }) }}" class="btn btn-block btn-facebook"> <i
  30.                                             class="fab fa-facebook-f"></i> &nbsp; {{ 'Sign in via Facebook'|trans({}, 'messages') }}</a>
  31.                                     {% endif %}
  32.                                     {% if services.getSetting("social_login_google_enabled") == "yes" %}
  33.                                     <a href="{{ path('hwi_oauth_service_redirect', {'service': 'google' }) }}" class="btn btn-block btn-google-plus"> <i
  34.                                             class="fab fa-google"></i> &nbsp; {{ 'Sign in via Google'|trans({}, 'messages') }}</a>
  35.                                     {% endif %}
  36.                                 </p>
  37.                                 <p class="divider-text">
  38.                                     <span>{{ 'OR'|trans({}, 'messages') }}</span>
  39.                                 </p>
  40.                                 {% endif %}
  41.                                 {% if error %}
  42.                                 {% include "Global/message.html.twig" with { message: (error.messageKey|trans(error.messageData, 'security')), type:
  43.                                 "danger", icon: "fas fa-exclamation-circle" } %}
  44.                                 {% endif %}
  45.                                 <form id="Test" class="form-horizontal necesitas-registration-fromd" method="post" action="{{ path('fos_user_security_check') }}">
  46.                                     {% if csrf_token %}
  47.                                     <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
  48.                                     {% endif %}
  49.                                     <div class="form-group">
  50.                                         <div class="col-md-10 offset-1">
  51.                                             <label class="control-label">Correo electrónico corporativo</label>
  52.                                             <input type="text" autocomplete="username" class="form-control" name="_username"
  53.                                                 value="{{ last_username }}" placeholder="Escribe tu correo electrónico">
  54.                                         </div>
  55.                                     </div>
  56.                                     <div class="form-group">
  57.                                         <div class="col-md-10 offset-1">
  58.                                             <label class="control-label">Contraseña</label>
  59.                                             <div class=" d-flex login-password">
  60.                                                 <input id="password-field" type="password" class="form-control"
  61.                                                     name="_password" autocomplete="current-password"
  62.                                                     placeholder="Escribe tu cotrasena">
  63.                                                 <span toggle="#password-field"
  64.                                                     class="fa fa-fw fa-eye field-icon toggle-password"></span>
  65.                                             </div>
  66.                                         </div>
  67.                                     </div>
  68.                                     {% if app.request.get('_target_path') is not null %}
  69.                                     <input type="hidden" name="_target_path"
  70.                                         value="{{ app.request.get('_target_path') }}" />
  71.                                     {% endif %}
  72.                                     <div class="form-group Ingresar-button">
  73.                                         <div class=" offset-1 login-page">
  74.                                             <a href="{{path('ll_forget_password')}}">Olvidé mi contraseña</a>
  75.                                             <button type="submit" class="col-md-10 col-10 btn btn-outline-info">Ingresar</button>
  76.                                         </div>
  77.                                     </div>
  78.                                 </form>
  79.                             </div>
  80.                         </div>
  81.                     </div>
  82.                 </div>
  83.             </div>
  84.         </div>
  85.     </section>
  86. {% endblock %}