From c419949bf998a508fc35708c8698c2f78257dc99 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 18 Feb 2024 17:00:48 -0800 Subject: [PATCH] refac: admin panel styling --- src/routes/(app)/admin/+page.svelte | 144 +++++++++++++++------------- 1 file changed, 77 insertions(+), 67 deletions(-) diff --git a/src/routes/(app)/admin/+page.svelte b/src/routes/(app)/admin/+page.svelte index 797fdc1ff..9657d0520 100644 --- a/src/routes/(app)/admin/+page.svelte +++ b/src/routes/(app)/admin/+page.svelte @@ -79,7 +79,7 @@ > {#if loaded}
-
+
@@ -109,45 +109,34 @@
-
+
Click on the user role cell in the table to change a user's role.

- +
- - - - + + + + {#each users as user} - - - - + - + + + {/each}
Name Email Role Action Role Name Email Action
-
- user - -
{user.name}
-
-
{user.email} +
+
+ {user.role}
- + +
+ user -
+ +
{user.email} +
+ + + + + + + +