diff --git a/.gitignore b/.gitignore index be142fc..0773d1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ __pycache__/ -photos/ \ No newline at end of file +photos/ +images_to_process/ \ No newline at end of file diff --git a/templates/photos.html b/templates/photos.html index 06bd25d..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}}
diff --git a/templates/settings.html b/templates/settings.html index 66bf9ac..2ac004a 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -2,8 +2,8 @@

{{page_title}}

- - +
NameValue
+ {% for obj in objects %} {% endfor %}
NameValue
{{obj.name}}{{obj.value}}