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
3d0b3eb5
Commit
3d0b3eb5
authored
May 25, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
92e5e6c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
src/routes/(app)/workspace/models/create/+page.svelte
src/routes/(app)/workspace/models/create/+page.svelte
+2
-4
src/routes/(app)/workspace/models/edit/+page.svelte
src/routes/(app)/workspace/models/edit/+page.svelte
+2
-4
No files found.
src/routes/(app)/workspace/models/create/+page.svelte
View file @
3d0b3eb5
...
@@ -316,11 +316,9 @@
...
@@ -316,11 +316,9 @@
bind:value={info.base_model_id}
bind:value={info.base_model_id}
required
required
>
>
<option value={null} class=" placeholder:text-gray-500"
<option value={null} class=" text-gray-500">{$i18n.t('Select a base model')}</option>
>{$i18n.t('Select a base model')}</option
>
{#each $models.filter((m) => !m?.preset) as model}
{#each $models.filter((m) => !m?.preset) as model}
<option value={model.id}>{model.name}</option>
<option value={model.id}
class="text-gray-500"
>{model.name}</option>
{/each}
{/each}
</select>
</select>
</div>
</div>
...
...
src/routes/(app)/workspace/models/edit/+page.svelte
View file @
3d0b3eb5
...
@@ -291,11 +291,9 @@
...
@@ -291,11 +291,9 @@
bind
:
value
={
info
.
base_model_id
}
bind
:
value
={
info
.
base_model_id
}
required
required
>
>
<
option
value
={
null
}
class
=
" placeholder:text-gray-500"
<
option
value
={
null
}
class
=
" text-gray-500"
>{$
i18n
.
t
(
'Select a base model'
)}</
option
>
>{$
i18n
.
t
(
'Select a base model'
)}</
option
>
{#
each
$
models
.
filter
((
m
)
=>
m
.
id
!== model.id && !m?.preset) as model}
{#
each
$
models
.
filter
((
m
)
=>
m
.
id
!== model.id && !m?.preset) as model}
<
option
value
={
model
.
id
}>{
model
.
name
}</
option
>
<
option
value
={
model
.
id
}
class
=
" text-gray-500"
>{
model
.
name
}</
option
>
{/
each
}
{/
each
}
</
select
>
</
select
>
</
div
>
</
div
>
...
...
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