summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/downloads.html
diff options
context:
space:
mode:
authorGravatar stickell <l.stickell@yahoo.it> 2014-08-24 16:00:27 +0200
committerGravatar stickell <l.stickell@yahoo.it> 2014-08-24 16:00:27 +0200
commitdf888fad2bd1697f6c61930c486242764184d638 (patch)
tree290e04ade53e7f01ae74b2c7f886f711e8062afa /module/web/templates/default/downloads.html
parent[MultiHoster] Fixed crash due to getConf deprecation (diff)
downloadpyload-df888fad2bd1697f6c61930c486242764184d638.tar.xz
Revert 8446e16346ece5a934550f69e81d0cad528f7fba. It broke the WebUI.
Diffstat (limited to 'module/web/templates/default/downloads.html')
-rw-r--r--module/web/templates/default/downloads.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/module/web/templates/default/downloads.html b/module/web/templates/default/downloads.html
new file mode 100644
index 000000000..122ca1b82
--- /dev/null
+++ b/module/web/templates/default/downloads.html
@@ -0,0 +1,29 @@
+{% extends 'default/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 %}