From fd3cedbccf951441d658244b7236369710443302 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 26 Sep 2024 15:06:14 +0100 Subject: [PATCH] move premium badge to top of AI config, add AzureOpenAI logo --- .../builder/portal/settings/ai/index.svelte | 27 ++++++++++--------- .../settings/ai/logos/AzureOpenAI.svelte | 1 + .../builder/portal/settings/index.svelte | 7 ++++- 3 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 packages/builder/src/pages/builder/portal/settings/ai/logos/AzureOpenAI.svelte diff --git a/packages/builder/src/pages/builder/portal/settings/ai/index.svelte b/packages/builder/src/pages/builder/portal/settings/ai/index.svelte index b60ea24dbc..f5fe106daa 100644 --- a/packages/builder/src/pages/builder/portal/settings/ai/index.svelte +++ b/packages/builder/src/pages/builder/portal/settings/ai/index.svelte @@ -127,18 +127,8 @@ - AI - {#if isCloud && !budibaseAIEnabled} - - Premium - - {/if} - Configure your AI settings within this section: - - - -
- AI Configurations +
+ AI {#if !isCloud && !customAIConfigsEnabled} Premium @@ -151,6 +141,13 @@ {/if}
+ Configure your AI settings within this section: + + + +
+ AI Configurations +
Use the following interface to select your preferred AI configuration. @@ -173,4 +170,10 @@ justify-content: space-between; align-items: center; } + + .header { + display: flex; + align-items: center; + gap: 12px; + } diff --git a/packages/builder/src/pages/builder/portal/settings/ai/logos/AzureOpenAI.svelte b/packages/builder/src/pages/builder/portal/settings/ai/logos/AzureOpenAI.svelte new file mode 100644 index 0000000000..ca727c2ed1 --- /dev/null +++ b/packages/builder/src/pages/builder/portal/settings/ai/logos/AzureOpenAI.svelte @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/builder/src/pages/builder/portal/settings/index.svelte b/packages/builder/src/pages/builder/portal/settings/index.svelte index 09ead3e410..1448b43ec4 100644 --- a/packages/builder/src/pages/builder/portal/settings/index.svelte +++ b/packages/builder/src/pages/builder/portal/settings/index.svelte @@ -1,5 +1,10 @@