-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauth.html
More file actions
51 lines (49 loc) · 2.14 KB
/
auth.html
File metadata and controls
51 lines (49 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!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">
</head>
<body class="theme-festive">
<div class="auth-container">
<div class="auth-card">
<h2> 礼金簿管理系统 </h2>
<div class="auth-tabs">
<button class="tab-btn active" data-tab="login"> 登录</button>
<button class="tab-btn" data-tab="register"> 注册</button>
</div>
<!-- 登录表单 -->
<form id="login-form" class="auth-form active festive-form">
<div class="form-group">
<label>用户名</label>
<input type="text" id="login-username" required placeholder="请输入用户名">
</div>
<div class="form-group">
<label>密码</label>
<input type="password" id="login-password" required placeholder="请输入密码">
</div>
<button type="submit" class="auth-btn">✅ 登录</button>
</form>
<!-- 注册表单 -->
<form id="register-form" class="auth-form festive-form">
<div class="form-group">
<label>用户名</label>
<input type="text" id="reg-username" required placeholder="请设置用户名">
</div>
<div class="form-group">
<label>密码</label>
<input type="password" id="reg-password" required placeholder="请设置密码(至少6位)">
</div>
<div class="form-group">
<label>确认密码</label>
<input type="password" id="reg-confirm" required placeholder="请确认密码">
</div>
<button type="submit" class="auth-btn"> 注册</button>
</form>
</div>
</div>
<script src="static/js/auth.js"></script>
</body>
</html>