aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
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}}