From 9d1938210231abb5029cef8b6d3d61fe59daec3a Mon Sep 17 00:00:00 2001 From: Arman Date: Mon, 19 Jun 2023 18:06:30 +0200 Subject: [PATCH] feat: org wizard and more --- src/lib/elements/forms/inputChoice.svelte | 26 ++++++++------ .../console/createOrganizationCloud.svelte | 3 +- src/routes/console/wizard/step2.svelte | 34 ++++++++++++++++++- 3 files changed, 50 insertions(+), 13 deletions(-) diff --git a/src/lib/elements/forms/inputChoice.svelte b/src/lib/elements/forms/inputChoice.svelte index 67fdeef34..4c2147a04 100644 --- a/src/lib/elements/forms/inputChoice.svelte +++ b/src/lib/elements/forms/inputChoice.svelte @@ -41,18 +41,22 @@
- {label} +
+ + {label} + - {#if tooltip} - - {/if} + {#if tooltip} + + {/if} +
{#if $$slots}

diff --git a/src/routes/console/createOrganizationCloud.svelte b/src/routes/console/createOrganizationCloud.svelte index 92392c5ea..e71b8c314 100644 --- a/src/routes/console/createOrganizationCloud.svelte +++ b/src/routes/console/createOrganizationCloud.svelte @@ -47,7 +47,8 @@ $createOrganization = { id: null, name: null, - tier: Tier['PREMIUM'] + tier: Tier['PREMIUM'], + payment: null }; }); diff --git a/src/routes/console/wizard/step2.svelte b/src/routes/console/wizard/step2.svelte index 76f35f0cc..eec491d1b 100644 --- a/src/routes/console/wizard/step2.svelte +++ b/src/routes/console/wizard/step2.svelte @@ -1,13 +1,15 @@ @@ -56,6 +66,28 @@
+ + + Add credit + (optional) +

+ Appwrite credit will automatically be applied to your next invoice. +

+
+ + + + +
+
+
+ +
+

Restrict your resource usage by setting a budget cap.