From 3a16379aca4f412c612e67444eb434e949658724 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 12 Jan 2021 01:45:26 +1100 Subject: [PATCH] basic improvement for sizing buttons, but also sizing is smarter, this way I do not need to know the image or thumbnail ratios :) --- templates/files.html | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/templates/files.html b/templates/files.html index 6f27e50..4847542 100644 --- a/templates/files.html +++ b/templates/files.html @@ -2,11 +2,25 @@ {% block main_content %}

{{page_title}} -- {{file_data.view_path}}

-
- Size: - - - +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
{% for obj in file_data.view_list %} @@ -14,9 +28,9 @@
{% if obj.type=="Image" %} - + {% elif obj.type == "Video" %} - + {% endif %}
{{obj.name}}
@@ -26,3 +40,13 @@
{% endblock main_content %} +{% block script_content %} + +{% endblock script_content %}