123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Aisky-coffee</title>
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <!-- 新 Bootstrap4 核心 CSS 文件 -->
- <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
- <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
- <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
- <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
- <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
- <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
- <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
- <script src="../static/js/reset_pwd2.js"></script>
- <link rel="stylesheet" href="../static/css/reset_pwd2.css">
- {% if errMsg %}
- <script>
- $(function(){
- $(".wrong-span").text("{{errMsg}}");
- });
- </script>
- {% endif %}
- </head>
- <body>
- <div class="container">
- <div class="row">
- <div class="col-2"></div>
- <div class="col">
- <div class="row">
- <div class="col-4"></div>
- <div class="col-4">
- <img src="../static/img/coffee.jpg" class="img-fluid">
- </div>
- <div class="col-4"></div>
- </div>
- <h1 class="text-center">Reset password</h1>
- <div class="descripe text-center">create a new password</div>
- <form method="post" action="/reset_password">
- <div class="wrong-info"><span class="wrong-span"></span></div>
- <div class="form">
- <div class="form-inline">
- <label for="new-pwd">New password</label>
- <input type="password" class="form-control" id="new-pwd" name="new_pwd">
- </div>
- <div class="form-inline">
- <label for="confirm-pwd">Confirm password</label>
- <input type="password" class="form-control" id="confirm-pwd" name="confirm_pwd">
- </div>
- </div>
- <div>
- <input type="button" class="btn btn-info" value="Cancel" onclick="ResetPassword();">
- <input type="submit" class="btn btn-info" value="Confirm">
- </div>
- </form>
- </div>
- <div class="col-2"></div>
- </div>
- </div>
- </body>
- </html>
|