update
This commit is contained in:
10
internal/handler/templates/pages/login.html
Normal file
10
internal/handler/templates/pages/login.html
Normal 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}}
|
||||
Reference in New Issue
Block a user