summaryrefslogtreecommitdiffstats
path: root/module/webui/themes/default/tml/downloads.html
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-08-27 15:22:39 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-08-27 15:22:39 +0200
commit4c8a6401abe2ee3752d8a30402e74e882042352f (patch)
tree64e14f3147bb60ade00aeb21a9fa97a8f862733c /module/webui/themes/default/tml/downloads.html
parentRe-apply 8446e16346ece5a934550f69e81d0cad528f7fba (diff)
downloadpyload-4c8a6401abe2ee3752d8a30402e74e882042352f.tar.xz
[webui] Restructure file tree + convert tabs to 2 whitespaces + remove setup.html
Diffstat (limited to 'module/webui/themes/default/tml/downloads.html')
-rw-r--r--module/webui/themes/default/tml/downloads.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/module/webui/themes/default/tml/downloads.html b/module/webui/themes/default/tml/downloads.html
new file mode 100644
index 000000000..ba0f77c18
--- /dev/null
+++ b/module/webui/themes/default/tml/downloads.html
@@ -0,0 +1,29 @@
+{% extends '/default/tml/base.html' %}
+
+{% block title %}Downloads - {{super()}} {% endblock %}
+
+{% block subtitle %}
+{{_("Downloads")}}
+{% endblock %}
+
+{% block content %}
+
+<ul>
+ {% for folder in files.folder %}
+ <li>
+ {{ folder.name }}
+ <ul>
+ {% for file in folder.files %}
+ <li><a href='get/{{ folder.path|escape }}/{{ file|escape }}'>{{file}}</a></li>
+ {% endfor %}
+ </ul>
+ </li>
+ {% endfor %}
+
+ {% for file in files.files %}
+ <li> <a href='get/{{ file|escape }}'>{{ file }}</a></li>
+ {% endfor %}
+
+</ul>
+
+{% endblock %}