diff --git a/frontend/src/lib/components/buttons/brown.svelte b/frontend/src/lib/components/buttons/brown.svelte
new file mode 100644
index 0000000..63a4394
--- /dev/null
+++ b/frontend/src/lib/components/buttons/brown.svelte
@@ -0,0 +1,33 @@
+
+
+
+{#if href}
+
+
+
+{:else}
+
+{/if}
diff --git a/frontend/src/lib/components/buttons/gray.svelte b/frontend/src/lib/components/buttons/gray.svelte
new file mode 100644
index 0000000..fd0972a
--- /dev/null
+++ b/frontend/src/lib/components/buttons/gray.svelte
@@ -0,0 +1,28 @@
+
+
+{#if href}
+
+
+
+{:else}
+
+{/if}
diff --git a/frontend/src/lib/dashboard/main_slider.svelte b/frontend/src/lib/dashboard/main_slider.svelte
index 810d9dc..8c3a332 100644
--- a/frontend/src/lib/dashboard/main_slider.svelte
+++ b/frontend/src/lib/dashboard/main_slider.svelte
@@ -16,6 +16,7 @@
import { onMount } from 'svelte';
import viewport from './useViewportAction.js';
import Spinner from '$lib/Spinner.svelte';
+ import GrayButton from '$lib/components/buttons/gray.svelte';
let copy_toast_open = false;
let start_game = null;
@@ -224,24 +225,21 @@
-
{$t('words.edit')}{$t('words.edit')}
-
-
-
+
-
+
diff --git a/frontend/src/routes/account/settings/+page.svelte b/frontend/src/routes/account/settings/+page.svelte
index 86fa11e..1a64995 100644
--- a/frontend/src/routes/account/settings/+page.svelte
+++ b/frontend/src/routes/account/settings/+page.svelte
@@ -9,6 +9,7 @@
import { UAParser } from 'ua-parser-js';
import Spinner from '$lib/Spinner.svelte';
import { onMount } from 'svelte';
+ import BrownButton from '$lib/components/buttons/brown.svelte';
const { t } = getLocalization();
@@ -176,11 +177,11 @@
@@ -206,13 +207,11 @@
bind:value={changePasswordData.newPasswordConfirm}
/>
-
+
+
+ {$t('settings_page.change_password_submit')}
+
+
diff --git a/frontend/src/routes/account/settings/security/+page.svelte b/frontend/src/routes/account/settings/security/+page.svelte
index e4ff190..b78ea15 100644
--- a/frontend/src/routes/account/settings/security/+page.svelte
+++ b/frontend/src/routes/account/settings/security/+page.svelte
@@ -9,6 +9,7 @@
import { startRegistration } from '@simplewebauthn/browser';
import TotpSetup from './totp_setup.svelte';
import BackupCodes from './backup_codes.svelte';
+ import BrownButton from '$lib/components/buttons/brown.svelte';
let user_data: object | undefined;
let security_keys: Array<{ id: number }> | undefined;
@@ -102,11 +103,9 @@
Backup-Code
-
+
+ Get Backup-Codes
+
@@ -171,11 +170,9 @@
{/if}
-
+
+ Add Security-Key
+
- {#if totp_activated}
-
- {:else}
-
- {/if}
+
+ {#if totp_activated}
+ Disable Totp
+ {:else}
+ Enable Totp
+ {/if}
+
diff --git a/frontend/src/routes/dashboard/+page.svelte b/frontend/src/routes/dashboard/+page.svelte
index 80ffbd9..7123c3b 100644
--- a/frontend/src/routes/dashboard/+page.svelte
+++ b/frontend/src/routes/dashboard/+page.svelte
@@ -10,6 +10,7 @@
import { navbarVisible, signedIn } from '$lib/stores';
import Spinner from '$lib/Spinner.svelte';
import Fuse from 'fuse.js';
+ import BrownButton from '$lib/components/buttons/brown.svelte';
interface QuizData {
id: string;
@@ -100,27 +101,12 @@
Primary
-->
{#if quizzes.length !== 0}
{#await import('$lib/dashboard/main_slider.svelte')}