diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 815dd1d..8c3d976 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -4,7 +4,7 @@ - Tagging Profiles + Tagging Profiles
Preferences About diff --git a/src/routes/settings/+page.svelte b/src/routes/features/+page.svelte similarity index 76% rename from src/routes/settings/+page.svelte rename to src/routes/features/+page.svelte index 96fc5e8..4954d93 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/features/+page.svelte @@ -6,5 +6,5 @@ Back
- Tagging Profiles + Tagging Profiles
diff --git a/src/routes/settings/maintenance/+page.svelte b/src/routes/features/maintenance/+page.svelte similarity index 88% rename from src/routes/settings/maintenance/+page.svelte rename to src/routes/features/maintenance/+page.svelte index c6d599e..251dbf2 100644 --- a/src/routes/settings/maintenance/+page.svelte +++ b/src/routes/features/maintenance/+page.svelte @@ -27,12 +27,12 @@ Back - Create New + Create New {#if profiles.length}
{/if} {#each profiles as profile} - Reset Active Profile - Import Profile + Import Profile
diff --git a/src/routes/settings/maintenance/[id]/+page.svelte b/src/routes/features/maintenance/[id]/+page.svelte similarity index 87% rename from src/routes/settings/maintenance/[id]/+page.svelte rename to src/routes/features/maintenance/[id]/+page.svelte index ab38c44..25db375 100644 --- a/src/routes/settings/maintenance/[id]/+page.svelte +++ b/src/routes/features/maintenance/[id]/+page.svelte @@ -22,7 +22,7 @@ profile = resolvedProfile; } else { console.warn(`Profile ${profileId} not found.`); - goto('/settings/maintenance'); + goto('/features/maintenance'); } } @@ -38,7 +38,7 @@ - Back + Back
{#if profile} @@ -46,7 +46,7 @@ {/if}
- Edit Profile + Edit Profile {#if isActiveProfile} Profile is Active @@ -54,7 +54,7 @@ Activate Profile {/if} - + Export Profile
diff --git a/src/routes/settings/maintenance/[id]/edit/+page.svelte b/src/routes/features/maintenance/[id]/edit/+page.svelte similarity index 92% rename from src/routes/settings/maintenance/[id]/edit/+page.svelte rename to src/routes/features/maintenance/[id]/edit/+page.svelte index 296f4ce..498671c 100644 --- a/src/routes/settings/maintenance/[id]/edit/+page.svelte +++ b/src/routes/features/maintenance/[id]/edit/+page.svelte @@ -30,7 +30,7 @@ profileName = targetProfile.settings.name; tagsList = [...targetProfile.settings.tags].sort((a, b) => a.localeCompare(b)); } else { - goto('/settings/maintenance'); + goto('/features/maintenance'); } } @@ -44,7 +44,7 @@ targetProfile.settings.tags = [...tagsList]; await targetProfile.save(); - await goto('/settings/maintenance/' + targetProfile.id); + await goto('/features/maintenance/' + targetProfile.id); } async function deleteProfile() { @@ -54,12 +54,12 @@ } await targetProfile.delete(); - await goto('/settings/maintenance'); + await goto('/features/maintenance'); } - + Back
diff --git a/src/routes/settings/maintenance/[id]/export/+page.svelte b/src/routes/features/maintenance/[id]/export/+page.svelte similarity index 93% rename from src/routes/settings/maintenance/[id]/export/+page.svelte rename to src/routes/features/maintenance/[id]/export/+page.svelte index 014d38c..e533014 100644 --- a/src/routes/settings/maintenance/[id]/export/+page.svelte +++ b/src/routes/features/maintenance/[id]/export/+page.svelte @@ -20,7 +20,7 @@ let compressedProfile = ''; if (!profile) { - goto('/settings/maintenance/'); + goto('/features/maintenance/'); } else { exportedProfile = profile.toJSON(); compressedProfile = profile.toCompressedJSON(); @@ -30,7 +30,7 @@ - + Back
diff --git a/src/routes/settings/maintenance/import/+page.svelte b/src/routes/features/maintenance/import/+page.svelte similarity index 96% rename from src/routes/settings/maintenance/import/+page.svelte rename to src/routes/features/maintenance/import/+page.svelte index 37c2c5a..51fb1fe 100644 --- a/src/routes/settings/maintenance/import/+page.svelte +++ b/src/routes/features/maintenance/import/+page.svelte @@ -53,7 +53,7 @@ } candidateProfile.save().then(() => { - goto(`/settings/maintenance`); + goto(`/features/maintenance`); }); } @@ -65,13 +65,13 @@ const clonedProfile = new MaintenanceProfile(crypto.randomUUID(), candidateProfile.settings); clonedProfile.settings.name += ` (Clone ${new Date().toISOString()})`; clonedProfile.save().then(() => { - goto(`/settings/maintenance`); + goto(`/features/maintenance`); }); } - Back + Back
{#if errorMessage}