This commit is contained in:
DengDai
2025-12-09 13:08:38 +08:00
commit 02ecea06f8
36 changed files with 5876 additions and 0 deletions

52
templates/register.html Normal file
View File

@@ -0,0 +1,52 @@
<!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="{{ url_for('static', filename='css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-icons.css') }}">
</head>
<body class="bg-light">
<div class="container">
<div class="row justify-content-center mt-5">
<div class="col-md-6">
<div class="card shadow">
<div class="card-body p-5">
<h3 class="text-center mb-4">用户注册</h3>
<form id="register-form">
<div class="mb-3">
<label class="form-label">用户名 *</label>
<input type="text" class="form-control" id="username" required>
</div>
<div class="mb-3">
<label class="form-label">邮箱 *</label>
<input type="email" class="form-control" id="email" required>
</div>
<div class="mb-3">
<label class="form-label">站点UID</label>
<input type="text" class="form-control" id="uid">
</div>
<div class="mb-3">
<label class="form-label">密码 *</label>
<input type="password" class="form-control" id="password" required>
</div>
<div class="mb-3">
<label class="form-label">确认密码 *</label>
<input type="password" class="form-control" id="confirm-password" required>
</div>
<button type="submit" class="btn btn-primary w-100">注册</button>
</form>
<div class="text-center mt-3">
<a href="/">已有账号?立即登录</a>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/register.js') }}"></script>
</body>
</html>