templates/app/login/index.html.twig line 1

Open in your IDE?
  1. <html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg">
  2. <head>
  3.     <meta name="viewport" content="width=device-width, initial-scale=1">
  4.     <title>Login</title>
  5.     {{ encore_entry_link_tags('userMain') }}
  6. </head>
  7. <body>
  8. <div class="auth-page-wrapper pt-5">
  9.     <!-- auth page bg -->
  10.     <div class="auth-one-bg-position auth-one-bg"  id="auth-particles">
  11.         <div class="bg-overlay"></div>
  12.         <div class="shape">
  13.             <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1440 120">
  14.                 <path d="M 0,36 C 144,53.6 432,123.2 720,124 C 1008,124.8 1296,56.8 1440,40L1440 140L0 140z"></path>
  15.             </svg>
  16.         </div>
  17.     </div>
  18.     <!-- auth page content -->
  19.     <div class="auth-page-content">
  20.         <div class="container">
  21.             <div class="row">
  22.                 <div class="col-lg-12">
  23.                     <div class="text-center mt-sm-5 mb-4 text-white-50">
  24.                         <div>
  25.                             <a href="/" class="d-inline-block auth-logo">
  26.                                 <img  class="loginLogo" src="{{ asset('app/assets/images/logo-light.png') }}" alt="" height="80">
  27.                             </a>
  28.                         </div>
  29.                         <p class="mt-3 fs-15 fw-medium">Api Creation Service</p>
  30.                     </div>
  31.                 </div>
  32.             </div>
  33.             <!-- end row -->
  34.             <div class="row justify-content-center">
  35.                 <div class="col-md-8 col-lg-6 col-xl-5">
  36.                     <div class="card mt-4">
  37.                         <div class="card-body p-4">
  38.                             <div class="text-center mt-2">
  39.                                 <h5 class="text-primary">Welcome Back !</h5>
  40.                                 <p class="text-muted">Sign in to continue to Searchapi.net</p>
  41.                             </div>
  42.                             <div class="p-2 mt-4">
  43.                                 {% if error %}
  44.                                     <div class="alert alert-danger alert-border-left alert-dismissible fade show mb-xl-0" style="margin-bottom: 15px !important;" role="alert">
  45.                                         <i class="ri-error-warning-line me-3 align-middle fs-16"></i><strong>Error: </strong>
  46.                                         {{ error.messageKey|trans(error.messageData, 'security') }}
  47.                                         <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  48.                                     </div>
  49.                                 {% endif %}
  50.                                 {% for success in app.session.flashbag.get('success') %}
  51.                                     <div class="alert alert-success alert-border-left alert-dismissible fade show" role="alert">
  52.                                         <i class="ri-check-double-line me-3 align-middle"></i> <strong>Success: </strong>  {{ success }}
  53.                                         <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  54.                                     </div>
  55.                                 {% endfor %}
  56.                                 <form action="{{ path('login') }}" class="needs-validation" method="post" novalidate>
  57.                                     <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  58.                                     <div class="mb-3">
  59.                                         <label for="username" class="form-label">Email</label>
  60.                                         <input type="text" class="form-control" id="username" name="_username" value="{{ last_username }}" placeholder="Enter email" required >
  61.                                         <div class="invalid-feedback">
  62.                                             Please enter email.
  63.                                         </div>
  64.                                     </div>
  65.                                     <div class="mb-3">
  66.                                         <div class="float-end">
  67.                                             <a href="{{ path('app_forgot_password_request') }}" class="text-muted">Forgot password?</a>
  68.                                         </div>
  69.                                         <label for="userpassword" class="form-label">Password</label>
  70.                                         <input type="password" class="form-control" id="userpassword" name="_password" placeholder="Enter password" required>
  71.                                         <div class="invalid-feedback">
  72.                                             Please enter password
  73.                                         </div>
  74.                                     </div>
  75.                                     <div class="form-check">
  76.                                         <input class="form-check-input" type="checkbox" value="" id="auth-remember-check">
  77.                                         <label class="form-check-label" for="auth-remember-check">Remember me</label>
  78.                                     </div>
  79.                                     <div class="mt-4">
  80.                                         <button class="btn btn-success w-100" type="submit">Sign In</button>
  81.                                     </div>
  82.                                   {#  <div class="mt-4 text-center">
  83.                                         <div class="signin-other-title">
  84.                                             <h5 class="fs-13 mb-4 title">Sign In with</h5>
  85.                                         </div>
  86.                                         <div>
  87.                                             <button type="button" class="btn btn-primary btn-icon waves-effect waves-light"><i class="ri-facebook-fill fs-16"></i></button>
  88.                                             <button type="button" class="btn btn-danger btn-icon waves-effect waves-light"><i class="ri-google-fill fs-16"></i></button>
  89.                                             <button type="button" class="btn btn-dark btn-icon waves-effect waves-light"><i class="ri-github-fill fs-16"></i></button>
  90.                                             <button type="button" class="btn btn-info btn-icon waves-effect waves-light"><i class="ri-twitter-fill fs-16"></i></button>
  91.                                         </div>
  92.                                     </div>#}
  93.                                 </form>
  94.                             </div>
  95.                         </div>
  96.                         <!-- end card body -->
  97.                     </div>
  98.                     <!-- end card -->
  99.                     <div class="mt-4 text-center">
  100.                         <p class="mb-0">Don't have an account ? <a href="{{ path('app_register') }}" class="fw-semibold text-primary text-decoration-underline"> Signup </a> </p>
  101.                     </div>
  102.                 </div>
  103.             </div>
  104.             <!-- end row -->
  105.         </div>
  106.         <!-- end container -->
  107.     </div>
  108.     <!-- end auth page content -->
  109.     <!-- footer -->
  110.     <footer class="footer">
  111.         <div class="container">
  112.             <div class="row">
  113.                 <div class="col-lg-12">
  114.                     <div class="text-center">
  115.                         <p class="mb-0 text-muted">&copy; <script>document.write(new Date().getFullYear())</script> searchap.net </p>
  116.                     </div>
  117.                 </div>
  118.             </div>
  119.         </div>
  120.     </footer>
  121.     <!-- end Footer -->
  122. </div>
  123. <!-- end auth-page-wrapper -->
  124. {{ encore_entry_script_tags('userMain') }}
  125. {{ encore_entry_script_tags('userLogin') }}
  126. </body>
  127. </html>