From 2dc49654d5050ea05ff3b21305f4d9f470b8cfc7 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 21 Jan 2024 16:06:52 +0100 Subject: urlencode file names --- interface/admin_files.tmpl | 4 +-- interface/listing_default.tmpl | 58 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 interface/listing_default.tmpl (limited to 'interface') diff --git a/interface/admin_files.tmpl b/interface/admin_files.tmpl index b0828b6..76e97aa 100644 --- a/interface/admin_files.tmpl +++ b/interface/admin_files.tmpl @@ -27,9 +27,9 @@
{% for file in listing %}
- {{ file.name }} + {{ file.name }}
{{ (file.size / 1024 / 1024) | round(2, "ceil") }} MB
- Delete + Delete
{% endfor %}
diff --git a/interface/listing_default.tmpl b/interface/listing_default.tmpl new file mode 100644 index 0000000..4a6d8bc --- /dev/null +++ b/interface/listing_default.tmpl @@ -0,0 +1,58 @@ + + + + + + + cargohold + + + + + + +
+
+ + + + + + +
+ +
+ {% for file in listing %} + {{ file.name }} + {% endfor %} +
+
+
+
+
+ + + +
+
+
+
+ +
+
+
+ + + -- cgit v1.2.3