summaryrefslogtreecommitdiffstats
path: root/templates/login.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html.template')
-rw-r--r--templates/login.html.template13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/login.html.template b/templates/login.html.template
new file mode 100644
index 0000000..658d477
--- /dev/null
+++ b/templates/login.html.template
@@ -0,0 +1,13 @@
+{{define "head"}}<title>Login</title>{{end}}
+
+<p class="login-error">{{.Error}}</p>
+
+<section>
+ <div style="display:flex">
+ <form class="password-form" action="/login" method="post">
+ <label class="password-label" for="password">Enter password</label>
+ <input id="password" class="password" type="password" name="password">
+ <input type="hidden" name="redirect" value="{{.Redirect}}">
+ </form>
+ </div>
+</section>