Files
vps_web/templates/admin/login.html
ddrwode 3a61598b59 哈哈
2026-02-09 14:18:42 +08:00

27 lines
942 B
HTML

<!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/style.css">
<link rel="stylesheet" href="/static/css/admin.css">
</head>
<body class="admin-page">
<main class="admin-login-box">
<h1>后台登录</h1>
{% if error %}
<p class="error">{{ error }}</p>
{% endif %}
<form method="post" action="{{ url_for('admin_login') }}">
<div class="form-group">
<label for="password">密码</label>
<input type="password" id="password" name="password" required autofocus>
</div>
<button type="submit">登录</button>
</form>
<p class="back"><a href="{{ url_for('index') }}">← 返回首页</a></p>
</main>
</body>
</html>