Files
backend_v2/internal/handler/templates/pages/login.html
toom1996 c3a6baa419 update
2026-09-22 21:40:04 +08:00

11 lines
408 B
HTML

{{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}}