diff --git a/packages/dashboard/src/components/Navbar.svelte b/packages/dashboard/src/components/Navbar.svelte index 600b589f..6c108628 100644 --- a/packages/dashboard/src/components/Navbar.svelte +++ b/packages/dashboard/src/components/Navbar.svelte @@ -33,12 +33,12 @@
- + Dashboard + > Dashboard +
{#each values($globalInstancesStore) as app} @@ -47,10 +47,15 @@ on:click={handleClick} class={subLinkClasses} > - + {#if app.maintenance} + + {:else} + + {/if} + {app.subdomain} {/each} diff --git a/packages/dashboard/src/components/VerifyAccountBar.svelte b/packages/dashboard/src/components/VerifyAccountBar.svelte index a7b4a49b..be4ca0e1 100644 --- a/packages/dashboard/src/components/VerifyAccountBar.svelte +++ b/packages/dashboard/src/components/VerifyAccountBar.svelte @@ -1,24 +1,18 @@ {#if $isUserLoggedIn && !$isUserVerified} -
- -
- +
+ -
Please verify your account by clicking the link in your email
+
Please verify your account by clicking the link in your email
- {#if isButtonProcessing} -
- - Sent! -
- {:else} - - {/if} -
+
+ {#if isButtonProcessing} +
+ Sent! +
+ {:else} + + {/if} {#if formError} -
{formError}
+
+ {formError} +
{/if} - +
{/if} - - diff --git a/packages/dashboard/src/routes/+layout.svelte b/packages/dashboard/src/routes/+layout.svelte index e126102d..d65c0e70 100644 --- a/packages/dashboard/src/routes/+layout.svelte +++ b/packages/dashboard/src/routes/+layout.svelte @@ -1,7 +1,5 @@ {#if $isUserLoggedIn} - - - -
{#if matches} diff --git a/packages/dashboard/src/routes/dashboard/+page.svelte b/packages/dashboard/src/routes/dashboard/+page.svelte index 19cecf5b..294d81df 100644 --- a/packages/dashboard/src/routes/dashboard/+page.svelte +++ b/packages/dashboard/src/routes/dashboard/+page.svelte @@ -3,6 +3,7 @@ import { globalInstancesStore } from '$util/stores' import { values } from '@s-libs/micro-dash' import InstanceList from './InstanceList.svelte' + import VerifyAccountBar from '$components/VerifyAccountBar.svelte' $: isFirstApplication = values($globalInstancesStore).length === 0 @@ -21,6 +22,8 @@ >
+ +