mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 23:30:44 +08:00
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>登录</title>
|
|
<!-- 引入 Bootstrap CSS -->
|
|
<link rel="stylesheet" href="./static/css/bootstrap.min.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container mt-5">
|
|
<h1 class="mb-4">登录</h1>
|
|
{% if message %}
|
|
<div class="alert alert-danger" role="alert">
|
|
[[ message ]]
|
|
</div>
|
|
{% endif %}
|
|
<form action="/login" method="POST">
|
|
<div class="form-group">
|
|
<label for="username">用户名</label>
|
|
<input type="text" class="form-control" id="username" name="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">密码</label>
|
|
<input type="password" class="form-control" id="password" name="password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">登录</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |