更新 Go 版本至 1.23.0,添加管理员功能,包括管理员登录、用户和客户端管理,新增相应的模板和中间件,优化数据库模型以支持管理员管理。

This commit is contained in:
2025-04-17 01:47:10 +08:00
parent a3f3cc17cf
commit 83c82f7135
18 changed files with 686 additions and 21 deletions

View File

@@ -55,6 +55,19 @@
color: #dc3545;
margin-bottom: 15px;
}
.signup-link {
text-align: center;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.signup-link a {
color: #007bff;
text-decoration: none;
}
.signup-link a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
@@ -82,6 +95,9 @@
<button type="submit">登录</button>
</form>
<div class="signup-link">
还没有账号?<a href="/signup">立即注册</a>
</div>
</div>
</body>
</html>