From c4d2777542413eaf3a3a7bc74df15a274b2128c2 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 15 Nov 2014 15:01:56 +0100 Subject: Rename theme "estate" to "clearbright" --- pyload/webui/themes/clearbright/tml/admin.html | 98 ++++++++ pyload/webui/themes/clearbright/tml/base.html | 180 ++++++++++++++ pyload/webui/themes/clearbright/tml/captcha.html | 42 ++++ pyload/webui/themes/clearbright/tml/downloads.html | 29 +++ .../webui/themes/clearbright/tml/filemanager.html | 78 ++++++ pyload/webui/themes/clearbright/tml/folder.html | 15 ++ pyload/webui/themes/clearbright/tml/home.html | 266 +++++++++++++++++++++ pyload/webui/themes/clearbright/tml/info.html | 81 +++++++ pyload/webui/themes/clearbright/tml/login.html | 36 +++ pyload/webui/themes/clearbright/tml/logout.html | 9 + pyload/webui/themes/clearbright/tml/logs.html | 41 ++++ .../webui/themes/clearbright/tml/pathchooser.html | 76 ++++++ pyload/webui/themes/clearbright/tml/queue.html | 104 ++++++++ pyload/webui/themes/clearbright/tml/settings.html | 204 ++++++++++++++++ .../themes/clearbright/tml/settings_item.html | 48 ++++ pyload/webui/themes/clearbright/tml/window.html | 46 ++++ 16 files changed, 1353 insertions(+) create mode 100644 pyload/webui/themes/clearbright/tml/admin.html create mode 100644 pyload/webui/themes/clearbright/tml/base.html create mode 100644 pyload/webui/themes/clearbright/tml/captcha.html create mode 100644 pyload/webui/themes/clearbright/tml/downloads.html create mode 100644 pyload/webui/themes/clearbright/tml/filemanager.html create mode 100644 pyload/webui/themes/clearbright/tml/folder.html create mode 100644 pyload/webui/themes/clearbright/tml/home.html create mode 100644 pyload/webui/themes/clearbright/tml/info.html create mode 100644 pyload/webui/themes/clearbright/tml/login.html create mode 100644 pyload/webui/themes/clearbright/tml/logout.html create mode 100644 pyload/webui/themes/clearbright/tml/logs.html create mode 100644 pyload/webui/themes/clearbright/tml/pathchooser.html create mode 100644 pyload/webui/themes/clearbright/tml/queue.html create mode 100644 pyload/webui/themes/clearbright/tml/settings.html create mode 100644 pyload/webui/themes/clearbright/tml/settings_item.html create mode 100644 pyload/webui/themes/clearbright/tml/window.html (limited to 'pyload/webui/themes/clearbright/tml') diff --git a/pyload/webui/themes/clearbright/tml/admin.html b/pyload/webui/themes/clearbright/tml/admin.html new file mode 100644 index 000000000..cc3f5379b --- /dev/null +++ b/pyload/webui/themes/clearbright/tml/admin.html @@ -0,0 +1,98 @@ +{% extends '/clearbright/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/clearbright/tml/base.html b/pyload/webui/themes/clearbright/tml/base.html new file mode 100644 index 000000000..8faf53a12 --- /dev/null +++ b/pyload/webui/themes/clearbright/tml/base.html @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + +{% block title %}pyLoad {{_("Web UI")}}{% endblock %} + +{% block head %} +{% endblock %} + + + + +
+ + +
+ {% block headpanel %} + + {% if user.is_authenticated %} + + +{% if update %} + +{{_("pyLoad Update available!")}} + +{% 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 - {{_("Web UI")}}{% endblock %}

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

{{message}}

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

{{_("Captcha reading")}}

+

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

+ +
+ + + + + + + + + + + +
+ +
+ +
+ +
+ + + + +
+ +
+ +
+ +
\ No newline at end of file diff --git a/pyload/webui/themes/clearbright/tml/downloads.html b/pyload/webui/themes/clearbright/tml/downloads.html new file mode 100644 index 000000000..bb1ed89bd --- /dev/null +++ b/pyload/webui/themes/clearbright/tml/downloads.html @@ -0,0 +1,29 @@ +{% extends '/clearbright/tml/base.html' %} + +{% block title %}Downloads - {{super()}} {% endblock %} + +{% block subtitle %} +{{_("Downloads")}} +{% endblock %} + +{% block content %} + + + +{% endblock %} \ No newline at end of file diff --git a/pyload/webui/themes/clearbright/tml/filemanager.html b/pyload/webui/themes/clearbright/tml/filemanager.html new file mode 100644 index 000000000..8d2505748 --- /dev/null +++ b/pyload/webui/themes/clearbright/tml/filemanager.html @@ -0,0 +1,78 @@ +{% extends '/clearbright/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 %} +