aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2023-01-12 15:50:01 +0100
committerJulian Hurst <ark@mansus.space>2023-01-12 15:50:01 +0100
commit4dc031b0a52ca5bfe6108327b63f3847f41dc1c1 (patch)
tree61e32c79fcc4c079e0bcebbbdd08de1ae91c5261 /templates/login.html
downloaddocspace-4dc031b0a52ca5bfe6108327b63f3847f41dc1c1.tar.gz
Initial commit
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..6a09dd7
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,14 @@
+{{define "title"}}Connexion{{end}}
+{{define "content"}}
+<h1>Connexion</h1>
+<div>
+ {{if .Error}}
+ <p class="error">{{.Error}}</p>
+ {{end}}
+ <form action="/login" method="POST">
+ <input type="text" name="user" id="user" placeholder="Nom d'utilisateur"><br/><br/>
+ <input type="password" name="pass" id="pass" placeholder="Mot de passe"><br/><br/>
+ <input type="submit" value="Connexion">
+ </form>
+</div>
+{{end}}