diff --git a/src/routes/settings/maintenance/+page.svelte b/src/routes/settings/maintenance/+page.svelte index e2f2cb5..838ef86 100644 --- a/src/routes/settings/maintenance/+page.svelte +++ b/src/routes/settings/maintenance/+page.svelte @@ -42,4 +42,5 @@ {/each}
Reset Active Profile + Import Profile diff --git a/src/routes/settings/maintenance/import/+page.svelte b/src/routes/settings/maintenance/import/+page.svelte new file mode 100644 index 0000000..37c2c5a --- /dev/null +++ b/src/routes/settings/maintenance/import/+page.svelte @@ -0,0 +1,131 @@ + + + + Back +
+
+{#if errorMessage} +

Failed to import: {errorMessage}

+ +
+
+{/if} +{#if !candidateProfile} + + + + + + +
+ Import +
+{:else} + {#if existingProfile} +

+ This profile will replace the existing "{existingProfile.settings.name}" profile, since it have the same ID. +

+ {/if} + + +
+ {#if existingProfile} + Replace Existing Profile + Save as New Profile + {:else} + Import New Profile + {/if} + candidateProfile = null}>Cancel +
+{/if} + +