diff --git a/.gitignore b/.gitignore index 43660d2..9159069 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Repository specific .idea/** +viewer/static/thumbnails/** # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/viewer/templates/browse.html b/viewer/templates/browse.html index 384c2a6..296a96f 100644 --- a/viewer/templates/browse.html +++ b/viewer/templates/browse.html @@ -21,7 +21,7 @@ {{ files|length }} files - + @@ -32,15 +32,17 @@ {% for directory in directories %} - + + + + {{ directory }} {% endfor %} {% for file in files %} - {% load thumbnail %} - -{# #} + {% load static %} + {{ file.filename }} @@ -84,6 +86,5 @@ - {% load static %} {% endblock content %}