Also included is an upgrade from bootstrap 4.5 to 4.6.2. Nothing major changes in the new version, just some improved compatibility/consistency between browsers. - Fixed an issue where long pages (such as ticket search result) would allow the viewer to scroll beyond the footer. - Fixed footer stretching to full widescreen size rather than staying inside bounds of bootstrap container - More consistent style for inputs (password prompt, ticket search input)
17 lines
520 B
HTML
17 lines
520 B
HTML
{{ template "header" . }}
|
|
|
|
<div class="py-4 container">
|
|
<h1>Login</h1>
|
|
<form action="/admin" method="post">
|
|
|
|
<input class="form-control w-auto my-2" type="password" name="password" autofocus required placeholder="Enter password">
|
|
|
|
<p class="my-1 vsp-text-orange" style="visibility:{{ if .FailedLoginMsg }}visible{{ else }}hidden{{ end }};">{{ .FailedLoginMsg }}</p>
|
|
|
|
<button class="btn btn-primary my-2" type="submit">Login</button>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{ template "footer" . }}
|