summaryrefslogtreecommitdiff
path: root/templ/login.tpl
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-15 12:57:42 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-15 12:57:42 +0100
commita1e4e08c1d13c87983a89a887876e77036644e2c (patch)
tree4515c1425d2c7415ae9894421ffd3451fbc99cc8 /templ/login.tpl
parentb3485c78114e505b7bc9c6969afa108ea3f4755c (diff)
downloadgosten-a1e4e08c1d13c87983a89a887876e77036644e2c.tar.gz
gosten-a1e4e08c1d13c87983a89a887876e77036644e2c.tar.bz2
gosten-a1e4e08c1d13c87983a89a887876e77036644e2c.zip
Start styling with bootstrap
Diffstat (limited to '')
-rw-r--r--templ/login.tpl13
1 files changed, 8 insertions, 5 deletions
diff --git a/templ/login.tpl b/templ/login.tpl
index 205b030..a0c17d1 100644
--- a/templ/login.tpl
+++ b/templ/login.tpl
@@ -1,7 +1,10 @@
{{define "body"}}
- <form action="/login" method="post">
- {{inputs_and_errors_for . .Errors}}
- {{.CsrfField}}
- <button type="submit">Log In!</button>
- </form>
+ <main class="d-flex align-items-center min-vh-100">
+ <form action="/login" method="post" class="container m-auto" style="max-width: 440px;">
+ <img src="/static/euro-money.svg" width="96" height="96" class="mb-4"/>
+ {{inputs_and_errors_for . .Errors}}
+ {{.CsrfField}}
+ <button class="btn btn-primary w-100" type="submit">Log In!</button>
+ </form>
+ </main>
{{end}} \ No newline at end of file