diff --git a/routes/_components/settings/instance/InstanceActions.html b/routes/_components/settings/instance/InstanceActions.html new file mode 100644 index 00000000..18aa8fb0 --- /dev/null +++ b/routes/_components/settings/instance/InstanceActions.html @@ -0,0 +1,49 @@ +
+ {#if $loggedInInstancesInOrder.length > 1 && $currentInstance !== instanceName} + + {/if} + +
+ + \ No newline at end of file diff --git a/routes/_components/settings/instance/InstanceUserProfile.html b/routes/_components/settings/instance/InstanceUserProfile.html new file mode 100644 index 00000000..5756d752 --- /dev/null +++ b/routes/_components/settings/instance/InstanceUserProfile.html @@ -0,0 +1,51 @@ +
+
+ +
+ + {'@' + verifyCredentials.acct} + + + + +
+ + \ No newline at end of file diff --git a/routes/_components/settings/instance/PushNotificationSettings.html b/routes/_components/settings/instance/PushNotificationSettings.html new file mode 100644 index 00000000..a157d594 --- /dev/null +++ b/routes/_components/settings/instance/PushNotificationSettings.html @@ -0,0 +1,93 @@ +
+ {#if pushNotificationsSupport === false} +

Your browser doesn't support push notifications.

+ {:elseif $notificationPermission === "denied"} +

You have denied permission to show notifications.

+ {/if} +
+ + +
+ + +
+ + +
+ + +
+
+ + \ No newline at end of file diff --git a/routes/_components/settings/instance/ThemeSettings.html b/routes/_components/settings/instance/ThemeSettings.html new file mode 100644 index 00000000..9feff6ad --- /dev/null +++ b/routes/_components/settings/instance/ThemeSettings.html @@ -0,0 +1,106 @@ +
+
+ {#each themeGroups as themeGroup} +
+ {#each themeGroup.themes as theme} +
+ +
+
+ +
+ {/each} +
+ {/each} +
+
+ + \ No newline at end of file diff --git a/routes/_pages/settings/instances/[instanceName].html b/routes/_pages/settings/instances/[instanceName].html index e0d98c41..71790597 100644 --- a/routes/_pages/settings/instances/[instanceName].html +++ b/routes/_pages/settings/instances/[instanceName].html @@ -3,286 +3,47 @@ {#if verifyCredentials}

Logged in as:

-
-
- -
- - {'@' + verifyCredentials.acct} - - - - -
+

Push notifications:

-
- {#if pushNotificationsSupport === false} -

Your browser doesn't support push notifications.

- {:elseif $notificationPermission === "denied"} -

You have denied permission to show notifications.

- {/if} -
- - -
- - -
- - -
- - -
-
+

Theme:

-
-
- {#each themeGroups as themeGroup} -
- {#each themeGroup.themes as theme} -
- -
-
- -
- {/each} -
- {/each} -
-
+ -
- {#if $loggedInInstancesInOrder.length > 1 && $currentInstance !== params.instanceName} - - {/if} - -
+ {/if} \ No newline at end of file