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
23489105
"docs/vscode:/vscode.git/clone" did not exist on "eea33e1a2cc7b24ef5a2eecebe1963757dc70207"
Commit
23489105
authored
Jun 09, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
8c95a8be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/lib/components/admin/Settings/Interface.svelte
src/lib/components/admin/Settings/Interface.svelte
+8
-8
No files found.
src/lib/components/admin/Settings/Interface.svelte
View file @
23489105
...
@@ -137,33 +137,33 @@
...
@@ -137,33 +137,33 @@
</svg>
</svg>
</button>
</button>
</div>
</div>
<div class="flex flex-col
space-y-1
">
<div class="flex flex-col
gap-1.5
">
{#each promptSuggestions as prompt, promptIdx}
{#each promptSuggestions as prompt, promptIdx}
<div class=" flex
border
dark:b
order
-gray-
60
0 rounded-
lg
">
<div class=" flex dark:b
g
-gray-
85
0 rounded-
xl py-1.5
">
<div class="flex flex-col flex-1">
<div class="flex flex-col flex-1
pl-1
">
<div class="flex border-b dark:border-gray-
6
00 w-full">
<div class="flex border-b dark:border-gray-
8
00 w-full">
<input
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-
6
00"
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-
8
00"
placeholder={$i18n.t('Title (e.g. Tell me a fun fact)')}
placeholder={$i18n.t('Title (e.g. Tell me a fun fact)')}
bind:value={prompt.title[0]}
bind:value={prompt.title[0]}
/>
/>
<input
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-
6
00"
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-
8
00"
placeholder={$i18n.t('Subtitle (e.g. about the Roman Empire)')}
placeholder={$i18n.t('Subtitle (e.g. about the Roman Empire)')}
bind:value={prompt.title[1]}
bind:value={prompt.title[1]}
/>
/>
</div>
</div>
<input
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-
6
00"
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-
8
00"
placeholder={$i18n.t('Prompt (e.g. Tell me a fun fact about the Roman Empire)')}
placeholder={$i18n.t('Prompt (e.g. Tell me a fun fact about the Roman Empire)')}
bind:value={prompt.content}
bind:value={prompt.content}
/>
/>
</div>
</div>
<button
<button
class="px-
2
"
class="px-
3
"
type="button"
type="button"
on:click={() => {
on:click={() => {
promptSuggestions.splice(promptIdx, 1);
promptSuggestions.splice(promptIdx, 1);
...
...
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