<!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_pwd1.js"></script>

    <link rel="stylesheet" href="../static/css/reset_pwd1.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">write your email address</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="email">Email</label>
                            <input type="text" class="form-control" id="email" name="email">
                        </div>
                    </div>
                    <div>
                        <input type="button" class="btn btn-info" value="Cancel" onclick="Login();">
                        <input type="submit"  class="btn btn-info" value="Confirm">
                    </div>
                </form>
            </div>
            <div class="col-2"></div>
        </div>
    </div>
</body>
</html>