diff --git a/dashboard/src/App.svelte b/dashboard/src/App.svelte index ac324263..8f6014df 100644 --- a/dashboard/src/App.svelte +++ b/dashboard/src/App.svelte @@ -1,21 +1,21 @@ - -{#if user} - - - - - - -
- -
Bulk member privacy -
-
- - {#if err} - {err} - {/if} - {#if success} - Member privacy updated! - {/if} - - changeAll(e)} aria-label="set all to"> - - - - -
- - {#each Object.keys(privacy) as x} - - - - - - - - - {/each} - - - -
-
- -
-
+ + +{#if user} + + + + + + +
+ +
Bulk member privacy +
+
+ + {#if err} + {err} + {/if} + {#if success} + Member privacy updated! + {/if} + + changeAll(e)} aria-label="set all to"> + + + + +
+ + {#each Object.keys(privacy) as x} + + + + + + + + + {/each} + + + +
+
+ +
+
{/if} \ No newline at end of file diff --git a/dashboard/src/pages/DiscordLogin.svelte b/dashboard/src/routes/DiscordLogin.svelte similarity index 100% rename from dashboard/src/pages/DiscordLogin.svelte rename to dashboard/src/routes/DiscordLogin.svelte diff --git a/dashboard/src/pages/Home.svelte b/dashboard/src/routes/Home.svelte similarity index 100% rename from dashboard/src/pages/Home.svelte rename to dashboard/src/routes/Home.svelte diff --git a/dashboard/src/pages/PageNotFound.svelte b/dashboard/src/routes/PageNotFound.svelte similarity index 100% rename from dashboard/src/pages/PageNotFound.svelte rename to dashboard/src/routes/PageNotFound.svelte diff --git a/dashboard/src/pages/Public.svelte b/dashboard/src/routes/Public.svelte similarity index 100% rename from dashboard/src/pages/Public.svelte rename to dashboard/src/routes/Public.svelte diff --git a/dashboard/src/pages/Settings.svelte b/dashboard/src/routes/Settings/Settings.svelte similarity index 99% rename from dashboard/src/pages/Settings.svelte rename to dashboard/src/routes/Settings/Settings.svelte index 6bed707b..7a709681 100644 --- a/dashboard/src/pages/Settings.svelte +++ b/dashboard/src/routes/Settings/Settings.svelte @@ -3,8 +3,8 @@ import Toggle from 'svelte-toggle'; import { autoresize } from 'svelte-textarea-autoresize'; import FaCogs from 'svelte-icons/fa/FaCogs.svelte' - import { Config } from '../api/types'; - import api from '../api'; + import { Config } from '../../api/types'; + import api from '../../api'; let savedSettings = JSON.parse(localStorage.getItem("pk-settings")); let apiConfig: Config = JSON.parse(localStorage.getItem("pk-config")); diff --git a/dashboard/src/pages/status.svelte b/dashboard/src/routes/Status/status.svelte similarity index 98% rename from dashboard/src/pages/status.svelte rename to dashboard/src/routes/Status/status.svelte index 32fd5938..c73cda30 100644 --- a/dashboard/src/pages/status.svelte +++ b/dashboard/src/routes/Status/status.svelte @@ -1,9 +1,9 @@