From 511ae48877f8f3fae2a3ba282d979c33f2ea5491 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 17 Dec 2009 16:14:26 +0100 Subject: webinterface: config working, downloadable files --- module/web/templates/default/base.html | 6 +++++- module/web/templates/default/downloads.html | 28 ++++++++++++++++++++++++++++ module/web/templates/default/home.html | 6 +++++- 3 files changed, 38 insertions(+), 2 deletions(-) (limited to 'module/web/templates/default') diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index ef2685a83..46e9caa11 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -98,23 +98,27 @@ $(document).ready(function(){
+{% if perms.pyload.can_change_status %} +{% endif %} +{% if perms.pyload.can_see_dl %}
+{% endif %}
-

Queue

+

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

{% block statusbar %} {% endblock %} diff --git a/module/web/templates/default/downloads.html b/module/web/templates/default/downloads.html index 202965b3c..3f07bec47 100644 --- a/module/web/templates/default/downloads.html +++ b/module/web/templates/default/downloads.html @@ -13,4 +13,32 @@
  • Logs
  • +{% endblock %} + +{% block subtitle %} +Downloads +{% endblock %} + +{% block content %} + +It's recommend not to download Files bigger than ~10MB from here. + +
      + {% for folder in files.folder %} +
    • + {{ folder.name }} +
        + {% for file in folder.files %} +
      • {{ file }}
      • + {% endfor %} +
      +
    • + {% endfor %} + + {% for file in files.files %} +
    • {{ file }}
    • + {% endfor %} + +
    + {% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html index 40f124712..fac4b6e63 100644 --- a/module/web/templates/default/home.html +++ b/module/web/templates/default/home.html @@ -1,5 +1,9 @@ {% extends 'default/base.html' %} -{% block content %} +{% block subtitle %} +Active Downloads +{% endblock %} + +{% block content %} {% endblock %} \ No newline at end of file -- cgit v1.2.3