From ee281cb6ef11b8e115e02032a7c899927d2e92e5 Mon Sep 17 00:00:00 2001
From: HsiangNianian
Date: Fri, 16 Aug 2024 15:23:07 +0800
Subject: chore: init project
---
templates/file_info.html | 25 +++++++++++++++++++++++++
templates/files.html | 17 +++++++++++++++++
templates/index.html | 0
templates/login.html | 19 +++++++++++++++++++
templates/upload.html | 16 ++++++++++++++++
5 files changed, 77 insertions(+)
create mode 100644 templates/file_info.html
create mode 100644 templates/files.html
create mode 100644 templates/index.html
create mode 100644 templates/login.html
create mode 100644 templates/upload.html
(limited to 'templates')
diff --git a/templates/file_info.html b/templates/file_info.html
new file mode 100644
index 0000000..9e88c64
--- /dev/null
+++ b/templates/file_info.html
@@ -0,0 +1,25 @@
+
+
+
+
+ File Info: {{ filename }}
+ {% if file_type == 'image' %}
+
+ {% elif file_type == 'text' %}
+
+ {% elif file_type == 'zip' %}
+
Contents of {{ filename }}:
+
+ {% for item in zip_contents %}
+
+ {% else %}
+
Cannot display this file type.
+ {% endif %} + Back to files + + \ No newline at end of file diff --git a/templates/files.html b/templates/files.html new file mode 100644 index 0000000..5095242 --- /dev/null +++ b/templates/files.html @@ -0,0 +1,17 @@ + + + + +