<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>夸克自动转存 - 登录</title>
    <link rel="stylesheet" href="./static/css/bootstrap.min.css">
    <link rel="stylesheet" href="./static/css/bootstrap-icons.min.css">
    <link rel="stylesheet" href="./static/css/main.css">
</head>

<body class="login-page">
    <div class="login-card">
        <div class="login-header">
            <h1 class="login-title"><a href="https://github.com/x1ao4/quark-auto-save-x" target="_blank">夸克自动转存</a></h1>
            <p class="login-subtitle">欢迎回来，请登录您的账号</p>
        </div>
        <div class="login-body">
            {% if message %}
            <div class="alert" role="alert">
                [[ message ]]
            </div>
            {% endif %}
            <form action="/login" method="POST">
                <div class="form-group">
                    <input type="text" class="form-control" id="username" name="username" placeholder="用户名" required>
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" id="password" name="password" placeholder="密码" required>
                </div>
                <button type="submit" class="btn">登录</button>
            </form>
        </div>
    </div>
</body>

</html>