aboutsummaryrefslogtreecommitdiffstats
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..d1b94ee
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,17 @@
+{% extends "layout.html" %}
+{% block content %}
+
+<h2>Login</h2>
+{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
+ <form id = "connection" action="{{ url_for('login') }}" method="post">
+ <fieldset>
+ <legend>Connexion</legend>
+ <p>
+ <label for="name">Nom : </label>
+ <input type="text" id="name" name=username /><br/>
+ <label for="password">Mot de passe : </label>
+ <input type="password" id="password" name=password /><br/>
+ </p>
+ <p class="submit"><input type="submit" value="Se connecter"/></p>
+ </form>
+ {% endblock %}