summaryrefslogtreecommitdiffstats
path: root/module/web/themes/flat/tml/login.html
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:38:53 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:38:53 +0200
commit8446e16346ece5a934550f69e81d0cad528f7fba (patch)
treea67e2564a6facbe9e307f619e5f98289009e6941 /module/web/themes/flat/tml/login.html
parentRename pyLoadCore as pyload and pyLoadCli as pyload-cli (diff)
downloadpyload-8446e16346ece5a934550f69e81d0cad528f7fba.tar.xz
New web structure + related code improvements and fixes + added flat and dark themes + updated js
Diffstat (limited to 'module/web/themes/flat/tml/login.html')
-rw-r--r--module/web/themes/flat/tml/login.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/module/web/themes/flat/tml/login.html b/module/web/themes/flat/tml/login.html
new file mode 100644
index 000000000..de6c152d3
--- /dev/null
+++ b/module/web/themes/flat/tml/login.html
@@ -0,0 +1,36 @@
+{% extends '/flat/tml/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 %}