From 8e7d14bae4d3c836f029a1235eb227380acc3f75 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 21:59:10 +0100 Subject: Fix plugins to work on 0.4.10 --- module/webui/themes/Flat/tml/admin.html | 98 --------- module/webui/themes/Flat/tml/base.html | 180 ---------------- module/webui/themes/Flat/tml/captcha.html | 42 ---- module/webui/themes/Flat/tml/downloads.html | 29 --- module/webui/themes/Flat/tml/filemanager.html | 78 ------- module/webui/themes/Flat/tml/folder.html | 15 -- module/webui/themes/Flat/tml/home.html | 266 ------------------------ module/webui/themes/Flat/tml/info.html | 81 -------- module/webui/themes/Flat/tml/login.html | 36 ---- module/webui/themes/Flat/tml/logout.html | 9 - module/webui/themes/Flat/tml/logs.html | 41 ---- module/webui/themes/Flat/tml/pathchooser.html | 76 ------- module/webui/themes/Flat/tml/queue.html | 104 --------- module/webui/themes/Flat/tml/settings.html | 204 ------------------ module/webui/themes/Flat/tml/settings_item.html | 48 ----- module/webui/themes/Flat/tml/window.html | 46 ---- 16 files changed, 1353 deletions(-) delete mode 100644 module/webui/themes/Flat/tml/admin.html delete mode 100644 module/webui/themes/Flat/tml/base.html delete mode 100644 module/webui/themes/Flat/tml/captcha.html delete mode 100644 module/webui/themes/Flat/tml/downloads.html delete mode 100644 module/webui/themes/Flat/tml/filemanager.html delete mode 100644 module/webui/themes/Flat/tml/folder.html delete mode 100644 module/webui/themes/Flat/tml/home.html delete mode 100644 module/webui/themes/Flat/tml/info.html delete mode 100644 module/webui/themes/Flat/tml/login.html delete mode 100644 module/webui/themes/Flat/tml/logout.html delete mode 100644 module/webui/themes/Flat/tml/logs.html delete mode 100644 module/webui/themes/Flat/tml/pathchooser.html delete mode 100644 module/webui/themes/Flat/tml/queue.html delete mode 100644 module/webui/themes/Flat/tml/settings.html delete mode 100644 module/webui/themes/Flat/tml/settings_item.html delete mode 100644 module/webui/themes/Flat/tml/window.html (limited to 'module/webui/themes/Flat/tml') diff --git a/module/webui/themes/Flat/tml/admin.html b/module/webui/themes/Flat/tml/admin.html deleted file mode 100644 index eb87666ff..000000000 --- a/module/webui/themes/Flat/tml/admin.html +++ /dev/null @@ -1,98 +0,0 @@ -{% extends '/Flat/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/module/webui/themes/Flat/tml/base.html b/module/webui/themes/Flat/tml/base.html deleted file mode 100644 index 4473ee5e2..000000000 --- a/module/webui/themes/Flat/tml/base.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - - - - - - - - - -{% 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 '/Flat/tml/window.html' %} - {% include '/Flat/tml/captcha.html' %} - {% block hidden %} - {% endblock %} -
- - diff --git a/module/webui/themes/Flat/tml/captcha.html b/module/webui/themes/Flat/tml/captcha.html deleted file mode 100644 index 731d97d11..000000000 --- a/module/webui/themes/Flat/tml/captcha.html +++ /dev/null @@ -1,42 +0,0 @@ - -
- -
- -

{{_("Captcha reading")}}

-

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

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