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/flat/tml/admin.html | 2 +- module/webui/themes/flat/tml/base.html | 9 ++-- module/webui/themes/flat/tml/filemanager.html | 78 --------------------------- module/webui/themes/flat/tml/home.html | 7 +-- module/webui/themes/flat/tml/login.html | 2 +- 5 files changed, 7 insertions(+), 91 deletions(-) delete mode 100644 module/webui/themes/flat/tml/filemanager.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 index 855a2a627..c7bdd7894 100644 --- a/module/webui/themes/flat/tml/admin.html +++ b/module/webui/themes/flat/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/flat/tml/base.html b/module/webui/themes/flat/tml/base.html index 18a380463..17349c5f1 100644 --- a/module/webui/themes/flat/tml/base.html +++ b/module/webui/themes/flat/tml/base.html @@ -5,7 +5,7 @@ - + @@ -92,14 +92,11 @@
  • {{_("Downloads")}}
  • -{#
  • #} -{# {{_("FileManager")}}#} -{#
  • #}
  • - {{_("Logs")}} + {{_("Logs")}}
  • - {{_("Config")}} + {{_("Config")}}
  • {% endblock %} diff --git a/module/webui/themes/flat/tml/filemanager.html b/module/webui/themes/flat/tml/filemanager.html deleted file mode 100644 index 9c49e6dba..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 %} -
      - {% 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/flat/tml/home.html b/module/webui/themes/flat/tml/home.html index 052e0daca..838a351ad 100644 --- a/module/webui/themes/flat/tml/home.html +++ b/module/webui/themes/flat/tml/home.html @@ -219,14 +219,11 @@ var LinkEntry = new Class({
    • {{_("Downloads")}}
    • -{#
    • #} -{# {{_("FileManager")}}#} -{#
    • #}
    • - {{_("Logs")}} + {{_("Logs")}}
    • - {{_("Config")}} + {{_("Config")}}
    • {% endblock %} diff --git a/module/webui/themes/flat/tml/login.html b/module/webui/themes/flat/tml/login.html index a7ef3c7c4..76365a79c 100644 --- a/module/webui/themes/flat/tml/login.html +++ b/module/webui/themes/flat/tml/login.html @@ -27,7 +27,7 @@ {% if errors %}

      {{_("Your username and password didn't match. Please try again.")}}

      - {{ _("To reset your login data or add an user run:") }} python pyLoadCore.py -u + {{ _("To reset your login data or add an user run:") }} python pyload.py -u {% endif %} -- cgit v1.2.3