Files
hsa/Html/templates/login.html
2025-01-01 01:43:28 +08:00

39 lines
1.5 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>
<link rel="stylesheet" href="/static/css/login.css">
<script src="/static/js/login.js"></script>
</head>
<body>
<div class="login-container">
<div class="login-card">
<h2 class="login-title">欢迎回来!</h2>
<form class="login-form">
<div class="input-group">
<label for="username">用户名</label>
<input type="text" id="username" name="username" placeholder="请输入用户名" required>
</div>
<div class="input-group">
<label for="password">密码</label>
<input type="password" id="password" name="password" placeholder="请输入密码" required>
</div>
<button type="submit" class="login-btn">登录</button>
<div class="register-link">
<a href="/register">注册新账号</a>
</div>
<div class="forgot-password">
<a href="#">忘记密码?</a>
</div>
</form>
<div class="social-login">
<button class="social-btn google">Google 登录</button>
<button class="social-btn facebook">Facebook 登录</button>
</div>
</div>
</div>
</body>
</html>