From 208b857c3f9b9233037847b9c5d98ab9e958ce19 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 17 Aug 2012 16:11:13 +0200 Subject: renamed default_mobile to mobile --- module/web/templates/mobile/base.html | 84 ++++++++++++++++++++++++++++++++++ module/web/templates/mobile/login.html | 49 ++++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 module/web/templates/mobile/base.html create mode 100644 module/web/templates/mobile/login.html (limited to 'module/web/templates/mobile') diff --git a/module/web/templates/mobile/base.html b/module/web/templates/mobile/base.html new file mode 100644 index 000000000..342a7eb63 --- /dev/null +++ b/module/web/templates/mobile/base.html @@ -0,0 +1,84 @@ + + + + + + {% block title %}pyLoad {{ _("Webinterface") }}{% endblock %} + + + + + + {% block head %} + {% endblock %} + + + +{% block content %} + +
+
+
+ +
+
+
+

+ Package1 +

+
+
+

+ Package2 +

+
+
+

+ Package3 +

+ +
+
+
+
+{% endblock content %} + + + \ No newline at end of file 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 %} + +
+
+

+ pyLoad {{_("Login")}} +

+
+
+ {% if logout %} +
+ {{_("You were successfully logged out.")}} +
+ {% endif %} +
+
+
+ + +
+
+
+
+ + +
+
+ +
+ {% if errors %} +
+

{{_("Your username and password didn't match. Please try again.")}}

+ {{ _("To reset your login data or add an user run:") }} python pyLoadCore.py -u +
+ {% endif %} +
+ + {{_("Desktop Version")}} + +
+
+
+{% endblock %} \ No newline at end of file -- cgit v1.2.3 From 81cd75591e2bb96790912306d9c3930d6a917d5f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 27 Aug 2012 11:43:57 +0200 Subject: new mobile template --- module/web/templates/mobile/base.html | 143 +++++++++++++++------------------ module/web/templates/mobile/login.html | 48 +---------- 2 files changed, 65 insertions(+), 126 deletions(-) (limited to 'module/web/templates/mobile') diff --git a/module/web/templates/mobile/base.html b/module/web/templates/mobile/base.html index 342a7eb63..1b717ff7b 100644 --- a/module/web/templates/mobile/base.html +++ b/module/web/templates/mobile/base.html @@ -1,84 +1,67 @@ - - - - {% block title %}pyLoad {{ _("Webinterface") }}{% endblock %} - - - - - - {% block head %} - {% endblock %} - - - -{% block content %} - -
-
-
- -
-
-
-

- Package1 -

-
-
-

- Package2 -

-
-
-

- Package3 -

- -
-
+ + + {% block title %}pyLoad {{ _("Webinterface") }}{% endblock %} + + + + + + + + + + + {% block head %} + {% endblock %} + + + +
+ +
+
+
+

dfgfdg

+ {% block content %} + {% endblock content %}
-{% endblock content %} - - - \ No newline at end of file +
+
+ + + diff --git a/module/web/templates/mobile/login.html b/module/web/templates/mobile/login.html index 37698cc5c..5a1625f43 100644 --- a/module/web/templates/mobile/login.html +++ b/module/web/templates/mobile/login.html @@ -1,49 +1,5 @@ -{% extends 'default_mobile/base.html' %} +{% extends 'mobile/base.html' %} {% block title %}{{_("Login")}} - {{super()}} {% endblock %} {% block content %} - -
-
-

- pyLoad {{_("Login")}} -

-
-
- {% if logout %} -
- {{_("You were successfully logged out.")}} -
- {% endif %} -
-
-
- - -
-
-
-
- - -
-
- -
- {% if errors %} -
-

{{_("Your username and password didn't match. Please try again.")}}

- {{ _("To reset your login data or add an user run:") }} python pyLoadCore.py -u -
- {% endif %} - -
-
+

Test test sd

{% endblock %} \ No newline at end of file -- cgit v1.2.3 From 6507b334c8e2c850924ce17d12bc4afacab500c7 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 27 Aug 2012 13:04:18 +0200 Subject: missing files, improved scaling --- module/web/templates/mobile/base.html | 44 ++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 13 deletions(-) (limited to 'module/web/templates/mobile') diff --git a/module/web/templates/mobile/base.html b/module/web/templates/mobile/base.html index 1b717ff7b..9cb038b3a 100644 --- a/module/web/templates/mobile/base.html +++ b/module/web/templates/mobile/base.html @@ -20,13 +20,28 @@ margin: 0; } + html, body { + height: 100%; + } + + #wrap { + min-height: 100%; + position: relative; + } + + header { + height: 25px; + } + .viewport { overflow-x: hidden; } #content { - position: relative; + position: absolute; width: 100%; + top: 25px; + bottom: 0; } ul li { @@ -36,24 +51,27 @@ .page { position: absolute; - left: 0; + top: 0; + bottom: 0; width: 100%; border: 1px solid red; } -
- -
-
-
-

dfgfdg

- {% block content %} - {% endblock content %} +
+
+ +
+
+
+

dfgfdg

+ {% block content %} + {% endblock content %} +