vspd/webapi/templates/login.html
2021-06-15 10:18:25 +08:00

17 lines
476 B
HTML

{{ template "header" . }}
<div class="py-4 container">
<h1>Login</h1>
<form class="py-3" action="/admin" method="post">
<input type="password" name="password" required placeholder="Enter password">
<p class="my-1 orange" style="visibility:{{ if .IncorrectPassword }}visible{{ else }}hidden{{ end }};">Incorrect password</p>
<button class="btn btn-primary" type="submit">Login</button>
</form>
</div>
{{ template "footer" . }}