From 04b332e104b61459bdcd8ac969ca22e912b328ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 7 May 2021 14:53:20 +0200 Subject: [PATCH] adds users, user page and add user modal --- .../portal/manage/users/[userId].svelte | 106 ++++++++++++++++++ .../users/_components/AddUserModal.svelte | 2 +- .../builder/portal/manage/users/index.svelte | 2 + 3 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 packages/builder/src/pages/builder/portal/manage/users/[userId].svelte diff --git a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte new file mode 100644 index 0000000000..450f6a92f7 --- /dev/null +++ b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte @@ -0,0 +1,106 @@ + + + +
+ $goto("./")} quiet size="S" icon="BackAndroid" + >Back to users +
+
+ + User: {$request?.data?.email} + Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis porro + ut nesciunt ipsam perspiciatis aliquam et hic minus alias beatae. Odit + veritatis quos quas laborum magnam tenetur perspiciatis ex hic. + +
+ +
+ General +
+
+ + +
+
+
+ Regenerate password +
+
+ +
+ Delete user + Deleting a user completely removes them from your account. +
+ +
+
+
+ + + + Are you sure you want to delete {$request?.data?.email} + + + + diff --git a/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte b/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte index a8124dd2ab..7b53052b8c 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte @@ -24,7 +24,7 @@ with autogenerated passwords.