From 5297f54d11ef29b938a077e3acf9c5b557c62677 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 30 Aug 2014 19:21:27 +0200 Subject: [webui] Improve and fix 3 --- module/webui/themes/dark/tml/admin.html | 2 +- module/webui/themes/dark/tml/base.html | 9 ++-- module/webui/themes/dark/tml/filemanager.html | 78 --------------------------- module/webui/themes/dark/tml/home.html | 7 +-- 4 files changed, 6 insertions(+), 90 deletions(-) delete mode 100644 module/webui/themes/dark/tml/filemanager.html (limited to 'module/webui/themes/dark/tml') diff --git a/module/webui/themes/dark/tml/admin.html b/module/webui/themes/dark/tml/admin.html index 1bbfad5c4..42118eda4 100644 --- a/module/webui/themes/dark/tml/admin.html +++ b/module/webui/themes/dark/tml/admin.html @@ -15,7 +15,7 @@

- {{ _("To add user or change passwords use:") }} python pyLoadCore.py -u
+ {{ _("To add user or change passwords use:") }} python pyload.py -u
{{ _("Important: Admin user have always all permissions!") }}
diff --git a/module/webui/themes/dark/tml/base.html b/module/webui/themes/dark/tml/base.html index a832dc79f..e7179acfa 100644 --- a/module/webui/themes/dark/tml/base.html +++ b/module/webui/themes/dark/tml/base.html @@ -5,7 +5,7 @@ - + @@ -92,14 +92,11 @@
  • {{_("Downloads")}}
  • -{#
  • #} -{# {{_("FileManager")}}#} -{#
  • #}
  • - {{_("Logs")}} + {{_("Logs")}}
  • - {{_("Config")}} + {{_("Config")}}
  • {% endblock %} diff --git a/module/webui/themes/dark/tml/filemanager.html b/module/webui/themes/dark/tml/filemanager.html deleted file mode 100644 index 21e45ff62..000000000 --- a/module/webui/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 %} -
      - {% else %} -
        - {% endif %} - {% for child in fld.folders %} - {{ display_folder(child) }} - {% endfor %} - {% for child in fld.files %} - {{ display_file(child) }} - {% endfor %} -
      - {% else %} -
      {{ _("Folder is empty") }}
      - {% endif %} - -{%- endmacro %} - -{% block content %} - -
      - -
        -{{ display_folder(root, true) }} -
      - -{% endblock %} diff --git a/module/webui/themes/dark/tml/home.html b/module/webui/themes/dark/tml/home.html index 2314d0def..b350b705e 100644 --- a/module/webui/themes/dark/tml/home.html +++ b/module/webui/themes/dark/tml/home.html @@ -219,14 +219,11 @@ var LinkEntry = new Class({
    • {{_("Downloads")}}
    • -{#
    • #} -{# {{_("FileManager")}}#} -{#
    • #}
    • - {{_("Logs")}} + {{_("Logs")}}
    • - {{_("Config")}} + {{_("Config")}}
    • {% endblock %} -- cgit v1.2.3