From 9053bfdadfb10906c9d178d4584f516da8e503d3 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 9 Jun 2024 02:41:52 -0700 Subject: [PATCH] refac: styling --- src/lib/components/admin/Settings/Audio.svelte | 2 +- src/lib/components/admin/Settings/Connections.svelte | 2 +- src/lib/components/admin/Settings/Database.svelte | 2 +- src/lib/components/admin/Settings/Documents.svelte | 2 +- src/lib/components/admin/Settings/General.svelte | 2 +- src/lib/components/admin/Settings/Images.svelte | 2 +- src/lib/components/admin/Settings/Interface.svelte | 2 +- src/lib/components/admin/Settings/Models.svelte | 2 +- src/lib/components/admin/Settings/Pipelines.svelte | 2 +- src/lib/components/admin/Settings/Users.svelte | 2 +- src/lib/components/admin/Settings/WebSearch.svelte | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib/components/admin/Settings/Audio.svelte b/src/lib/components/admin/Settings/Audio.svelte index c102589ae..d38402aa0 100644 --- a/src/lib/components/admin/Settings/Audio.svelte +++ b/src/lib/components/admin/Settings/Audio.svelte @@ -113,7 +113,7 @@ dispatch('save'); }} > -
+
{$i18n.t('STT Settings')}
diff --git a/src/lib/components/admin/Settings/Connections.svelte b/src/lib/components/admin/Settings/Connections.svelte index d2dfd0488..669fe8aae 100644 --- a/src/lib/components/admin/Settings/Connections.svelte +++ b/src/lib/components/admin/Settings/Connections.svelte @@ -162,7 +162,7 @@ dispatch('save'); }} > -
+
{#if ENABLE_OPENAI_API !== null && ENABLE_OLLAMA_API !== null}
diff --git a/src/lib/components/admin/Settings/Database.svelte b/src/lib/components/admin/Settings/Database.svelte index a6f7aaac6..ae3077be4 100644 --- a/src/lib/components/admin/Settings/Database.svelte +++ b/src/lib/components/admin/Settings/Database.svelte @@ -30,7 +30,7 @@ saveHandler(); }} > -
+
{$i18n.t('Database')}
diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index 98d3783a0..c38d5edd7 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -218,7 +218,7 @@ saveHandler(); }} > -
+
{$i18n.t('General Settings')}
diff --git a/src/lib/components/admin/Settings/General.svelte b/src/lib/components/admin/Settings/General.svelte index 4af5f05dd..e6bb8f929 100644 --- a/src/lib/components/admin/Settings/General.svelte +++ b/src/lib/components/admin/Settings/General.svelte @@ -56,7 +56,7 @@ saveHandler(); }} > -
+
{#if adminConfig !== null}
{$i18n.t('General Settings')}
diff --git a/src/lib/components/admin/Settings/Images.svelte b/src/lib/components/admin/Settings/Images.svelte index 288cd0437..0e4db533e 100644 --- a/src/lib/components/admin/Settings/Images.svelte +++ b/src/lib/components/admin/Settings/Images.svelte @@ -169,7 +169,7 @@ loading = false; }} > -
+
{$i18n.t('Image Settings')}
diff --git a/src/lib/components/admin/Settings/Interface.svelte b/src/lib/components/admin/Settings/Interface.svelte index d5edb25e7..0834d8821 100644 --- a/src/lib/components/admin/Settings/Interface.svelte +++ b/src/lib/components/admin/Settings/Interface.svelte @@ -57,7 +57,7 @@ dispatch('save'); }} > -
+
{$i18n.t('Set Task Model')}
diff --git a/src/lib/components/admin/Settings/Models.svelte b/src/lib/components/admin/Settings/Models.svelte index 3a1f5ed3f..a943c6fb0 100644 --- a/src/lib/components/admin/Settings/Models.svelte +++ b/src/lib/components/admin/Settings/Models.svelte @@ -550,7 +550,7 @@
-
+
{#if ollamaEnabled} {#if ollamaVersion !== null}
diff --git a/src/lib/components/admin/Settings/Pipelines.svelte b/src/lib/components/admin/Settings/Pipelines.svelte index dee03f416..b3e20a05e 100644 --- a/src/lib/components/admin/Settings/Pipelines.svelte +++ b/src/lib/components/admin/Settings/Pipelines.svelte @@ -200,7 +200,7 @@ updateHandler(); }} > -
+
{#if PIPELINES_LIST !== null}
diff --git a/src/lib/components/admin/Settings/Users.svelte b/src/lib/components/admin/Settings/Users.svelte index d7f99736f..42425d7b9 100644 --- a/src/lib/components/admin/Settings/Users.svelte +++ b/src/lib/components/admin/Settings/Users.svelte @@ -48,7 +48,7 @@ await config.set(await getBackendConfig()); }} > -
+
{$i18n.t('User Permissions')}
diff --git a/src/lib/components/admin/Settings/WebSearch.svelte b/src/lib/components/admin/Settings/WebSearch.svelte index ddaf37136..7013759fa 100644 --- a/src/lib/components/admin/Settings/WebSearch.svelte +++ b/src/lib/components/admin/Settings/WebSearch.svelte @@ -45,7 +45,7 @@ saveHandler(); }} > -
+
{#if webConfig}