From 4c8a6401abe2ee3752d8a30402e74e882042352f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 27 Aug 2014 15:22:39 +0200 Subject: [webui] Restructure file tree + convert tabs to 2 whitespaces + remove setup.html --- module/web/themes/dark/tml/admin.html | 98 ---------- module/web/themes/dark/tml/base.html | 180 ----------------- module/web/themes/dark/tml/captcha.html | 42 ---- module/web/themes/dark/tml/downloads.html | 29 --- module/web/themes/dark/tml/filemanager.html | 78 -------- module/web/themes/dark/tml/folder.html | 15 -- module/web/themes/dark/tml/home.html | 266 -------------------------- module/web/themes/dark/tml/info.html | 76 -------- module/web/themes/dark/tml/login.html | 37 ---- module/web/themes/dark/tml/logout.html | 9 - module/web/themes/dark/tml/logs.html | 41 ---- module/web/themes/dark/tml/pathchooser.html | 76 -------- module/web/themes/dark/tml/queue.html | 104 ---------- module/web/themes/dark/tml/settings.html | 204 -------------------- module/web/themes/dark/tml/settings_item.html | 48 ----- module/web/themes/dark/tml/setup.html | 13 -- module/web/themes/dark/tml/window.html | 52 ----- 17 files changed, 1368 deletions(-) delete mode 100644 module/web/themes/dark/tml/admin.html delete mode 100644 module/web/themes/dark/tml/base.html delete mode 100644 module/web/themes/dark/tml/captcha.html delete mode 100644 module/web/themes/dark/tml/downloads.html delete mode 100644 module/web/themes/dark/tml/filemanager.html delete mode 100644 module/web/themes/dark/tml/folder.html delete mode 100644 module/web/themes/dark/tml/home.html delete mode 100644 module/web/themes/dark/tml/info.html delete mode 100644 module/web/themes/dark/tml/login.html delete mode 100644 module/web/themes/dark/tml/logout.html delete mode 100644 module/web/themes/dark/tml/logs.html delete mode 100644 module/web/themes/dark/tml/pathchooser.html delete mode 100644 module/web/themes/dark/tml/queue.html delete mode 100644 module/web/themes/dark/tml/settings.html delete mode 100644 module/web/themes/dark/tml/settings_item.html delete mode 100644 module/web/themes/dark/tml/setup.html delete mode 100644 module/web/themes/dark/tml/window.html (limited to 'module/web/themes/dark/tml') diff --git a/module/web/themes/dark/tml/admin.html b/module/web/themes/dark/tml/admin.html deleted file mode 100644 index b9d3a8d1e..000000000 --- a/module/web/themes/dark/tml/admin.html +++ /dev/null @@ -1,98 +0,0 @@ -{% extends '/dark/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 pyLoadCore.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/web/themes/dark/tml/base.html b/module/web/themes/dark/tml/base.html deleted file mode 100644 index f40e21d15..000000000 --- a/module/web/themes/dark/tml/base.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - - - - - - - - - -{% block title %}pyLoad {{_("Webinterface")}}{% 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 user.is_authenticated %} -
- -
{% endif %} - -
-
- -{% 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 %} - -
- - -
-
- - - - diff --git a/module/web/themes/dark/tml/captcha.html b/module/web/themes/dark/tml/captcha.html deleted file mode 100644 index 288375b76..000000000 --- a/module/web/themes/dark/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/web/themes/dark/tml/downloads.html b/module/web/themes/dark/tml/downloads.html deleted file mode 100644 index 8a68d3f99..000000000 --- a/module/web/themes/dark/tml/downloads.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends '/dark/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/web/themes/dark/tml/filemanager.html b/module/web/themes/dark/tml/filemanager.html deleted file mode 100644 index f9ce543ee..000000000 --- a/module/web/themes/dark/tml/filemanager.html +++ /dev/null @@ -1,78 +0,0 @@ -{% extends '/dark/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 %} -