summaryrefslogtreecommitdiffstats
path: root/templates/_files.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_files.html')
-rw-r--r--templates/_files.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/_files.html b/templates/_files.html
new file mode 100644
index 0000000..94a069d
--- /dev/null
+++ b/templates/_files.html
@@ -0,0 +1,12 @@
+ {% if tags %}
+ <h2>Files for {{tags|join(', ')}}</h2>
+ {% else %}
+ <h2>All uploaded files</h2>
+ {% endif %}
+ <ul>
+ {% for file in files %}
+ <li><a href="{{url_for('show', oid=file[1])}}">{{ file[0] }}</a></li>
+ {% else %}
+ <li><strong>no files uploaded</strong></li>
+ {% endfor %}
+ </ul>