summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-12 19:52:34 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-12 19:52:34 +0200
commit97eb5d744da2c515c0eee5df9b38cc45a2bbe65a (patch)
tree8a41546ff4ec0a27a4d1aa5e5a882c2fc383bd22 /module/web/templates
parentconverted bottom logo to div (diff)
parentadded login.html (diff)
downloadpyload-97eb5d744da2c515c0eee5df9b38cc45a2bbe65a.tar.xz
merge
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/login.html34
1 files changed, 34 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..914ec6f16
--- /dev/null
+++ b/module/web/templates/default/login.html
@@ -0,0 +1,34 @@
+{% extends 'default/base.html' %}
+
+{% block title %}{{_("Login")}} - {{super()}} {% endblock %}
+
+{% block content %}
+
+<div class="login">
+ <div class="login_title">
+ {{_("Login")}}
+ </div>
+ <form action="" method="post" accept-charset="utf-8" id="login">
+ <input type="hidden" name="do" value="login" />
+ <div class="login_user">
+ <span>{{_("Username")}}</span>
+ <input type="text" size="20" name="username" />
+ </div>
+ <div class="login_password">
+ <span>{{_("Password")}}</span>
+ <input type="password" size="20" name="password" />
+ </div>
+ <div class="login_submit">
+ <input type="submit" value="Login" class="button" />
+ </div>
+ </form>
+</div>
+
+
+{% if errors %}
+<p>{{_("Your username and password didn't match. Please try again.")}}</p>
+ {{ _("To reset your login data or add an user run:") }} <b> python pyLoadCore.py -u</b>
+{% endif %}
+
+
+{% endblock %} \ No newline at end of file