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 + + +

File Info: {{ filename }}

+ {% if file_type == 'image' %} + {{ filename }} + {% elif file_type == 'text' %} + + {% elif file_type == 'zip' %} +

Contents of {{ filename }}:

+ + {% 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 @@ + + + + + Uploaded Files + + +

Uploaded Files

+ + Upload More Files + Logout + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..e0c5d68 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,19 @@ + + + + + Login + + +

Login

+
+ + +
+ + +
+ +
+ + \ No newline at end of file diff --git a/templates/upload.html b/templates/upload.html new file mode 100644 index 0000000..e024330 --- /dev/null +++ b/templates/upload.html @@ -0,0 +1,16 @@ + + + + + Upload File + + +

Upload File

+
+ + +
+ View Uploaded Files + Logout + + \ No newline at end of file -- cgit v1.2.3-70-g09d2