From df12ceb02873dbe2618595f95cad10a35e9e905b Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Sun, 24 Oct 2021 10:19:07 -0700 Subject: [PATCH] Add missing endif, and clean up indentation --- src/web/templates/index.html | 53 ++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/src/web/templates/index.html b/src/web/templates/index.html index e092d363..e9122f53 100644 --- a/src/web/templates/index.html +++ b/src/web/templates/index.html @@ -147,36 +147,37 @@ {% if file["name"] in attached_images %}
Attached!
{% else %} - {% if file["name"].lower().endswith(archive_file_suffix) %} -
- - -
-
- - -
- {% else %} -
- - - - + +
+
+ + +
+ {% else %} +
+ + + + - - - {% if file["detected_type"] != "UNDEFINED" %} - - {{file["detected_type"]}} - {% else %} - + + + {% if file["detected_type"] != "UNDEFINED" %} + + {{file["detected_type"]}} + {% else %} + {% endif %}