Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
e664c383
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "1bacd5d93f3997f91e179e743f5e7a13db4ccaa4"
Commit
e664c383
authored
Mar 16, 2024
by
Timothy J. Baek
Browse files
refac: settings styling
parent
264eb284
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
16 deletions
+14
-16
src/lib/components/chat/Settings/Account.svelte
src/lib/components/chat/Settings/Account.svelte
+1
-1
src/lib/components/chat/Settings/Chats.svelte
src/lib/components/chat/Settings/Chats.svelte
+1
-1
src/lib/components/chat/Settings/Connections.svelte
src/lib/components/chat/Settings/Connections.svelte
+1
-1
src/lib/components/chat/Settings/General.svelte
src/lib/components/chat/Settings/General.svelte
+6
-8
src/lib/components/chat/Settings/Images.svelte
src/lib/components/chat/Settings/Images.svelte
+1
-1
src/lib/components/chat/Settings/Interface.svelte
src/lib/components/chat/Settings/Interface.svelte
+2
-2
src/lib/components/chat/Settings/Models.svelte
src/lib/components/chat/Settings/Models.svelte
+1
-1
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+1
-1
No files found.
src/lib/components/chat/Settings/Account.svelte
View file @
e664c383
...
...
@@ -40,7 +40,7 @@
</script>
<div class="flex flex-col h-full justify-between text-sm">
<div class=" space-y-3 pr-1.5 overflow-y-scroll max-h-
80
">
<div class=" space-y-3 pr-1.5 overflow-y-scroll max-h-
[22rem]
">
<input
id="profile-image-input"
bind:this={profileImageInputElement}
...
...
src/lib/components/chat/Settings/Chats.svelte
View file @
e664c383
...
...
@@ -101,7 +101,7 @@
});
</script>
<div class="flex flex-col h-full justify-between space-y-3 text-sm">
<div class="flex flex-col h-full justify-between space-y-3 text-sm
max-h-[22rem]
">
<div class=" space-y-2">
<div
class="flex flex-col justify-between rounded-md items-center py-2 px-3.5 w-full transition"
...
...
src/lib/components/chat/Settings/Connections.svelte
View file @
e664c383
...
...
@@ -65,7 +65,7 @@
dispatch('save');
}}
>
<div class=" pr-1.5 overflow-y-scroll max-h-[2
0.5
rem] space-y-3">
<div class=" pr-1.5 overflow-y-scroll max-h-[2
2
rem] space-y-3">
<div class=" space-y-3">
<div class="mt-2 space-y-2 pr-1.5">
<div class="flex justify-between items-center text-sm">
...
...
src/lib/components/chat/Settings/General.svelte
View file @
e664c383
...
...
@@ -90,11 +90,11 @@
</script>
<div class="flex flex-col h-full justify-between text-sm">
<div class=" pr-1.5 overflow-y-scroll max-h-[2
0.5
rem]">
<div class=" pr-1.5 overflow-y-scroll max-h-[2
2
rem]">
<div class="">
<div class=" mb-1 text-sm font-medium">{$i18n.t('WebUI Settings')}</div>
<div class="
py-0.5
flex w-full justify-between">
<div class="flex w-full justify-between">
<div class=" self-center text-xs font-medium">{$i18n.t('Theme')}</div>
<div class="flex items-center relative">
<select
...
...
@@ -127,7 +127,7 @@
</div>
</div>
<div class="
py-0.5
flex w-full justify-between">
<div class=" flex w-full justify-between">
<div class=" self-center text-xs font-medium">{$i18n.t('Language')}</div>
<div class="flex items-center relative">
<select
...
...
@@ -146,21 +146,19 @@
</div>
{#if $i18n.language === 'en-US'}
<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
Didn't find your language?
<br />
You can help us translate the WebUI. Check out our
Couldn't find your language?
<a
class=" text-gray-300 font-medium underline"
href="https://github.com/open-webui/open-webui/blob/main/docs/CONTRIBUTING.md#-translations-and-internationalization"
target="_blank"
>
language contribution guide.
Help us translate Open WebUI!
</a>
</div>
{/if}
<div>
<div class="
mt-2
py-0.5 flex w-full justify-between">
<div class=" py-0.5 flex w-full justify-between">
<div class=" self-center text-xs font-medium">{$i18n.t('Desktop Notifications')}</div>
<button
...
...
src/lib/components/chat/Settings/Images.svelte
View file @
e664c383
...
...
@@ -138,7 +138,7 @@
loading = false;
}}
>
<div class=" space-y-3 pr-1.5 overflow-y-scroll max-h-[2
0.5
rem]">
<div class=" space-y-3 pr-1.5 overflow-y-scroll max-h-[2
4
rem]">
<div>
<div class=" mb-1 text-sm font-medium">{$i18n.t('Image Settings')}</div>
...
...
src/lib/components/chat/Settings/Interface.svelte
View file @
e664c383
...
...
@@ -97,7 +97,7 @@
dispatch('save');
}}
>
<div class=" space-y-3 pr-1.5 overflow-y-scroll
h-80
">
<div class=" space-y-3 pr-1.5 overflow-y-scroll
max-h-[22rem]
">
<div>
<div class=" mb-1 text-sm font-medium">{$i18n.t('WebUI Add-ons')}</div>
...
...
@@ -306,7 +306,7 @@
{/if}
</div>
<div class="flex justify-end
pt-3
text-sm font-medium">
<div class="flex justify-end text-sm font-medium">
<button
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg"
type="submit"
...
...
src/lib/components/chat/Settings/Models.svelte
View file @
e664c383
...
...
@@ -469,7 +469,7 @@
</script>
<div class="flex flex-col h-full justify-between text-sm">
<div class=" space-y-3 pr-1.5 overflow-y-scroll h-[2
3
rem]">
<div class=" space-y-3 pr-1.5 overflow-y-scroll h-[2
4
rem]">
{#if ollamaVersion}
<div class="space-y-2 pr-1.5">
<div class="text-sm font-medium">{$i18n.t('Manage Ollama Models')}</div>
...
...
src/lib/components/chat/SettingsModal.svelte
View file @
e664c383
...
...
@@ -323,7 +323,7 @@
<div class=" self-center">{$i18n.t('About')}</div>
</button>
</div>
<div class="flex-1 md:min-h-[
380px
]">
<div class="flex-1 md:min-h-[
25rem
]">
{#if selectedTab === 'general'}
<General
{getModels}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment