From 5174fa0b615d37ce983d6be670488bddc9e91727 Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Fri, 24 Feb 2023 09:53:32 -0500 Subject: [PATCH] devmode menu and some UI improvements --- tfweb/src/components/Header.svelte | 142 ++++++++++++++++-- tfweb/src/lib/auth.ts | 12 ++ tfweb/src/lib/i18n/en.json | 4 +- tfweb/src/lib/stores/DevmodeStore.ts | 3 + tfweb/src/routes/auth/mfa/+page.svelte | 17 ++- tfweb/src/routes/auth/mfasetup/+page.svelte | 9 +- trifid-api/config.toml | 3 +- .../migrations/20230224000741_create_orgs.sql | 8 + trifid-api/src/config.rs | 3 +- 9 files changed, 180 insertions(+), 21 deletions(-) create mode 100644 tfweb/src/lib/stores/DevmodeStore.ts create mode 100644 trifid-api/migrations/20230224000741_create_orgs.sql diff --git a/tfweb/src/components/Header.svelte b/tfweb/src/components/Header.svelte index 4000b0a..b98af39 100644 --- a/tfweb/src/components/Header.svelte +++ b/tfweb/src/components/Header.svelte @@ -1,8 +1,12 @@
@@ -37,22 +55,25 @@
-
-