aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
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>