补充丢失的登录页面

This commit is contained in:
wood chen 2025-02-15 08:29:07 +08:00
parent a827a79b4d
commit 47d2326815

View File

@ -0,0 +1,28 @@
<!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 href="https://cdn.jsdelivr.net/npm/daisyui@3.9.4/dist/full.css" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="min-h-screen bg-base-200 flex items-center justify-center">
<div class="card w-96 bg-base-100 shadow-xl">
<div class="card-body">
<h2 class="card-title justify-center text-2xl font-bold mb-6">管理员登录</h2>
<div class="form-control w-full">
<label class="label">
<span class="label-text">密码</span>
</label>
<input type="password" id="password" placeholder="请输入管理密码" class="input input-bordered w-full" />
</div>
<div class="card-actions justify-end mt-6">
<button onclick="login()" class="btn btn-primary w-full">登录</button>
</div>
<div id="message" class="alert mt-4" style="display: none;"></div>
</div>
</div>
<script src="/web/static/js/auth.js"></script>
</body>
</html>