cleaned up project structure and optimized lastfm and spotify migration

This commit is contained in:
2026-02-05 00:20:42 -08:00
parent 4fa797d36a
commit 0043d83330
11 changed files with 795 additions and 521 deletions

View File

@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="static/style.css" type="text/css">
<link rel="stylesheet" href="/files/style.css" type="text/css">
<title>
muzi | Create Account
</title>

View File

@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="static/style.css" type="text/css">
<link rel="stylesheet" href="/files/style.css" type="text/css">
<title>
muzi | History
</title>

View File

@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="static/style.css" type="text/css">
<link rel="stylesheet" href="/files/style.css" type="text/css">
<title>
muzi | Login
</title>
@@ -14,6 +14,11 @@
<label for="pass">Password:</label>
<input type="text" id="pass" name="pass"> <br> <br>
<input type="submit" value="Login">
{{if .ShowError}}
<div class="login-error">
Invalid credentials. Please try again.
</div>
{{end}}
</form>
</div>
</body>

View File

@@ -1,12 +1,22 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="static/style.css" type="text/css">
<link rel="stylesheet" href="/files/style.css" type="text/css">
<title>
muzi | {{.Username}}'s Profile
</title>
</head>
<body>
{{.Bio}}
<div class="profile-top">
<img src="{{.Pfp}}" alt="{{.Username}}'s avatar">
<div class="username-bio">
<h1>{{.Username}}</h1>
<h2>{{.Bio}}</h2>
</div>
<div class="user-stats-top">
<h3>101238 Listens</h3>
<h3>1298 Artists</h3>
</div>
</div>
</body>
</html>