<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
<div th:include="layout::head"></div>
</head>
<body>
<div th:fragment="content">
    <div class="wrapper">
        <div class="row" style="height: 15%"></div>
        <div class="row" style="height: 70%">
            <div class="col-md-3 ml-auto mr-auto">
                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title">登录</h4>
                    </div>
                    <form action="/login" method="post">
                        <div class="card-body">
                            <div class="form-group">
                                <label for="username">学号</label>
                                <input type="text" class="form-control" id="username" name="username" placeholder="这里输入学号" required>
                            </div>
                            <div class="form-group">
                                <label for="password">密码</label>
                                <input type="password" class="form-control" id="password" name="password" placeholder="这里输入密码" required>
                            </div>
                        </div>
                        <div class="card-action">
                            <button type="submit" class="btn btn-primary btn-block"><b>登录</b></button>
                        </div>
                    </form>
                    <a class="btn-link"  th:href="@{/forget}"><b>忘记密码</b></a>
                    <a class="btn-link" th:href="@{/register}"><b>注册账号</b></a>

                </div>
            </div>
        </div>
        <div th:include="layout::custom-template"></div>
    </div>
</div>
<div th:include="layout::js"></div>
</body>
</html>
