From 23638b50ae5df17331eb5c1b67d2e0d322f45aed Mon Sep 17 00:00:00 2001 From: KoloMl Date: Tue, 18 Feb 2025 01:39:11 +0400 Subject: [PATCH] Refactored profiles related routes & components --- src/components/features/ProfileView.svelte | 13 +++-- src/routes/+page.svelte | 11 ++-- src/routes/features/maintenance/+page.svelte | 26 ++++------ .../features/maintenance/[id]/+page.svelte | 36 +++++++------ .../maintenance/[id]/delete/+page.svelte | 21 +++++--- .../maintenance/[id]/edit/+page.svelte | 50 ++++++++++--------- .../maintenance/[id]/export/+page.svelte | 37 +++++++------- .../features/maintenance/import/+page.svelte | 26 ++++------ 8 files changed, 112 insertions(+), 108 deletions(-) diff --git a/src/components/features/ProfileView.svelte b/src/components/features/ProfileView.svelte index 20f95a7..138e8a9 100644 --- a/src/components/features/ProfileView.svelte +++ b/src/components/features/ProfileView.svelte @@ -1,12 +1,11 @@ - diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index de69206..ac92655 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,12 +1,13 @@ - @@ -36,12 +37,12 @@ - +
- isCompressedProfileShown = !isCompressedProfileShown}> + isCompressedProfileShown = !isCompressedProfileShown}> Switch Format: {#if isCompressedProfileShown} Base64-Encoded diff --git a/src/routes/features/maintenance/import/+page.svelte b/src/routes/features/maintenance/import/+page.svelte index d77612b..b5a1ec0 100644 --- a/src/routes/features/maintenance/import/+page.svelte +++ b/src/routes/features/maintenance/import/+page.svelte @@ -1,4 +1,4 @@ -