templates/security/baseconnexion.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="fr">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <meta name="description" content="">
  7.     <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
  8.     <meta name="generator" content="Hugo 0.79.0">
  9.     <title>Connexion intranet</title>    
  10.     <!-- Bootstrap core CSS -->
  11.     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
  12.             
  13.     <!-- Custom styles for this template -->
  14.     <link rel="stylesheet" type="text/css" href="/css/signin.css">
  15.     
  16.   </head>
  17.   <body class="text-center">
  18.   
  19.     
  20. <main class="form-signin">
  21. {% if error %}
  22. <div class="alert alert-warning">
  23. {{ error.messageKey | trans(error.messageData, 'security') }}
  24. </div>
  25. {% endif %}
  26.   <form action="{{path('app_login')}}" method="post">
  27.     <img class="mb-4" src="images/mail_logo.png" alt="logo" width="50" >
  28.     <h5 class="h5 mb-3 fw-normal">Lettre intranet</h5>
  29.     <label for="username" class="visually-hidden">Utilisateur</label>
  30.     <input type="text" id="username" name="username" class="form-control" placeholder="Utilisateur" required autofocus>
  31.     
  32.     <label for="password" class="visually-hidden">Mot de passe</label>
  33.     <input type="password" id="password" name="password" class="form-control" placeholder="Mot de passe" required>
  34.     <input type="hidden" name="_csrf_token"
  35.            value="{{ csrf_token('authenticate') }}"
  36.     >
  37.    
  38.     <button class="w-100 btn btn-lg btn-primary" type="submit">Connexion</button>
  39.   </form>
  40. </main>
  41.   </body>
  42. </html>