From cc5983e629574ab768c0f7337b192070bae17fd1 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 10 Jan 2021 16:52:30 +1100 Subject: [PATCH] harness for showing file details in view photos --- templates/photos.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/templates/photos.html b/templates/photos.html index f198829..315b565 100644 --- a/templates/photos.html +++ b/templates/photos.html @@ -3,9 +3,19 @@

{{page_title}} -- {{view_path}}

- - {% for obj in objects %} - + + {% for item in image_list %} + {% endfor %}
Name
{{obj.name}}
NameSizeHash
+ {% if obj.type=="Directory" %} + + {% elif obj.type=="Image" %} + + {% elif obj.type=="Video" %} + + {% else %} + + {% endif %} +  {{obj.name}}{{obj.size}}{{obj.hash}}