From 47ab99f89149352a94ebcebd034d034048881812 Mon Sep 17 00:00:00 2001 From: mg Date: Wed, 26 Apr 2023 19:51:53 +0200 Subject: add web-ui (#2) Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/python-api-server/pulls/2 --- templates/file_list.html | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 templates/file_list.html (limited to 'templates') diff --git a/templates/file_list.html b/templates/file_list.html new file mode 100644 index 0000000..bfb8f2c --- /dev/null +++ b/templates/file_list.html @@ -0,0 +1,48 @@ + + + + File List + + + +

File List

+ + + + + + + + + + {% for file in files %} + + + + + {% endfor %} + +
NameSize (KB)Last Modified
{{ file.name }} + {{ '%.2f' % (file.size / 1024) }} KB{{ file.last_modified }}
+ + -- cgit v1.2.3