From 4ed204b9a0d3dac3a44bf6a5bd56f4f9a544c902 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 10 Jan 2021 16:30:27 +1100 Subject: [PATCH 1/3] put thead-light class in for table headings --- templates/photos.html | 2 +- templates/settings.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/photos.html b/templates/photos.html index 06bd25d..f198829 100644 --- a/templates/photos.html +++ b/templates/photos.html @@ -3,7 +3,7 @@

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

- + {% for obj in objects %} {% endfor %} 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}}

-
Name
Name
{{obj.name}}
- +
NameValue
+ {% for obj in objects %} {% endfor %} From cc5983e629574ab768c0f7337b192070bae17fd1 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 10 Jan 2021 16:52:30 +1100 Subject: [PATCH 2/3] 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}}

NameValue
{{obj.name}}{{obj.value}}
- - {% 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}}
From f02203057daab0d0e800293deeeb8f393041dc14 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 10 Jan 2021 16:54:56 +1100 Subject: [PATCH 3/3] added my images photo to ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c18dd8d..a2c78bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ __pycache__/ +images_to_process/