Recursive listing of the images directory & fixes bug when uploading no files.

This commit is contained in:
Jeremy committed 2015-02-23 15:49:05 -07:00
1 parent 4d1f08c96e
commit 0e8c184987
2 files changed
+11 -12

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
{%if files%}
<h2>Files on {{gns3_host}}</h2>
{%for file in files%}
<p>{{image_path}}/{{file}}</a></p>
<p>{{file}}</a></p>
{%endfor%}
{%endif%}
{% endblock %}