From 9dec0ef2db4cc67b280068ba8961ba9b292ae2f7 Mon Sep 17 00:00:00 2001 From: Arman Date: Mon, 22 Aug 2022 17:44:28 +0200 Subject: [PATCH] feat: create org & projects modals --- src/routes/console/_createOrganization.svelte | 64 ++++++++++++++++--- src/routes/console/_createProject.svelte | 62 +++++++++++++++--- 2 files changed, 106 insertions(+), 20 deletions(-) diff --git a/src/routes/console/_createOrganization.svelte b/src/routes/console/_createOrganization.svelte index 787fab444..a5967732d 100644 --- a/src/routes/console/_createOrganization.svelte +++ b/src/routes/console/_createOrganization.svelte @@ -1,6 +1,7 @@
- - Create Project - + + Create New Organization + + + {#if !showDropdown} +
+ (showDropdown = !showDropdown)}> + +
+ {:else} + + Organization ID + + Enter a custom organization ID. Leave blank for a randomly generated one. + + +
+ + +
+
+
+
+
+ {/if} +
- +
diff --git a/src/routes/console/_createProject.svelte b/src/routes/console/_createProject.svelte index 20a9f521b..fbf906e07 100644 --- a/src/routes/console/_createProject.svelte +++ b/src/routes/console/_createProject.svelte @@ -1,6 +1,7 @@
- + Create Project - - + + + {#if !showDropdown} +
+ (showDropdown = !showDropdown)}> + +
+ {:else} + + Project ID + + Enter a custom project ID. Leave blank for a randomly generated one. + + +
+ + +
+
+
+
+
+ {/if} +
- +