summaryrefslogtreecommitdiffstats
path: root/module/web/templates/mobile/login.html
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-08-17 16:11:13 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-08-17 16:11:13 +0200
commit208b857c3f9b9233037847b9c5d98ab9e958ce19 (patch)
tree850f58379c38e7a91040f2a1415545954ab1036c /module/web/templates/mobile/login.html
parentMerge (diff)
downloadpyload-208b857c3f9b9233037847b9c5d98ab9e958ce19.tar.xz
renamed default_mobile to mobile
Diffstat (limited to 'module/web/templates/mobile/login.html')
-rw-r--r--module/web/templates/mobile/login.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/module/web/templates/mobile/login.html b/module/web/templates/mobile/login.html
new file mode 100644
index 000000000..37698cc5c
--- /dev/null
+++ b/module/web/templates/mobile/login.html
@@ -0,0 +1,49 @@
+{% extends 'default_mobile/base.html' %}
+{% block title %}{{_("Login")}} - {{super()}} {% endblock %}
+{% block content %}
+<!-- Login -->
+<div data-role="page" id="login" style="background: url('/static/img/default_mobile/fancy_deboss.png') repeat">
+ <div data-theme="a" data-role="header">
+ <h3>
+ pyLoad {{_("Login")}}
+ </h3>
+ </div>
+ <div data-role="content" style="padding: 10px">
+ {% if logout %}
+ <div>
+ <b>{{_("You were successfully logged out.")}}</b>
+ </div>
+ {% endif %}
+ <form action="/login" method="POST" data-ajax="false">
+ <div data-role="fieldcontain">
+ <fieldset data-role="controlgroup">
+ <label for="textinput1">
+ {{_("Username")}}
+ </label>
+ <input name="username" id="textinput1" placeholder="" value="" type="text" />
+ </fieldset>
+ </div>
+ <div data-role="fieldcontain">
+ <fieldset data-role="controlgroup">
+ <label for="textinput2">
+ {{_("Password")}}
+ </label>
+ <input name="password" id="textinput2" placeholder="" value="" type="password" />
+ </fieldset>
+ </div>
+ <input type="submit" data-theme="a" value="Login" />
+ </form>
+ {% if errors %}
+ <div>
+ <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>
+ </div>
+ {% endif %}
+ <div>
+ <a href="/toggle_mobile" data-ajax="false">
+ {{_("Desktop Version")}}
+ </a>
+ </div>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file