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. <link rel="icon" href="{{asset('Logos/_logo_FCZ.png')}}">
  6. {% block stylesheets %}
  7.     {{ encore_entry_link_tags('app') }}
  8. {% endblock %}
  9. {% block javascripts %}
  10.     {{ encore_entry_script_tags('app') }}
  11. {% endblock %}
  12. <!-- NOTICE: You can use the _analytics.html partial to include production code specific code & trackers -->
  13. </head>
  14. <body>
  15.     <!-- NOTICE: You can use the _analytics.html partial to include production code specific code & trackers -->
  16.     
  17.     <main>
  18.         <!-- Section -->
  19.         <section class="vh-lg-100 mt-5 mt-lg-0 bg-soft d-flex align-items-center">
  20.             <div class="container">
  21.                 
  22.                 <div class="row justify-content-center form-bg-image" >
  23.                     <div class="col-12 d-flex align-items-center justify-content-center">
  24.                         <div class="bg-white shadow border-0 rounded border-light p-4 p-lg-5 w-100 fmxw-500">
  25.                             {% if error %}
  26.                                 <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  27.                             {% endif %}
  28.                             <div class="text-center text-md-center mb-4 mt-md-0">
  29.                                 <h1 class="mb-0 h3">Bienvenue!</h1>
  30.                             </div>
  31.                             <form method="post" class="mt-4">
  32.                                 <!-- Form -->
  33.                                 <div class="form-group mb-4">
  34.                                     <label for="email">Username</label>
  35.                                     <div class="input-group">
  36.                                         <span class="input-group-text" id="basic-addon1">
  37.                                             <i class="fa-solid fa-user"></i>
  38.                                         </span>
  39.                                         <input type="text" class="form-control" value="{{ last_username }}" name="username" placeholder="example@company.com" id="email" autofocus required>
  40.                                     </div>  
  41.                                 </div>
  42.                                 <!-- End of Form -->
  43.                                 <div class="form-group">
  44.                                     <!-- Form -->
  45.                                     <div class="form-group mb-4">
  46.                                         <label for="password">Password</label>
  47.                                         <div class="input-group">
  48.                                             <span class="input-group-text" id="basic-addon2">
  49.                                                 <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>
  50.                                             </span>
  51.                                             <input type="password" name="password" placeholder="Password" class="form-control" id="password" required>
  52.                                         </div>  
  53.                                     </div>
  54.                                     <!-- End of Form -->
  55.                                     
  56.                                 </div>
  57.                                 <div class="d-grid">
  58.                                     <button type="submit" class="btn btn-gray-800">Login</button>
  59.                                 </div>
  60.                                 <div class="text-center mt-4">
  61.                                         {# <div class="form-check">
  62.                                             <input class="form-check-input" name="_remember_me" type="checkbox" value="" id="remember">
  63.                                             <label class="form-check-label mb-0" for="remember">
  64.                                               Remember me
  65.                                             </label>
  66.                                         </div> #}
  67.                                         <div><a href="{{path('app_register')}}">Créer un compte ?</a></div>
  68.                                     </div>
  69.                                  <input type="hidden" name="_csrf_token"
  70.                                     value="{{ csrf_token('authenticate') }}"
  71.                                 >
  72.                             </form>
  73.                             
  74.                         </div>
  75.                     </div>
  76.                 </div>
  77.             </div>
  78.         </section>
  79.     </main>
  80.     
  81. </body>
  82. </html>