From 7bc7de7332670f692eda576787e671c2eba0e5bb Mon Sep 17 00:00:00 2001 From: godofdream Date: Fri, 17 Aug 2012 01:29:03 +0200 Subject: added division into default template and mobile template, added Base site --- module/web/templates/default_mobile/base.html | 84 ++++++++++++++++++++++++++ module/web/templates/default_mobile/login.html | 49 +++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 module/web/templates/default_mobile/base.html create mode 100644 module/web/templates/default_mobile/login.html (limited to 'module/web/templates/default_mobile') diff --git a/module/web/templates/default_mobile/base.html b/module/web/templates/default_mobile/base.html new file mode 100644 index 000000000..d2fec8f2e --- /dev/null +++ b/module/web/templates/default_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/default_mobile/login.html b/module/web/templates/default_mobile/login.html new file mode 100644 index 000000000..b3cf4f691 --- /dev/null +++ b/module/web/templates/default_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