summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/login.html
diff options
context:
space:
mode:
authorGravatar stickell <l.stickell@yahoo.it> 2014-08-24 16:00:27 +0200
committerGravatar stickell <l.stickell@yahoo.it> 2014-08-24 16:00:27 +0200
commitdf888fad2bd1697f6c61930c486242764184d638 (patch)
tree290e04ade53e7f01ae74b2c7f886f711e8062afa /module/web/templates/default/login.html
parent[MultiHoster] Fixed crash due to getConf deprecation (diff)
downloadpyload-df888fad2bd1697f6c61930c486242764184d638.tar.xz
Revert 8446e16346ece5a934550f69e81d0cad528f7fba. It broke the WebUI.
Diffstat (limited to 'module/web/templates/default/login.html')
-rw-r--r--module/web/templates/default/login.html36
1 files changed, 36 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..0cbc5c1ad
--- /dev/null
+++ b/module/web/templates/default/login.html
@@ -0,0 +1,36 @@
+{% extends 'default/base.html' %}
+
+{% block title %}{{_("Login")}} - {{super()}} {% endblock %}
+
+{% block content %}
+
+<div class="centeralign">
+<form action="" method="post" accept-charset="utf-8" id="login">
+ <div class="no">
+ <input type="hidden" name="do" value="login" />
+ <fieldset>
+ <legend>Login</legend>
+ <label>
+ <span>{{_("Username")}}</span>
+ <input type="text" size="20" name="username" />
+ </label>
+ <br />
+ <label>
+ <span>{{_("Password")}}</span>
+ <input type="password" size="20" name="password" />
+ </label>
+ <br />
+ <input type="submit" value="Login" class="button" />
+ </fieldset>
+ </div>
+</form>
+
+{% 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 %}
+
+</div>
+<br>
+
+{% endblock %}