templates/admin/reset_password/request.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <meta name="viewport" content="width=device-width, initial-scale=1">
  6.   <title>EPS | Mot de passe oublié</title>
  7.   <!-- Google Font: Source Sans Pro -->
  8.   <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  9.   <!-- Font Awesome -->
  10.   <link rel="stylesheet" href="{{asset('adminn/plugins/fontawesome-free/css/all.min.css')}}">
  11.   <!-- icheck bootstrap -->
  12.   {# <link rel="stylesheet" href="{{asset('adminn/plugins/icheck-bootstrap/icheck-bootstrap.min.css')}}">
  13.   <!-- Theme style -->
  14.   <link rel="stylesheet" href="{{asset('adminn/dist/css/adminlte.min.css')}}"> #}
  15. </head>
  16. <body>
  17. <style>
  18. * {
  19.   margin: 0;
  20.   padding: 0;
  21.   box-sizing: border-box;
  22.   font-family: "Open Sans", sans-serif;
  23. }
  24. body {
  25.   display: flex;
  26.   align-items: center;
  27.   justify-content: center;
  28.   min-height: 100vh;
  29.   width: 100%;
  30.   padding: 0 10px;
  31. }
  32. body::before {
  33.   content: "";
  34.   position: absolute;
  35.   width: 100%;
  36.   height: 100%; 
  37.  
  38.   background: url('/adminn/img/login.png'); 
  39.  /* background: url("https://www.codingnepalweb.com/demos/create-glassmorphism-login-form-html-css/hero-bg.jpg"), #000;
  40.  */
  41.   background-position: center;
  42.   background-size: cover;
  43. }
  44.    
  45. .wrapper {
  46.   width: 400px;
  47.   border-radius: 8px;
  48.   padding: 30px;
  49.   text-align: center;
  50.   border: 1px solid rgba(255, 255, 255, 0.5);
  51.   backdrop-filter: blur(9px);
  52.   -webkit-backdrop-filter: blur(9px);
  53. }
  54. form {
  55.   display: flex;
  56.   flex-direction: column;
  57. }
  58. h6 {
  59.   font-size: 1.5rem;
  60.   margin-bottom: 20px;
  61.   color: #fff;
  62. }
  63. .input-field {
  64.   position: relative;
  65.   border-bottom: 2px solid #ccc;
  66.   margin: 15px 0;
  67. }
  68. .input-field label {
  69.   position: absolute;
  70.   top: 50%;
  71.   left: 0;
  72.   transform: translateY(-50%);
  73.   color: #fff;
  74.   font-size: 16px;
  75.   pointer-events: none;
  76.   transition: 0.15s ease;
  77. }
  78. .input-field input {
  79.   width: 100%;
  80.   height: 40px;
  81.   background: transparent;
  82.   border: none;
  83.   outline: none;
  84.   font-size: 16px;
  85.   color: #fff;
  86. }
  87. .input-field input:focus~label,
  88. .input-field input:valid~label {
  89.   font-size: 0.8rem;
  90.   top: 10px;
  91.   transform: translateY(-120%);
  92. }
  93. .wrapper a {
  94.   color: #efefef;
  95.   text-decoration: none;
  96. }
  97. .wrapper a:hover {
  98.   text-decoration: underline;
  99. }
  100. button {
  101.   background: #fff;
  102.   color: #000;
  103.   font-weight: 600;
  104.   border: none;
  105.   padding: 12px 20px;
  106.   cursor: pointer;
  107.   border-radius: 3px;
  108.   font-size: 16px;
  109.   border: 2px solid transparent;
  110.   transition: 0.3s ease;
  111. }
  112. button:hover {
  113.   color: #fff;
  114.   border-color: #fff;
  115.   background: rgba(255, 255, 255, 0.15);
  116. }
  117. </style>
  118. <div class="wrapper"> 
  119.    <div class="login-logo">
  120.     <a href=""><img src="{{absolute_url(asset(pathToPublic ~ logo))}}" width="100px" height="100px" align="center" >
  121.     </a>   
  122.    </div>
  123.   <!-- /.login-logo -->
  124.       <h6>Réinitialisation du mot de passe.</h6>
  125.       {{ form_start(requestForm) }}
  126.         <div class="input-field">
  127.            {#<label class="form-label" for="email">Email <span class="red-star" style="font-size:10px;color:red;">★</span></label>#}
  128.             {{ form_widget (requestForm.email,{'attr':{'id':'email',}}) }}
  129.             <label>email</label>
  130.         </div>
  131.         <div class="row">
  132.           <div class="col-12">
  133.             <button type="submit" >Envoyer</button>
  134.           </div>
  135.           <!-- /.col -->
  136.         </div>
  137.       {{ form_end(requestForm) }}
  138.       <p style="margin-top:2em">
  139.         <a href="{{ path('app_login') }}">Se connecter</a>
  140.       </p>
  141.     
  142. </div>
  143. <!-- /.login-box -->
  144. <!-- jQuery -->
  145. <script src="{{asset('admin/plugins/jquery/jquery.min.js')}}"></script>
  146. <!-- Bootstrap 4 -->
  147. <script src="{{asset('admin/plugins/bootstrap/js/bootstrap.bundle.min.js')}}"></script>
  148. <!-- AdminLTE App -->
  149. <script src="{{asset('admin/dist/js/adminlte.min.js')}}"></script>
  150. </body>
  151. </html>