reset_pwd2.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Aisky-CowdungCart</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- 新 Bootstrap4 核心 CSS 文件 -->
  8. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  9. <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  10. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  11. <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
  12. <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  13. <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
  14. <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
  15. <script src="../static/js/reset_pwd2.js"></script>
  16. <link rel="stylesheet" href="../static/css/reset_pwd2.css">
  17. {% if errMsg %}
  18. <script>
  19. $(function(){
  20. $(".wrong-span").text("{{errMsg}}");
  21. });
  22. </script>
  23. {% endif %}
  24. </head>
  25. <body>
  26. <div class="container">
  27. <div class="row">
  28. <div class="col-2"></div>
  29. <div class="col">
  30. <img src="../static/img/logo_new.png" class="img-fluid">
  31. <h1 class="text-center">Reset password</h1>
  32. <div class="descripe text-center">create a new password</div>
  33. <form method="post" action="/reset_password">
  34. <div class="wrong-info"><span class="wrong-span"></span></div>
  35. <div class="form">
  36. <div class="form-inline">
  37. <label for="new-pwd">New password</label>
  38. <input type="password" class="form-control" id="new-pwd" name="new_pwd">
  39. </div>
  40. <div class="form-inline">
  41. <label for="confirm-pwd">Confirm password</label>
  42. <input type="password" class="form-control" id="confirm-pwd" name="confirm_pwd">
  43. </div>
  44. </div>
  45. <div>
  46. <input type="button" class="btn btn-info" value="Cancel" onclick="ResetPassword();">
  47. <input type="submit" class="btn btn-info" value="Confirm">
  48. </div>
  49. </form>
  50. </div>
  51. <div class="col-2"></div>
  52. </div>
  53. </div>
  54. </body>
  55. </html>