11 lines
408 B
HTML
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}}
|