summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorMichael Grote2023-04-13 11:03:56 +0200
committerMichael Grote2023-04-13 11:03:56 +0200
commitafe29d20d285aee13ad025688355e4afd46a430c (patch)
tree575eb6c64889c84fe4fbc873288b9c1e3cdc56ec /index.html
parent6b9d6bc0ac139ff28548e5ba76a73fed62a07a67 (diff)
add new endpoints
Diffstat (limited to 'index.html')
-rw-r--r--index.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..03fb046
--- /dev/null
+++ b/index.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>File List</title>
+</head>
+<body>
+ <h1>File List</h1>
+ {% if files %}
+ <ul>
+ {% for file in files %}
+ <li><a href="{{ url_for('download', filename=file.name) }}">{{ file.name }} ({{ file.size }} bytes)</a></li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>No files found.</p>
+ {% endif %}
+</body>
+</html>