From 68d662e689cd42687341c550fb6ebb74e6968d21 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 8 Sep 2014 00:29:57 +0200 Subject: module -> pyload --- module/webui/themes/flat/tml/admin.html | 98 --------- module/webui/themes/flat/tml/base.html | 177 ---------------- module/webui/themes/flat/tml/captcha.html | 42 ---- module/webui/themes/flat/tml/downloads.html | 29 --- module/webui/themes/flat/tml/folder.html | 15 -- module/webui/themes/flat/tml/home.html | 263 ------------------------ 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 ----- 15 files changed, 1269 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/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 c7bdd7894..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 17349c5f1..000000000 --- a/module/webui/themes/flat/tml/base.html +++ /dev/null @@ -1,177 +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 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 %} - -
- - -
-
- -
- {% 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 ae1afe444..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 445f8da37..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/folder.html b/module/webui/themes/flat/tml/folder.html deleted file mode 100644 index 89b84e7bb..000000000 --- a/module/webui/themes/flat/tml/folder.html +++ /dev/null @@ -1,15 +0,0 @@ -
  • - - - - {{ name }} - - -    - -    - - - -
    {{ _("Folder is empty") }}
    -
  • \ No newline at end of file diff --git a/module/webui/themes/flat/tml/home.html b/module/webui/themes/flat/tml/home.html deleted file mode 100644 index 838a351ad..000000000 --- a/module/webui/themes/flat/tml/home.html +++ /dev/null @@ -1,263 +0,0 @@ -{% extends '/flat/tml/base.html' %} -{% block head %} - - - -{% endblock %} - -{% block subtitle %} -{{_("Active Downloads")}} -{% endblock %} - -{% block menu %} -
  • - {{_("Home")}} -
  • -
  • - {{_("Queue")}} -
  • -
  • - {{_("Collector")}} -
  • -
  • - {{_("Downloads")}} -
  • -
  • - {{_("Logs")}} -
  • -
  • - {{_("Config")}} -
  • -{% endblock %} - -{% block content %} - - - - - - - - - - - - - {% for link in content %} - - - - - - - - - - - {% endfor %} - - -
    {{_("Name")}}{{_("Status")}}{{_("Information")}}{{_("Size")}}{{_("Progress")}}
    -{% endblock %} \ No newline at end of file diff --git a/module/webui/themes/flat/tml/info.html b/module/webui/themes/flat/tml/info.html deleted file mode 100644 index 26b46736d..000000000 --- a/module/webui/themes/flat/tml/info.html +++ /dev/null @@ -1,81 +0,0 @@ -{% extends '/flat/tml/base.html' %} - -{% block head %} - -{% endblock %} - -{% block title %}{{ _("Information") }} - {{ super() }} {% endblock %} -{% block subtitle %}{{ _("Information") }}{% endblock %} - -{% block content %} -

    {{ _("News") }}

    -
    - -

    {{ _("Support") }}

    - - - -

    {{ _("System") }}

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {{ _("Python:") }}{{ python }}
    {{ _("OS:") }}{{ os }}
    {{ _("pyLoad version:") }}{{ version }}
    {{ _("Installation Folder:") }}{{ folder }}
    {{ _("Config Folder:") }}{{ config }}
    {{ _("Download Folder:") }}{{ download }}
    {{ _("Free Space:") }}{{ freespace }}
    {{ _("Language:") }}{{ language }}
    {{ _("Webinterface Port:") }}{{ webif }}
    {{ _("Remote Interface Port:") }}{{ remote }}
    - -{% endblock %} \ No newline at end of file diff --git a/module/webui/themes/flat/tml/login.html b/module/webui/themes/flat/tml/login.html deleted file mode 100644 index 76365a79c..000000000 --- a/module/webui/themes/flat/tml/login.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends '/flat/tml/base.html' %} - -{% block title %}{{_("Login")}} - {{super()}} {% endblock %} - -{% block content %} - -
    -
    -
    - -
    - Login - -
    - -
    - -
    -
    -
    - -{% if errors %} -

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

    - {{ _("To reset your login data or add an user run:") }} python pyload.py -u -{% endif %} - -
    -
    - -{% endblock %} diff --git a/module/webui/themes/flat/tml/logout.html b/module/webui/themes/flat/tml/logout.html deleted file mode 100644 index 370031b25..000000000 --- a/module/webui/themes/flat/tml/logout.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends '/flat/tml/base.html' %} - -{% block head %} - -{% endblock %} - -{% block content %} -

    {{_("You were successfully logged out.")}}

    -{% endblock %} \ No newline at end of file diff --git a/module/webui/themes/flat/tml/logs.html b/module/webui/themes/flat/tml/logs.html deleted file mode 100644 index 87e5a0f30..000000000 --- a/module/webui/themes/flat/tml/logs.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends '/flat/tml/base.html' %} - -{% block title %}{{_("Logs")}} - {{super()}} {% endblock %} -{% block subtitle %}{{_("Logs")}}{% endblock %} -{% block head %} - -{% endblock %} - -{% block content %} -
    - -
    << {{_("Start")}} < {{_("prev")}} {{_("next")}} > {{_("End")}} >>
    -
    -
    - -   - - -
    -
    -
    {{warning}}
    -
    -
    - - {% for line in log %} - - {% endfor %} -
    {{line.line}}{{line.date}}{{line.level}}{{line.message}}
    -
    -
    -
    - - -
    -
    -
     
    -{% endblock %} \ No newline at end of file diff --git a/module/webui/themes/flat/tml/pathchooser.html b/module/webui/themes/flat/tml/pathchooser.html deleted file mode 100644 index 95a1a3be5..000000000 --- a/module/webui/themes/flat/tml/pathchooser.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -
    -
    -
    - - -
    - - {% if type == 'folder' %} - {{_("Path")}}: {{_("absolute")}} | {{_("relative")}} - {% else %} - {{_("Path")}}: {{_("absolute")}} | {{_("relative")}} - {% endif %} -
    - - - - - - - - {% if parentdir %} - - - - {% endif %} -{% for file in files %} - - {% if type == 'folder' %} - - {% else %} - - {% endif %} - - - - - -{% endfor %} -
    {{_("name")}}{{_("size")}}{{_("type")}}{{_("last modified")}}
    - {{_("parent directory")}} -
    {% if file.type == 'dir' %}{{ file.name|truncate(25) }}{% else %}{{ file.name|truncate(25) }}{% endif %}{% if file.type == 'dir' %}{{ file.name|truncate(25) }}{% else %}{{ file.name|truncate(25) }}{% endif %}{{ file.size|float|filesizeformat }}{% if file.type == 'dir' %}directory{% else %}{{ file.ext|default("file") }}{% endif %}{{ file.modified|date("d.m.Y - H:i:s") }}
    -
    - - \ No newline at end of file diff --git a/module/webui/themes/flat/tml/queue.html b/module/webui/themes/flat/tml/queue.html deleted file mode 100644 index 0d3022ddd..000000000 --- a/module/webui/themes/flat/tml/queue.html +++ /dev/null @@ -1,104 +0,0 @@ -{% extends '/flat/tml/base.html' %} -{% block head %} - - - - -{% endblock %} - -{% if target %} - {% set name = _("Queue") %} -{% else %} - {% set name = _("Collector") %} -{% endif %} - -{% block title %}{{name}} - {{super()}} {% endblock %} -{% block subtitle %}{{name}}{% endblock %} - -{% block pageactions %} - -{% endblock %} - -{% block content %} -{% autoescape true %} - - -{% endautoescape %} -{% endblock %} - -{% block hidden %} -
    -
    -

    {{_("Edit Package")}}

    -

    {{_("Edit the package detais below.")}}

    - - - - - - - - - - - - -
    - -
    - -
    -{% endblock %} \ No newline at end of file diff --git a/module/webui/themes/flat/tml/settings.html b/module/webui/themes/flat/tml/settings.html deleted file mode 100644 index 1bd0d1e17..000000000 --- a/module/webui/themes/flat/tml/settings.html +++ /dev/null @@ -1,204 +0,0 @@ -{% extends '/flat/tml/base.html' %} - -{% block title %}{{ _("Config") }} - {{ super() }} {% endblock %} -{% block subtitle %}{{ _("Config") }}{% endblock %} - -{% block head %} - - - - -{% endblock %} - -{% block content %} - - - -
    - -
    - - - - - - -
    - -
    -

       {{ _("Choose a section from the menu") }}

    -
    -
    - - -
    -
    - - - - - - -
    - - -
    -

       {{ _("Choose a section from the menu") }}

    -
    -
    - -
    - -
    - - - -
    - - - - - - - - - - - - - - - - - - - - {% for account in conf.accs %} - {% set plugin = account.type %} - - - - - - - - - - - - - - {% endfor %} -
    {{ _("Plugin") }}{{ _("Name") }}{{ _("Password") }}{{ _("Status") }}{{ _("Premium") }}{{ _("Valid until") }}{{ _("Traffic left") }}{{ _("Time") }}{{ _("Max Parallel") }}{{ _("Delete?") }}
    - {{ plugin }} - - - - {% if account.valid %} - - {{ _("valid") }} - {% else %} - - {{ _("not valid") }} - {% endif %} - - - {% if account.premium %} - - {{ _("yes") }} - {% else %} - - {{ _("no") }} - {% endif %} - - - - {{ account.validuntil }} - - - - {{ account.trafficleft }} - - - - - - - -
    - - - -
    -
    -
    -{% endblock %} -{% block hidden %} -
    -
    -

    {{_("Add Account")}}

    -

    {{_("Enter your account data to use premium features.")}}

    - - - - - - - - - - - -
    - -
    - -
    -{% endblock %} \ No newline at end of file diff --git a/module/webui/themes/flat/tml/settings_item.html b/module/webui/themes/flat/tml/settings_item.html deleted file mode 100644 index 813383343..000000000 --- a/module/webui/themes/flat/tml/settings_item.html +++ /dev/null @@ -1,48 +0,0 @@ - - {% if section.outline %} - - {% endif %} - {% for okey, option in section.iteritems() %} - {% if okey not in ("desc","outline") %} - - - - - {% endif %} - {% endfor %} -
    {{ section.outline }}
    - {% if option.type == "bool" %} - - {% elif ";" in option.type %} - - {% elif option.type == "folder" %} - - - {% elif option.type == "file" %} - - - {% elif option.type == "password" %} - - {% else %} - - {% endif %} -
    \ No newline at end of file diff --git a/module/webui/themes/flat/tml/window.html b/module/webui/themes/flat/tml/window.html deleted file mode 100644 index 8f57843c6..000000000 --- a/module/webui/themes/flat/tml/window.html +++ /dev/null @@ -1,46 +0,0 @@ - - -
    -
    -

    {{_("Add Package")}}

    -

    {{_("Paste your links or upload a container.")}}

    - - - - - - - - - - - - - - - {{_("Queue")}} - - {{_("Collector")}} - - - - - -
    - -
    - -
    \ No newline at end of file -- cgit v1.2.3