From 68d662e689cd42687341c550fb6ebb74e6968d21 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 8 Sep 2014 00:29:57 +0200 Subject: module -> pyload --- pyload/webui/themes/default/tml/admin.html | 98 ++++++++ pyload/webui/themes/default/tml/base.html | 180 ++++++++++++++ pyload/webui/themes/default/tml/captcha.html | 42 ++++ pyload/webui/themes/default/tml/downloads.html | 29 +++ pyload/webui/themes/default/tml/filemanager.html | 78 ++++++ pyload/webui/themes/default/tml/folder.html | 15 ++ pyload/webui/themes/default/tml/home.html | 266 +++++++++++++++++++++ pyload/webui/themes/default/tml/info.html | 81 +++++++ pyload/webui/themes/default/tml/login.html | 36 +++ pyload/webui/themes/default/tml/logout.html | 9 + pyload/webui/themes/default/tml/logs.html | 41 ++++ pyload/webui/themes/default/tml/pathchooser.html | 76 ++++++ pyload/webui/themes/default/tml/queue.html | 104 ++++++++ pyload/webui/themes/default/tml/settings.html | 204 ++++++++++++++++ pyload/webui/themes/default/tml/settings_item.html | 48 ++++ pyload/webui/themes/default/tml/window.html | 46 ++++ 16 files changed, 1353 insertions(+) create mode 100644 pyload/webui/themes/default/tml/admin.html create mode 100644 pyload/webui/themes/default/tml/base.html create mode 100644 pyload/webui/themes/default/tml/captcha.html create mode 100644 pyload/webui/themes/default/tml/downloads.html create mode 100644 pyload/webui/themes/default/tml/filemanager.html create mode 100644 pyload/webui/themes/default/tml/folder.html create mode 100644 pyload/webui/themes/default/tml/home.html create mode 100644 pyload/webui/themes/default/tml/info.html create mode 100644 pyload/webui/themes/default/tml/login.html create mode 100644 pyload/webui/themes/default/tml/logout.html create mode 100644 pyload/webui/themes/default/tml/logs.html create mode 100644 pyload/webui/themes/default/tml/pathchooser.html create mode 100644 pyload/webui/themes/default/tml/queue.html create mode 100644 pyload/webui/themes/default/tml/settings.html create mode 100644 pyload/webui/themes/default/tml/settings_item.html create mode 100644 pyload/webui/themes/default/tml/window.html (limited to 'pyload/webui/themes/default/tml') diff --git a/pyload/webui/themes/default/tml/admin.html b/pyload/webui/themes/default/tml/admin.html new file mode 100644 index 000000000..ba94f7a74 --- /dev/null +++ b/pyload/webui/themes/default/tml/admin.html @@ -0,0 +1,98 @@ +{% extends '/default/tml/base.html' %} + +{% block head %} + +{% endblock %} + + +{% block title %}{{ _("Administrate") }} - {{ super() }} {% endblock %} +{% block subtitle %}{{ _("Administrate") }}{% endblock %} + +{% block content %} + + {{_("Quit pyLoad")}} | + {{_("Restart pyLoad")}} +
+
+ + {{ _("To add user or change passwords use:") }} python pyload.py -u
+ {{ _("Important: Admin user have always all permissions!") }} + +
+ + + + + + + + + {% for name, data in users.iteritems() %} + + + + + + + {% endfor %} + + +
+ {{ _("Name") }} + + {{ _("Change Password") }} + + {{ _("Admin") }} + + {{ _("Permissions") }} +
{{ name }}{{ _("change") }} + +
+ + +
+{% endblock %} +{% block hidden %} +
+
+

{{ _("Change Password") }}

+ +

{{ _("Enter your current and desired Password.") }}

+ + + + + + + + + + + + + + + +
+ +
+ +
+{% endblock %} diff --git a/pyload/webui/themes/default/tml/base.html b/pyload/webui/themes/default/tml/base.html new file mode 100644 index 000000000..e2a62a116 --- /dev/null +++ b/pyload/webui/themes/default/tml/base.html @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + +{% block title %}pyLoad {{_("Webinterface")}}{% endblock %} + +{% block head %} +{% endblock %} + + + + +
+ + +
+ {% block headpanel %} + + {% if user.is_authenticated %} + + +{% if update %} + +{{_("New pyLoad version %s available!") % update}} + +{% endif %} + + +{% if plugins %} + +{{_("Plugins updated, please restart!")}} + +{% endif %} + + +Captcha: +{{_("Captcha waiting")}} + + + User:{{user.name}} + +{% else %} + {{_("Please Login!")}} +{% endif %} + + {% endblock %} +
+ + + +
+ +
+ +
+
+ +{% if perms.STATUS %} + +{% endif %} + +{% if perms.LIST %} + +{% endif %} + +{% block pageactions %} +{% endblock %} +
+ +
+ +
+ +

{% block subtitle %}pyLoad - {{_("Webinterface")}}{% endblock %}

+ +{% block statusbar %} +{% endblock %} + + +
+ +
+
+ + +{% for message in messages %} +

{{message}}

+{% endfor %} + +
+ + {{_("loading")}} +
+ +{% block content %} +{% endblock content %} + +
+ + +
+
+ +
+ {% include '/default/tml/window.html' %} + {% include '/default/tml/captcha.html' %} + {% block hidden %} + {% endblock %} +
+ + diff --git a/pyload/webui/themes/default/tml/captcha.html b/pyload/webui/themes/default/tml/captcha.html new file mode 100644 index 000000000..56892593f --- /dev/null +++ b/pyload/webui/themes/default/tml/captcha.html @@ -0,0 +1,42 @@ + +
+ +
+ +

{{_("Captcha reading")}}

+

{{_("Please read the text on the captcha.")}}

+ +
+ + + + + + + + + + + +
+ +
+ +
+ +
+ + + + +
+ +
+ +
+ +
diff --git a/pyload/webui/themes/default/tml/downloads.html b/pyload/webui/themes/default/tml/downloads.html new file mode 100644 index 000000000..ba0f77c18 --- /dev/null +++ b/pyload/webui/themes/default/tml/downloads.html @@ -0,0 +1,29 @@ +{% extends '/default/tml/base.html' %} + +{% block title %}Downloads - {{super()}} {% endblock %} + +{% block subtitle %} +{{_("Downloads")}} +{% endblock %} + +{% block content %} + + + +{% endblock %} diff --git a/pyload/webui/themes/default/tml/filemanager.html b/pyload/webui/themes/default/tml/filemanager.html new file mode 100644 index 000000000..7a370d04c --- /dev/null +++ b/pyload/webui/themes/default/tml/filemanager.html @@ -0,0 +1,78 @@ +{% extends '/default/tml/base.html' %} + +{% block head %} + + + + +{% endblock %} + +{% block title %}Downloads - {{super()}} {% endblock %} + + +{% block subtitle %} +{{_("FileManager")}} +{% endblock %} + +{% macro display_file(file) %} +
  • + + + + {{ file.name }} + + +    + + + +
  • +{%- endmacro %} + +{% macro display_folder(fld, open = false) -%} +
  • + + + + {{ fld.name }} + + +    + +    + + + + {% if (fld.folders|length + fld.files|length) > 0 %} + {% if open %} +