diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-17 01:17:42 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-17 01:17:42 +0100 |
commit | c29dd33eae1d3449bc9639cc05ac00551a94bb60 (patch) | |
tree | bb98227d093ab9edef1db052be4a27d886ed328c /module/web/templates/default/downloads.html | |
parent | Revert fcead1870013b6a970eca7878a66dbe783c80ea3 (diff) | |
download | pyload-c29dd33eae1d3449bc9639cc05ac00551a94bb60.tar.xz |
webui temp
Diffstat (limited to 'module/web/templates/default/downloads.html')
-rw-r--r-- | module/web/templates/default/downloads.html | 29 |
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..450b8a102 --- /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 %}
\ No newline at end of file |