From 1232886ef700ccf7651c68f4fde0fc0ad6dd218b Mon Sep 17 00:00:00 2001 From: wajeht <58354193+wajeht@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:07:23 -0500 Subject: [PATCH] style: Update styling in settings page and layout files --- src/handler.ts | 2 +- src/views/layouts/settings.html | 32 +++++++++++++++++++++++ src/views/pages/settings.html | 46 ++++++++++++++++++++++++++++++--- 3 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 src/views/layouts/settings.html diff --git a/src/handler.ts b/src/handler.ts index f18674d..19e73dc 100644 --- a/src/handler.ts +++ b/src/handler.ts @@ -40,7 +40,7 @@ export function postNotificationHandler(req: Request, res: Response) { export function getSettingsPageHandler(req: Request, res: Response) { return res.render('settings.html', { path: '/settings', - layout: '../layouts/auth.html', + layout: '../layouts/settings.html', }); } diff --git a/src/views/layouts/settings.html b/src/views/layouts/settings.html new file mode 100644 index 0000000..d1140d4 --- /dev/null +++ b/src/views/layouts/settings.html @@ -0,0 +1,32 @@ + + + + <%- include('../components/head.html') %> + + + + <%- include('../components/header.html') %> + +
+ +

Settings

+ +
+ + +
+ <%- body %> +
+ +
+ +
+ + <%- include('../components/footer.html') %> + + + diff --git a/src/views/pages/settings.html b/src/views/pages/settings.html index b2e62b0..35cfa61 100644 --- a/src/views/pages/settings.html +++ b/src/views/pages/settings.html @@ -1,4 +1,44 @@ -
-

Settings

-

Settings

+
+ +
+

Settings

+ settings +
+ +
+
+ +
+

Account

+

Manage your account details.

+
+ +
+ + +
+ +
+ + +
+ + +
+ +
+ +
+

Danger Zone

+

The following actions are destructive and cannot be reversed.

+
+ + +
+
+