templates/security/login.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head> 
  4. <title>FCZ - Login</title>
  5. {% block stylesheets %}
  6.     {{ encore_entry_link_tags('app') }}
  7. {% endblock %}
  8. {% block javascripts %}
  9.     {{ encore_entry_script_tags('app') }}
  10. {% endblock %}
  11. <!-- NOTICE: You can use the _analytics.html partial to include production code specific code & trackers -->
  12. </head>
  13. <body>
  14.     <!-- NOTICE: You can use the _analytics.html partial to include production code specific code & trackers -->
  15.     
  16.     <main>
  17.         <!-- Section -->
  18.         <section class="vh-lg-100 mt-5 mt-lg-0 bg-soft d-flex align-items-center">
  19.             <div class="container">
  20.                 
  21.                 <div class="row justify-content-center form-bg-image" >
  22.                     <div class="col-12 d-flex align-items-center justify-content-center">
  23.                         <div class="bg-white shadow border-0 rounded border-light p-4 p-lg-5 w-100 fmxw-500">
  24.                             {% if error %}
  25.                                 <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  26.                             {% endif %}
  27.                             <div class="text-center text-md-center mb-4 mt-md-0">
  28.                                 <h1 class="mb-0 h3">Bienvenue!</h1>
  29.                             </div>
  30.                             <form method="post" class="mt-4">
  31.                                 <!-- Form -->
  32.                                 <div class="form-group mb-4">
  33.                                     <label for="email">Username</label>
  34.                                     <div class="input-group">
  35.                                         <span class="input-group-text" id="basic-addon1">
  36.                                             <i class="fa-solid fa-user"></i>
  37.                                         </span>
  38.                                         <input type="text" class="form-control" value="{{ last_username }}" name="username" placeholder="[email protected]" id="email" autofocus required>
  39.                                     </div>  
  40.                                 </div>
  41.                                 <!-- End of Form -->
  42.                                 <div class="form-group">
  43.                                     <!-- Form -->
  44.                                     <div class="form-group mb-4">
  45.                                         <label for="password">Password</label>
  46.                                         <div class="input-group">
  47.                                             <span class="input-group-text" id="basic-addon2">
  48.                                                 <svg class="icon icon-xs text-gray-600" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z" clip-rule="evenodd"></path></svg>
  49.                                             </span>
  50.                                             <input type="password" name="password" placeholder="Password" class="form-control" id="password" required>
  51.                                         </div>  
  52.                                     </div>
  53.                                     <!-- End of Form -->
  54.                                     
  55.                                 </div>
  56.                                 <div class="d-grid">
  57.                                     <button type="submit" class="btn btn-gray-800">Login</button>
  58.                                 </div>
  59.                                 <div class="text-center mt-4">
  60.                                         {# <div class="form-check">
  61.                                             <input class="form-check-input" name="_remember_me" type="checkbox" value="" id="remember">
  62.                                             <label class="form-check-label mb-0" for="remember">
  63.                                               Remember me
  64.                                             </label>
  65.                                         </div> #}
  66.                                         <div><a href="{{path('app_register')}}">Créer un compte ?</a></div>
  67.                                     </div>
  68.                                  <input type="hidden" name="_csrf_token"
  69.                                     value="{{ csrf_token('authenticate') }}"
  70.                                 >
  71.                             </form>
  72.                             
  73.                         </div>
  74.                     </div>
  75.                 </div>
  76.             </div>
  77.         </section>
  78.     </main>
  79.     
  80. </body>
  81. </html>