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