summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates/default/login.html')
-rw-r--r--module/web/templates/default/login.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html
new file mode 100644
index 000000000..7ae78183b
--- /dev/null
+++ b/module/web/templates/default/login.html
@@ -0,0 +1,38 @@
+{% extends 'default/base.html' %}
+{% load i18n %}
+{% load token %}
+
+{% block title %}{% trans "Login" %} - {{block.super}} {% endblock %}
+
+{% block content %}
+
+<div class="centeralign">
+<form action="" method="post" accept-charset="utf-8" id="login">
+ {% csrf_token %}
+ <div class="no">
+ <input type="hidden" name="do" value="login" />
+ <fieldset>
+ <legend>Login</legend>
+ <label>
+ <span>{% trans "Username" %}</span>
+ {{ form.username }}
+ </label>
+ <br />
+ <label>
+ <span>{% trans "Password" %}</span>
+ {{ form.password }}
+ </label>
+ <br />
+ <input type="submit" value="Login" class="button" />
+ </fieldset>
+ </div>
+</form>
+
+{% if form.errors %}
+<p>{% trans "Your username and password didn't match. Please try again." %}</p>
+{% endif %}
+
+</div>
+<br>
+
+{% endblock %}