82149cda0c
So far only PIN and Open modes are implemented. It uses a session cookie to store the validity of the pin/password. The "Enter pin" page has some unreadable messages on it right now, but it kinda works.
14 lines
271 B
HTML
14 lines
271 B
HTML
{{define "header"}}
|
|
|
|
{{end}}
|
|
|
|
{{define "body"}}
|
|
<div>
|
|
{{if .Error}}<div>{{.Error}}</div>{{end}}
|
|
<form action="/" method="post">
|
|
<input type="text" name="txtInput" /><br />
|
|
<input type="submit" value="{{.SubmitText}}" />
|
|
</form>
|
|
</div>
|
|
{{end}}
|