improved UI & templating

This commit is contained in:
2026-03-05 04:50:46 -05:00
parent 2291e087bd
commit 9045434dca
4 changed files with 70 additions and 20 deletions
+20
View File
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error - Upload Music</title>
<style>
body {
background-color: #2B2726;
color: #FFFFFF;
}
</style>
</head>
<body>
<button onclick="window.location.href='/outpost.goauthentik.io/sign_out'">Logout</button>
<h1>Error</h1>
<p>{{ error_message }}</p>
<a href="/"><button>Upload another file</button></a>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload Music</title>
<style>
body {
background-color: #2B2726;
color: #FFFFFF;
}
</style>
</head>
<body>
<button onclick="window.location.href='/outpost.goauthentik.io/sign_out'">Logout</button>
<h1>Upload new File</h1>
<form method=post enctype=multipart/form-data>
<input type=file name=file multiple>
<input type=submit value=Upload>
</form>
</body>
</html>
+20
View File
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Success - Upload Music</title>
<style>
body {
background-color: #2B2726;
color: #FFFFFF;
}
</style>
</head>
<body>
<button onclick="window.location.href='/outpost.goauthentik.io/sign_out'">Logout</button>
<h1>Success</h1>
<p>{{ success_message }}</p>
<a href="/"><button>Upload another file</button></a>
</body>
</html>