From 3c9f55270a83b0e88ec0dc516f9d9921e4d7b6ea Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 25 Aug 2010 16:48:55 +0200 Subject: merged gui --- module/web/templates/default/base.html | 317 ---------------------------- module/web/templates/default/captcha.html | 37 ---- module/web/templates/default/collector.html | 152 ------------- module/web/templates/default/downloads.html | 53 ----- module/web/templates/default/home.html | 241 --------------------- module/web/templates/default/login.html | 38 ---- module/web/templates/default/logout.html | 10 - module/web/templates/default/logs.html | 62 ------ module/web/templates/default/queue.html | 140 ------------ module/web/templates/default/settings.html | 180 ---------------- module/web/templates/default/window.html | 41 ---- 11 files changed, 1271 deletions(-) delete mode 100644 module/web/templates/default/base.html delete mode 100644 module/web/templates/default/captcha.html delete mode 100644 module/web/templates/default/collector.html delete mode 100644 module/web/templates/default/downloads.html delete mode 100644 module/web/templates/default/home.html delete mode 100644 module/web/templates/default/login.html delete mode 100644 module/web/templates/default/logout.html delete mode 100644 module/web/templates/default/logs.html delete mode 100644 module/web/templates/default/queue.html delete mode 100644 module/web/templates/default/settings.html delete mode 100644 module/web/templates/default/window.html (limited to 'module/web/templates/default') diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html deleted file mode 100644 index fd18aee84..000000000 --- a/module/web/templates/default/base.html +++ /dev/null @@ -1,317 +0,0 @@ -{% load i18n %} - - - - - - - - - - - - - - - - - - -{% block title %}pyLoad {% trans "Webinterface" %}{% endblock %} - - - -{% block head %} -{% endblock %} - - - - -
- -
- -{% if user.is_authenticated %} - - -Captcha: -{% trans "Captcha waiting" %} - - -User:{{user.username}} - -{% else %} - {% trans "Please Login!" %} -{% endif %} - -
- - - -
- -
- -
-
- -{% if perms.pyload.can_change_status %} - -{% endif %} - -{% if perms.pyload.can_see_dl %} -
-{% endif %} - -
- -
- -

{% block subtitle %}pyLoad - {% trans "Webinterface" %}{% endblock %}

- -{% block statusbar %} -{% endblock %} - - -
- -
-
- -{% for message in messages %} -

{{message}}

-{% endfor %} - -{% block content %} -{% endblock content %} - -
- - -
-
- -{% include "default/window.html" %} -{% include "default/captcha.html" %} - - diff --git a/module/web/templates/default/captcha.html b/module/web/templates/default/captcha.html deleted file mode 100644 index aa30e365c..000000000 --- a/module/web/templates/default/captcha.html +++ /dev/null @@ -1,37 +0,0 @@ -{% load i18n %} - - - - - -
-
-

{% trans "Captcha reading" %}

-

{% trans "Please read the text on the captcha." %}

- - - - - - - - - - - - - - - - - -
- - -
- -
\ No newline at end of file diff --git a/module/web/templates/default/collector.html b/module/web/templates/default/collector.html deleted file mode 100644 index 613fb824b..000000000 --- a/module/web/templates/default/collector.html +++ /dev/null @@ -1,152 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} - -{% block head %} - -{% endblock %} - -{% block title %}{% trans "Collector" %} - {{block.super}} {% endblock %} -{% block subtitle %}{% trans "Collector" %}{% endblock %} - -{% block menu %} -
  • - {% trans "Home" %} -
  • -
  • - {% trans "Queue" %} -
  • -
  • - {% trans "Collector" %} -
  • -
  • - {% trans "Downloads" %} -
  • -
  • - {% trans "Logs" %} -
  • -
  • - {% trans "Config" %} -
  • {% endblock %} - -{% block content %} -{% for id,package in content %} -
    -
    - {{ package.name }} -    - -    - -    - -
    - -
    -{% endfor %} - -{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/downloads.html b/module/web/templates/default/downloads.html deleted file mode 100644 index 9ab5a2ea4..000000000 --- a/module/web/templates/default/downloads.html +++ /dev/null @@ -1,53 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} - -{% block title %}Downloads - {{block.super}} {% endblock %} - -{% block menu %} -
  • - {% trans "Home" %} -
  • -
  • - {% trans "Queue" %} -
  • -
  • - {% trans "Collector" %} -
  • -
  • - {% trans "Downloads" %} -
  • -
  • - {% trans "Logs" %} -
  • -
  • - {% trans "Config" %} -
  • -{% endblock %} - -{% block subtitle %} -{% trans "Downloads" %} -{% endblock %} - -{% block content %} - -{% trans "It's recommend not to download Files bigger than ~10MB from here." %} - - - -{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html deleted file mode 100644 index bbc196fe1..000000000 --- a/module/web/templates/default/home.html +++ /dev/null @@ -1,241 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} - -{% block head %} - - - -{% endblock %} - -{% block subtitle %} -{% trans "Active Downloads" %} -{% endblock %} - -{% block content %} - - - - - - - - - - - - - {% for link in content %} - - - - - - - - - - - {% endfor %} - - -
    {% trans "Name" %}{% trans "Status" %}{% trans "Information" %}{% trans "Size" %}{% trans "Progress" %}
    -{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html deleted file mode 100644 index 7ae78183b..000000000 --- a/module/web/templates/default/login.html +++ /dev/null @@ -1,38 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} -{% load token %} - -{% block title %}{% trans "Login" %} - {{block.super}} {% endblock %} - -{% block content %} - -
    -
    - {% csrf_token %} -
    - -
    - Login - -
    - -
    - -
    -
    -
    - -{% if form.errors %} -

    {% trans "Your username and password didn't match. Please try again." %}

    -{% endif %} - -
    -
    - -{% endblock %} diff --git a/module/web/templates/default/logout.html b/module/web/templates/default/logout.html deleted file mode 100644 index edc30392e..000000000 --- a/module/web/templates/default/logout.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} - -{% block head %} - -{% endblock %} - -{% block content %} -

    {% trans "You were successfully logged out." %}

    -{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/logs.html b/module/web/templates/default/logs.html deleted file mode 100644 index 5da99912f..000000000 --- a/module/web/templates/default/logs.html +++ /dev/null @@ -1,62 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} - -{% block title %}{% trans "Logs" %} - {{block.super}} {% endblock %} -{% block subtitle %}{% trans "Logs" %}{% endblock %} -{% block head %} - -{% endblock %} -{% block menu %} -
  • - {% trans "Home" %} -
  • -
  • - {% trans "Queue" %} -
  • -
  • - {% trans "Collector" %} -
  • -
  • - {% trans "Downloads" %} -
  • -
  • - {% trans "Logs" %} -
  • -
  • - {% trans "Config" %} -
  • -{% endblock %} - -{% block content %} -
    - -
    << {% trans "Start" %} < {% trans "prev" %} {% trans "next" %} > {% trans "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/web/templates/default/queue.html b/module/web/templates/default/queue.html deleted file mode 100644 index 0c6c021f5..000000000 --- a/module/web/templates/default/queue.html +++ /dev/null @@ -1,140 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} - -{% block head %} - -{% endblock %} - -{% block title %}{% trans "Queue" %} - {{block.super}} {% endblock %} -{% block subtitle %}{% trans "Queue" %}{% endblock %} - -{% block menu %} -
  • - {% trans "Home" %} -
  • -
  • - {% trans "Queue" %} -
  • -
  • - {% trans "Collector" %} -
  • -
  • - {% trans "Downloads" %} -
  • -
  • - {% trans "Logs" %} -
  • -
  • - {% trans "Config" %} -
  • {% endblock %} - -{% block content %} -{% for id, package in content %} -
    -
    - {{ package.name }} -    - -    - -
    - -
    -{% endfor %} - -{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html deleted file mode 100644 index e9a40ff3a..000000000 --- a/module/web/templates/default/settings.html +++ /dev/null @@ -1,180 +0,0 @@ -{% extends 'default/base.html' %} -{% load i18n %} -{% load contains %} - -{% block title %}{% trans "Config" %} - {{block.super}} {% endblock %} -{% block subtitle %}{% trans "Config" %}{% endblock %} - -{% block head %} - - -{% endblock %} - -{% block menu %} -
  • - {% trans "Home" %} -
  • -
  • - {% trans "Queue" %} -
  • -
  • - {% trans "Collector" %} -
  • -
  • - {% trans "Downloads" %} -
  • -
  • - {% trans "Logs" %} -
  • -
  • - {% trans "Config" %} -
  • -{% endblock %} - -{% block content %} - - - -
    - -
    -
    -{% for configname, config in conf.iteritems %} - {% ifnotequal configname "Accounts" %} - {% for skey, section in config.iteritems %} -
    - - {% for okey, option in section.items %} - {% ifnotequal okey "desc" %} - - - - - {% endifnotequal %} - {% endfor %} -
    - {% ifequal option.type "bool" %} - - {% else %} - {% if option.type|contains:";" %} - - {% else %} - - {% endif %} - {% endifequal %} -
    -
    - {% endfor %} - {% else %} - - {% for plugin, accounts in config.iteritems %} -
    - - {% for account in accounts %} - - - - - - - {% endfor %} - - - - - - - - - - - - - -
    - - - {% trans "Delete? " %} - - -
     
    - -
    - -
    -
    - {% endfor %} - - {% endifnotequal %} -{% endfor %} -{% if conf %} - -
    - -
    -{% for message in errors %} -{{message}}
    -{% endfor %} - -{% endif %} - -{% endblock %} diff --git a/module/web/templates/default/window.html b/module/web/templates/default/window.html deleted file mode 100644 index 01218965e..000000000 --- a/module/web/templates/default/window.html +++ /dev/null @@ -1,41 +0,0 @@ -{% load i18n %} - - - - - -
    -
    -

    {% trans "Add Package" %}

    -

    {% trans "Paste your links or upload a container." %}

    - - - - - - - - - - - - {% trans "Queue" %} - - {% trans "Collector" %} - - - - - -
    - -
    - -
    \ No newline at end of file -- cgit v1.2.3