From c459cc1efb42455faa7fda398ad8c3f6875a6050 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 23 Mar 2026 22:29:18 +0100 Subject: [PATCH] Simplify change-password page: remove duplicate header, use main layout navbar, align buttons right --- .../routes/auth/change-password/+page.svelte | 153 +++++++----------- 1 file changed, 58 insertions(+), 95 deletions(-) diff --git a/frontend/src/routes/auth/change-password/+page.svelte b/frontend/src/routes/auth/change-password/+page.svelte index 0c10daf..bd1e51f 100644 --- a/frontend/src/routes/auth/change-password/+page.svelte +++ b/frontend/src/routes/auth/change-password/+page.svelte @@ -1,9 +1,4 @@ -
-
-
-

Change Password

-
- {#if user} - Logged in as {user.username} - {/if} - -
-
-
+
+
+
+

Change Password

+ + {#if error} +
+ {error} +
+ {/if} -
-
-
- {#if error} -
- {error} -
- {/if} + {#if success} +
+ + + + Password changed successfully! +
+ {/if} - {#if success} -
- - - - Password changed successfully! -
- {/if} +
+
+ Current Password + +
- -
- Current Password - -
+
+ New Password + +
-
- New Password - -
+
+ Confirm New Password + +
-
- Confirm New Password - -
- - -
- - -
+
-
+