so ich denke das sollte für ne 3 reichen lol

This commit is contained in:
2025-03-29 12:09:11 +01:00
parent 860e4ed063
commit 701cfa7d61
8 changed files with 147 additions and 40 deletions

15
pages/download.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Download Info</title>
</head>
<body>
<h1>{{ filename }}</h1>
<p>Größe: {{ size }}</p>
<p>Uploaddatum: {{ uploadDate }}</p>
<br>
<a href="{{ downloadPath }}">Download</a>
</body>
</html>

12
pages/error.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CHIEF! Somethings wrong!</title>
</head>
<body>
<h1>WEE WOO WEE WOO! WE FOUND AN ERROR!</h1>
<p>{{ error }}</p>
</body>
</html>

15
pages/index.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Filehosting Panel</title>
</head>
<body>
<form action="./upload" method="post" enctype="multipart/form-data">
<input type="file" name="file"/>
<br>
<input type="submit" value="Upload">
</form>
</body>
</html>

15
pages/uploaded.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>File has been uploaded</h1>
<p></p>
<p>Link: <a href="{{ link }}">{{ link }}</a></p>
<br>
<a href="./">Return</a>
</body>
</html>