diff --git a/AquaNet/src/components/StatusOverlays.svelte b/AquaNet/src/components/StatusOverlays.svelte index 2b6d2024..7ea84310 100644 --- a/AquaNet/src/components/StatusOverlays.svelte +++ b/AquaNet/src/components/StatusOverlays.svelte @@ -1,87 +1,54 @@ - - - - -{#if confirm} -
-
-

{confirm.title}

- {confirm.message} - -
- {#if confirm.cancel} - - - {/if} - -
-
-
-{/if} - -{#if error} -
-
-

{t('status.error')}

- {t('status.error.hint')}{t('status.error.hint.link')} - {t('status.detail', { detail: error })} - -
- -
-
-
-{/if} - -{#if loading && !error} -
- - LOADING -
-{/if} - - + + + + +{#if confirm} +
+
+

{confirm.title}

+ {confirm.message} + +
+ {#if confirm.cancel} + + + {/if} + +
+
+
+{/if} + +{#if error} + +{/if} + +{#if loading && !error} + +{/if} + + diff --git a/AquaNet/src/components/ui/Error.svelte b/AquaNet/src/components/ui/Error.svelte new file mode 100644 index 00000000..a3caf0d6 --- /dev/null +++ b/AquaNet/src/components/ui/Error.svelte @@ -0,0 +1,30 @@ + + +
+
+

{t('status.error')}

+ {t('status.error.hint')}{t('status.error.hint.link')} + {t('status.detail', { detail: error })} + +
+ +
+
+
+ + diff --git a/AquaNet/src/components/ui/Loading.svelte b/AquaNet/src/components/ui/Loading.svelte new file mode 100644 index 00000000..32d9328a --- /dev/null +++ b/AquaNet/src/components/ui/Loading.svelte @@ -0,0 +1,30 @@ + + +
+ + LOADING +
+ +