1
0

reset_pwd2.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Aisky-coffee</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. <div class="row">
  31. <div class="col-4"></div>
  32. <div class="col-4">
  33. <img src="../static/img/coffee.jpg" class="img-fluid">
  34. </div>
  35. <div class="col-4"></div>
  36. </div>
  37. <h1 class="text-center">Reset password</h1>
  38. <div class="descripe text-center">create a new password</div>
  39. <form method="post" action="/reset_password">
  40. <div class="wrong-info"><span class="wrong-span"></span></div>
  41. <div class="form">
  42. <div class="form-inline">
  43. <label for="new-pwd">New password</label>
  44. <input type="password" class="form-control" id="new-pwd" name="new_pwd">
  45. </div>
  46. <div class="form-inline">
  47. <label for="confirm-pwd">Confirm password</label>
  48. <input type="password" class="form-control" id="confirm-pwd" name="confirm_pwd">
  49. </div>
  50. </div>
  51. <div>
  52. <input type="button" class="btn btn-info" value="Cancel" onclick="ResetPassword();">
  53. <input type="submit" class="btn btn-info" value="Confirm">
  54. </div>
  55. </form>
  56. </div>
  57. <div class="col-2"></div>
  58. </div>
  59. </div>
  60. </body>
  61. </html>