| 1 | <!doctype html><html lang="nl"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"> |
| 2 | <title>Inloggen · bluegit-backup</title>{{template "style"}}</head><body> |
| 3 | <header><h1>bluegit-backup</h1></header> |
| 4 | <main class="login"><section> |
| 5 | <h2>Inloggen</h2> |
| 6 | {{if .Error}}<div class="flash err">Dat token klopt niet.</div>{{end}} |
| 7 | <form method="post" action="/login"> |
| 8 | <label for="token">Beheertoken <small>Staat in <code>data_dir/admin.token</code>. Toon het met <code>sudo -u bluegit-backup bluegit-backup token</code>.</small></label> |
| 9 | <input id="token" name="token" type="password" autocomplete="current-password" required autofocus> |
| 10 | <p><button type="submit">Inloggen</button></p> |
| 11 | </form> |
| 12 | </section><p><small>versie {{.Version}}</small></p></main></body></html> |