reset_pwd1.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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_pwd1.js"></script>
  16. <link rel="stylesheet" href="../static/css/reset_pwd1.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">write your email address</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="email">Email</label>
  44. <input type="text" class="form-control" id="email" name="email">
  45. </div>
  46. </div>
  47. <div>
  48. <input type="button" class="btn btn-info" value="Cancel" onclick="Login();">
  49. <input type="submit" class="btn btn-info" value="Confirm">
  50. </div>
  51. </form>
  52. </div>
  53. <div class="col-2"></div>
  54. </div>
  55. </div>
  56. </body>
  57. </html>