mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
@@ -1332,7 +1332,7 @@
|
||||
/>
|
||||
|
||||
<div
|
||||
class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white to-white/90 dark:from-gray-900 dark:to-[#171717]/90 z-0 -translate-y-[78px]"
|
||||
class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white to-white/90 dark:from-gray-900 dark:to-[#171717]/90 z-0"
|
||||
/>
|
||||
{/if}
|
||||
|
||||
@@ -1415,6 +1415,7 @@
|
||||
}
|
||||
return a;
|
||||
}, [])}
|
||||
transparentBackground={$settings?.backgroundImageUrl ?? false}
|
||||
{selectedModels}
|
||||
{messages}
|
||||
{submitPrompt}
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
|
||||
const i18n = getContext('i18n');
|
||||
|
||||
export let transparentBackground = false;
|
||||
|
||||
export let submitPrompt: Function;
|
||||
export let stopResponse: Function;
|
||||
|
||||
@@ -391,7 +393,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-white dark:bg-gray-900">
|
||||
<div class="{transparentBackground ? 'bg-transparent' : 'bg-white dark:bg-gray-900'} ">
|
||||
<div class="max-w-6xl px-2.5 md:px-6 mx-auto inset-x-0">
|
||||
<div class=" pb-2">
|
||||
<input
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
export let title = ($i18n.t('Confirm your action'));
|
||||
export let message = ($i18n.t('This action cannot be undone. Do you wish to continue?'));
|
||||
export let title = $i18n.t('Confirm your action');
|
||||
export let message = $i18n.t('This action cannot be undone. Do you wish to continue?');
|
||||
|
||||
export let cancelLabel = ($i18n.t('Cancel'));
|
||||
export let confirmLabel = ($i18n.t('Confirm'));
|
||||
export let cancelLabel = $i18n.t('Cancel');
|
||||
export let confirmLabel = $i18n.t('Confirm');
|
||||
|
||||
export let show = false;
|
||||
let modalElement = null;
|
||||
|
||||
Reference in New Issue
Block a user