This commit is contained in:
toom1996
2026-09-22 21:40:04 +08:00
parent c32347ed3c
commit c3a6baa419
25 changed files with 2051 additions and 783 deletions

View File

@ -0,0 +1,10 @@
{{define "title"}}管理后台 · 登录{{end}}
{{define "content"}}
<div class="wrap"><h1>管理后台登录</h1>
<form method="post" action="/admin/login">
{{if .Error}}<div class="err">{{.Error}}</div>{{end}}
<label>账号</label><input name="account" value="{{.Account}}" autofocus>
<label>密码</label><input name="password" type="password">
<button type="submit">登录</button>
</form></div>
{{end}}