templates/security/forgot_password.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.0">
  6. <title>Authentification</title>
  7. <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
  8. <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
  9. <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  10. <style>
  11.     {# html, body {
  12.         background-color: rgb(122, 163, 185);
  13.     } #}
  14. html, body {
  15.     height: 100%;
  16.     margin: 0;
  17.     padding: 0;
  18. }
  19. body {
  20.     position: relative;
  21.         /*background: url('/img/bg2.png') no-repeat center center fixed;/*ancienne bgcanva3.png*/
  22.     background-size: cover;
  23. }
  24. body::before {
  25.     content: "";
  26.     position: absolute;
  27.     top: 0;
  28.     left: 0;
  29.     width: 100%;
  30.     height: 100%;
  31.     background-color: rgba(201, 239, 255, 0.5); /* Couche blanche semi-transparente */
  32.     z-index: -1;
  33. }
  34.     body {
  35.         font-family: "Poppins", sans-serif;
  36.         height: 100vh;
  37.     }
  38.     a {
  39.         color: #123c59;
  40.         display: inline-block;
  41.         text-decoration: none;
  42.         font-weight: 400;
  43.     }
  44.     h2 {
  45.         text-align: center;
  46.         font-size: 16px;
  47.         font-weight: 600;
  48.         text-transform: uppercase;
  49.         display: inline-block;
  50.         margin: 40px 8px 10px 8px;
  51.         color: #cccccc;
  52.     }
  53.     .wrapper {
  54.         display: flex;
  55.         align-items: center;
  56.         flex-direction: column;
  57.         justify-content: center;
  58.         width: 100%;
  59.         min-height: 100%;
  60.         padding: 20px;
  61.     }
  62.     #formContent {
  63.         border-radius: 10px;
  64.         background: #fff;
  65.         width: 90%;
  66.         max-width: 600px;
  67.         position: relative;
  68.         padding: 30px 30px 30px 30px;
  69.         box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  70.         text-align: center;
  71.     }
  72.     #formTitle {
  73.         background-color: #f6f6f6;
  74.         border-top: 1px solid #dce8f1;
  75.         padding: 25px;
  76.         text-align: center;
  77.         border-radius: 0 0 10px 10px;
  78.     }
  79.     input[type=button], input[type=submit], input[type=reset] {
  80.         background-color:#123c59;
  81.         border: none;
  82.         color: white;
  83.         padding: 15px 40px;
  84.         text-align: center;
  85.         text-decoration: none;
  86.         display: inline-block;
  87.         text-transform: uppercase;
  88.         font-size: 13px;
  89.         box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
  90.         border-radius: 5px;
  91.         margin: 5px 20px 40px 20px;
  92.         transition: all 0.3s ease-in-out;
  93.     }
  94.     input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  95.         background-color:rgb(124, 168, 191);
  96.     }
  97.     input[type=text], input[type=password],input[type=email] {
  98.         background-color: #f6f6f6;
  99.         border: none;
  100.         color: #0d0d0d;
  101.         padding: 15px 32px;
  102.         text-align: center;
  103.         text-decoration: none;
  104.         display: inline-block;
  105.         font-size: 16px;
  106.         margin: 5px;
  107.         width: 85%;
  108.         border: 2px solid #f6f6f6;
  109.         transition: all 0.5s ease-in-out;
  110.         border-radius: 5px;
  111.     }
  112.     input[type=text]:focus, input[type=password]:focus {
  113.         background-color: #fff;
  114.         border-bottom: 2px solid rgb(124, 168, 191);
  115.     }
  116.     .fadeInDown {
  117.         animation: fadeInDown 1s both;
  118.     }
  119.     @keyframes fadeInDown {
  120.         0% {
  121.             opacity: 0;
  122.             transform: translate3d(0, -100%, 0);
  123.         }
  124.         100% {
  125.             opacity: 1;
  126.             transform: none;
  127.         }
  128.     }
  129.     *:focus {
  130.         outline: none;
  131.     }
  132.     @media only screen and (max-width: 767px) {
  133.         .logo {
  134.             font-size: 34px;
  135.         }
  136.     }
  137. .sinscrire {
  138.     text-transform: uppercase;
  139.     font-size: 12px;
  140.     border-radius: 15px;
  141.     transition: all 0.3s ease-in-out;
  142.     border: 1px solid #1ec6cc;
  143.     color: white;
  144.     padding: 10px 20px;
  145.     font-weight: bold;
  146.     background-image: linear-gradient(45deg, #1ec6cc, #123c59);
  147. }
  148. .sinscrire:hover {
  149.     background-image: linear-gradient(45deg, #123c59, #1ec6cc);
  150. }
  151.     .reset-title {
  152.         font-size: 1.5rem; /* taille lisible */
  153.         font-weight: 600;  /* semi-gras moderne */
  154.         color: #2c3e50; /* gris foncé élégant */
  155.         position: relative;
  156.         display: inline-block;
  157.         padding-bottom: 8px;
  158.     }
  159.     .reset-title::after {
  160.         content: "";
  161.         position: absolute;
  162.         left: 50%;
  163.         bottom: 0;
  164.         transform: translateX(-50%);
  165.         width: 60px;
  166.         height: 3px;
  167.         background: linear-gradient(90deg,#1eb6cc;, #123c59);
  168.         border-radius: 2px;
  169.     }
  170.         .logo-img{
  171.             margin-bottom:20px;
  172.             width:80%;
  173.         }
  174.         .logo-bar {
  175.             width: 100%;
  176.             padding: 5px 0;
  177.             gap: 8px; /* espace réduit entre les images */
  178.         }
  179.         .logo-mini {
  180.             height: 30px;  /* si tu veux garder 35px, laisse 35px */
  181.             width: auto;
  182.             margin: 0px 3px; /* TRÈS petit espace horizontal */
  183.             object-fit: contain;
  184.         }
  185.         /* Version mobile : 2 logos par ligne */
  186.         @media (max-width: 768px) {
  187.             .logo-bar {
  188.                 justify-content: center !important;
  189.             }
  190.             .logo-mini {
  191.                 flex: 1 1 40%;
  192.                 max-width: 60%;
  193.             }
  194.         }
  195.     </style>
  196. </head>
  197. <body>
  198.     <div class="wrapper fadeInDown">
  199.             <!-- LIGNE DES 5 LOGOS RESPONSIVE -->
  200.         <div class="logo-bar d-flex justify-content-center align-items-center flex-wrap mb-3">
  201.             <img src="/img/telecontact.png" class="logo-mini" alt="logo1">
  202.             <img src="/img/kompass.png" class="logo-mini" alt="logo2">
  203.             <img src="/img/medicalis.png" class="logo-mini" alt="logo3">
  204.             <img src="/img/sitecontact.png" class="logo-mini" alt="logo4">
  205.             <img src="/img/E-rdv.png" class="logo-mini" alt="logo5">
  206.         </div>
  207.         <div id="formContent">
  208.         <h3 class="text-center mb-4 reset-title">Recevez un lien de réinitialisation par email</h3>
  209.         <form method="post" action="{{ path('forgot_password') }}">
  210.             <div class="input-group mb-3">
  211.             <input type="email" name="email" placeholder="Votre email" required class="form-control mb-3">
  212.             </div>
  213.             <button type="submit" class="btn sinscrire w-25">Envoyer</button>
  214.             {% for message in app.flashes('success') %}
  215.                 <div class="alert alert-success mt-2">{{ message }}</div>
  216.             {% endfor %}
  217.             {% for message in app.flashes('error') %}
  218.                 <div class="alert alert-danger mt-2">{{ message }}</div>
  219.             {% endfor %}
  220.         </form>
  221.     </div>
  222. </div>
  223. </body>
  224. </html>