diff options
Diffstat (limited to 'templates/login.html.template')
| -rw-r--r-- | templates/login.html.template | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/templates/login.html.template b/templates/login.html.template index ce46bd1..2b3d022 100644 --- a/templates/login.html.template +++ b/templates/login.html.template @@ -1,24 +1,20 @@ -{{define "head"}}<title>Login</title>{{end}} +<title>Login</title> -{{define "body" -}} - <section> - {{- if .Error}} - <p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password</p> - {{- end}} - <form class="password-form" method="post"> - <table> - <tr class="password-form-row"> - <td><label class="password-label" for="password">Enter password</label></td> - <td><input id="password" class="password" type="password" name="password" autofocus></td> - </tr> - <tr class="password-form-row"> - <td><label class="password-label" for="auth">Google authenticator code</label></td> - <td><input id="auth" class="password" name="auth"></td> - </tr> - <tr> - <td></td> - <td><input type="image" width="100" class="submit" src="/static/point.webp" alt="Submit"></td> - </table> - </form> - </section> +<section> +{{- if .Error}} + <p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password {{- end}} + <form class="password-form" method="post"> + <table> + <tr class="password-form-row"> + <td><label class="password-label" for="password">Enter password</label> + <td><input id="password" class="password" type="password" name="password" autofocus> + <tr class="password-form-row"> + <td><label class="password-label" for="auth">Google authenticator code</label> + <td><input id="auth" class="password" name="auth"> + <tr> + <td> + <td><input type="image" width="100" class="submit" src="/static/point.webp" alt="Submit"> + </table> + </form> +</section> |
