Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

login.html 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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.0" />
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7. <link rel="shortcut icon" type="image/x-icon" href="./dist/assets/imgs/favicon.gif">
  8. <link rel="stylesheet" href="./libs/bootstrap/css/bootstrap.min.css" />
  9. <link rel="stylesheet" href="./dist/css/main.css" />
  10. <link rel="stylesheet" href="./styles/style.css">
  11. <link rel="stylesheet" href="./style.css">
  12. <link rel="stylesheet" href="./libs/owlcarousel/Css/owl.carousel.min.css">
  13. <link rel="stylesheet" href="./libs/owlcarousel/Css/owl.theme.default.min.css">
  14. <link rel="stylesheet" href="./dist/css/login.css">
  15. <link rel="stylesheet" href="./dist/css/vendor/bootstrap.min.css">
  16. <link rel="stylesheet" href="./dist/css/vendor/bootstrap.min.css">
  17. <link rel="stylesheet" href="./dist/css/vendor/vandella.css">
  18. <link rel="stylesheet" href="./dist/css/vendor/jellybelly.css">
  19. <!-- <link rel="stylesheet" href="./dist/css/vendor/icofont.min.css"> -->
  20. <link rel="stylesheet" href="./dist/css/vendor/fontello.css">
  21. <link rel="stylesheet" href="./dist/css/plugins/easyzoom.css">
  22. <link rel="stylesheet" href="./dist/css/plugins/slick.css">
  23. <link rel="stylesheet" href="./dist/css/plugins/nice-select.css">
  24. <link rel="stylesheet" href="./dist/css/plugins/animate.css">
  25. <link rel="stylesheet" href="./dist/css/plugins/magnific-popup.css">
  26. <link rel="stylesheet" href="./dist/css/plugins/jquery-ui.css">
  27. <link rel="stylesheet" href="./dist/css/style.css">
  28. <link rel="stylesheet" href="./dist/css/fontawesome.all.min.css">
  29. <link rel="stylesheet" href="./dist/css/fontawesome.min.css">
  30. <title>Login | Anwi</title>
  31. <style>
  32. html {
  33. height: 100%;
  34. }
  35. body {
  36. height: 100%;
  37. }
  38. </style>
  39. </head>
  40. <body class="login_page">
  41. <!-- navbar -->
  42. <div id="navbar-head" class="bg-white"></div>
  43. <!-- end-navbar -->
  44. <!-- main-body -->
  45. <section class="mainLogin h-100 mt-0 myaccount-content p-0">
  46. <div class="loginContainer mainLogin bg-gradient-anwi mt-0 pt-md-5 h-100 satoshi_font">
  47. <div class="container pt-5">
  48. <div class="row justify-content-center">
  49. <div class="col-md-5 col-12 pt-5">
  50. <form class="authBox bg-white pb-md-2 mx-auto account-details-form rounded-3">
  51. <div class="formContanerAuth ">
  52. <div>
  53. <span class="authHeading satoshi_font text-theme-color fs-4">Login</span>
  54. <!-- <span class="satoshi_font">or</span> <span class="satoshi_font authHeading text-theme-color">Signup</span> -->
  55. </div>
  56. <div class="space-login"></div>
  57. <div>
  58. <label class="text-danger fs-9 d-none" id="not_valid">Please Enter a valid Number</label>
  59. <label class="text-danger fs-9 d-none" id="empt_num">Number should not be empty!</label>
  60. <label class="text-danger fs-9 d-none pb-1" id="otp_valid">OTP Should not be Empty!</label>
  61. <label for="user_number" class="required user_number">Mobile / Email</label>
  62. <input type="text" class="form-control shadow-none border-bottom-theme rounded-0" maxlength="10" autocomplete="off" id="user_number" pattern="/^-?\d+\.?\d*$/" onKeyPress="if(this.value.length==10) return false;">
  63. </div>
  64. <div class="otp-form d-flex justify-content-between d-none pb-2">
  65. <!-- <input type="text" class="form-input form-control users_otp" id="users_otp" placeholder="Please Enter your Otp"/> -->
  66. <input id="users_otp1" type="password" maxlength="1" tabindex="1" autocomplete="off" name="user-otp" class="form-control shadow-none w-25 me-2"/>
  67. <input id="users_otp2" type="password" maxlength="1" tabindex="2" autocomplete="off" name="user-otp" class="form-control shadow-none w-25 me-2"/>
  68. <input id="users_otp3" type="password" maxlength="1" tabindex="3" autocomplete="off" name="user-otp" class="form-control shadow-none w-25 me-2"/>
  69. <input id="users_otp4" type="password" maxlength="1" tabindex="4" autocomplete="off" name="user-otp" class="form-control shadow-none w-25 me-2"/>
  70. </div>
  71. <div class="otp_text d-none">
  72. <p class="mb-0">Please enter your OTP</p>
  73. </div>
  74. <div class="space-login"></div>
  75. <div class="satoshi_font">
  76. <div class="text-center">
  77. By continuing, I agree to the
  78. <a href="#" class="text-theme-color text-decoration-underline fs-9">Terms of Use</a> &amp;
  79. <a href="#" class="text-theme-color text-decoration-underline fs-9">Privacy Policy</a>
  80. </div>
  81. </div>
  82. <div class="space-login"></div>
  83. <div class="single-input-item">
  84. <a href="#" class="btn w-100 check-btn sqr-btn text-white" id="get_otp">Continue</a>
  85. <a href="#" class="btn w-100 btn-info text-white d-none" id="proceed">Proceed</a>
  86. </div>
  87. <div class="space-login"></div>
  88. <div class="text-dark">Have trouble logging in? <a href="#" class="text-theme-color text-decoration-underline">Get help</a>
  89. </div>
  90. </div>
  91. </form>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </section>
  97. <!-- footer -->
  98. <!-- <div id="footer-head"></div> -->
  99. <!-- end-footer -->
  100. <script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
  101. <script src="./dist/js/jquery.min.js"></script>
  102. <script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
  103. <script src="./dist/js/auth/apiservice.js"></script>
  104. <script src="./dist/js/navbar.js"></script>
  105. <script src="./dist/js/footer.js"></script>
  106. <script src="./dist/js/auth/login.js"></script>
  107. <script src="./dist/js/vendor/modernizr-3.11.7.min.js"></script>
  108. <script src="./dist/js/vendor/jquery-v3.6.0.min.js"></script>
  109. <script src="./dist/js/vendor/jquery-migrate-v3.3.2.min.js"></script>
  110. <script src="./dist/js/vendor/bootstrap.min.js"></script>
  111. <script src="./dist/js/plugins/slick.js"></script>
  112. <script src="./dist/js/plugins/wow.js"></script>
  113. <script src="./dist/js/plugins/svg-injector.min.js"></script>
  114. <script src="./dist/js/plugins/jquery.nice-select.min.js"></script>
  115. <script src="./dist/js/plugins/mouse-parallax.js"></script>
  116. <script src="./dist/js/plugins/images-loaded.js"></script>
  117. <script src="./dist/js/plugins/isotope.js"></script>
  118. <script src="./dist/js/plugins/jquery-ui.js"></script>
  119. <script src="./dist/js/plugins/magnific-popup.js"></script>
  120. <script src="./dist/js/axios.min.js"></script>
  121. <script src="./dist/js/cookies.min.js"></script>
  122. <script src="./dist/js/fontawesome.all.js"></script>
  123. <script src="./dist/js/fontawesome.min.js"></script>
  124. <!-- Main JS -->
  125. <script src="./dist/js/main.js"></script>
  126. <script>
  127. $("#get_otp").click(function(){
  128. let empty_num = $("#user_number").val();
  129. if(empty_num !== "" ){
  130. $("#empt_num").removeClass("d-none");
  131. $("#not_valid").addClass("d-none");
  132. }
  133. else if(empty_num.length >= 9){
  134. $("#empt_num").addClass("d-none");
  135. $("#not_valid").removeClass("d-none");
  136. }
  137. else{
  138. $("#empt_num").addClass("d-none");
  139. $("#not_valid").addClass("d-none")
  140. $(this).addClass("d-none");
  141. $("#user_number").addClass("d-none");
  142. $(".user_number").addClass("d-none");
  143. $(".otp-form").removeClass("d-none");
  144. $(".otp_text").removeClass("d-none");
  145. $("#proceed").removeClass("d-none");
  146. }
  147. });
  148. $("#proceed").click(function(){
  149. $(".otp-form").find("input").each(function(){
  150. let otp_val = $(this).val();
  151. if(otp_val !== ""){
  152. $("#otp_valid").removeClass("d-none");
  153. }else{
  154. $("#otp_valid").addClass("d-none");
  155. window.location.href = `/myaccount.html`;
  156. }
  157. })
  158. });
  159. $('.otp-form').find('input[type="password"]').on('keyup', function (e) {
  160. if (this.value.length >= this.maxLength) {
  161. if (e.keyCode !== 9 && e.keyCode !== 16) {
  162. var tabIndex = this.tabIndex + 1;
  163. $('.otp-form').find("input[tabindex='" + this.tabIndex + "']").val(this.value);
  164. $('.otp-form').find("input[tabindex='" + tabIndex + "']").focus();
  165. }
  166. }
  167. else {
  168. if (e.keyCode === 8) {
  169. var tabIndex = this.tabIndex - 1;
  170. $('.otp-form').find("input[tabindex='" + tabIndex + "']").focus();
  171. }
  172. }
  173. });
  174. </script>
  175. </body>
  176. </html>