feat: opaque session、安装/发帖 SSR 与最小 Admin 后台

浏览器登录改为 DB sessions(可吊销);敏感词与 OIDC PEM 入 settings;
落地安装向导、注册发帖与 /admin 仪表盘/板块/审核/设置。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-29 05:44:16 +08:00
parent 3f50316ad0
commit fde5f628ec
80 changed files with 4148 additions and 1849 deletions

21
templates/status/404.tmpl Normal file
View File

@@ -0,0 +1,21 @@
{{define "status/404"}}
{{template "base/head" .}}
{{template "base/navbar" .}}
<main class="j13-main j13-main--solo">
<h1>页面不存在</h1>
<p>您访问的页面不存在或已删除。</p>
<p><a href="/">返回首页</a></p>
</main>
{{template "base/footer" .}}
{{end}}
{{define "status/pending"}}
{{template "base/head" .}}
{{template "base/navbar" .}}
<main class="j13-main j13-main--solo">
<h1>{{.Heading}}</h1>
<p>{{.Message}}</p>
<p><a href="/">返回首页</a></p>
</main>
{{template "base/footer" .}}
{{end}}