+
{#if $s?.sudo}
Leave sudo {/if}
- {#if $s?.admin}
Admin {/if}
-
Files
-
Profile
+ {#if $s?.admin}
Admin {/if}
+
Files
+
Profile
Logout
{/if}
- {#if $state.s === StateE.LOGIN }
- {:else if $state.s === StateE.SIGNUP}
- {:else if $state.s === StateE.RESET_PASSWORD}
- {:else if $state.s === StateE.PROFILE}
- {:else if $state.s === StateE.TFA_SETUP}
- {:else if $state.s === StateE.ADMIN}
- {:else if $state.s === StateE.VIEW}
- {:else} You are in state {$state.s}, which should not be possible, please report this.
- {/if}
+
-
-
diff --git a/frontend/src/components/A.svelte b/frontend/src/components/A.svelte
new file mode 100644
index 0000000..7be8861
--- /dev/null
+++ b/frontend/src/components/A.svelte
@@ -0,0 +1,8 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/DeleteModal.svelte b/frontend/src/components/DeleteModal.svelte
index 4f4c4e2..a7b7bd3 100644
--- a/frontend/src/components/DeleteModal.svelte
+++ b/frontend/src/components/DeleteModal.svelte
@@ -1,7 +1,7 @@