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
fed9472e
Commit
fed9472e
authored
Dec 26, 2023
by
Timothy J. Baek
Browse files
fix: overlay styling
parent
e756c415
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/routes/(app)/+layout.svelte
src/routes/(app)/+layout.svelte
+7
-7
No files found.
src/routes/(app)/+layout.svelte
View file @
fed9472e
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
{#if !['user', 'admin'].includes($user.role)}
{#if !['user', 'admin'].includes($user.role)}
<div class="fixed w-full h-full flex z-50">
<div class="fixed w-full h-full flex z-50">
<div
<div
class="absolute rounded-xl w-full h-full backdrop-blur bg-
gray-100
/20 dark:bg-gray-900/50 flex justify-center"
class="absolute rounded-xl w-full h-full backdrop-blur
-md
bg-
white
/20 dark:bg-gray-900/50 flex justify-center"
>
>
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="max-w-md">
<div class="max-w-md">
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<div class=" mt-6 mx-auto relative group w-fit">
<div class=" mt-6 mx-auto relative group w-fit">
<button
<button
class="relative z-20 flex px-5 py-2 rounded-full bg-white hover:bg-gray-100 transition font-medium text-sm"
class="relative z-20 flex px-5 py-2 rounded-full bg-white
border border-gray-100 dark:border-none
hover:bg-gray-100 transition font-medium text-sm"
on:click={async () => {
on:click={async () => {
location.href = '/';
location.href = '/';
}}
}}
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
{:else if checkVersion(REQUIRED_OLLAMA_VERSION, ollamaVersion ?? '0')}
{:else if checkVersion(REQUIRED_OLLAMA_VERSION, ollamaVersion ?? '0')}
<div class="fixed w-full h-full flex z-50">
<div class="fixed w-full h-full flex z-50">
<div
<div
class="absolute rounded-xl w-full h-full backdrop-blur bg-
gray-100
/20 dark:bg-gray-900/50 flex justify-center"
class="absolute rounded-xl w-full h-full backdrop-blur
-md
bg-
white
/20 dark:bg-gray-900/50 flex justify-center"
>
>
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="max-w-md">
<div class="max-w-md">
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
<div class=" mt-6 mx-auto relative group w-fit">
<div class=" mt-6 mx-auto relative group w-fit">
<button
<button
class="relative z-20 flex px-5 py-2 rounded-full bg-white hover:bg-gray-100 transition font-medium text-sm"
class="relative z-20 flex px-5 py-2 rounded-full bg-white
border border-gray-100 dark:border-none
hover:bg-gray-100 transition font-medium text-sm"
on:click={async () => {
on:click={async () => {
await setOllamaVersion();
await setOllamaVersion();
}}
}}
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
{:else if localDBChats.length > 0}
{:else if localDBChats.length > 0}
<div class="fixed w-full h-full flex z-50">
<div class="fixed w-full h-full flex z-50">
<div
<div
class="absolute rounded-xl w-full h-full backdrop-blur bg-
gray-100
/20 dark:bg-gray-900/50 flex justify-center"
class="absolute rounded-xl w-full h-full backdrop-blur
-md
bg-
white
/20 dark:bg-gray-900/50 flex justify-center"
>
>
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="max-w-md">
<div class="max-w-md">
...
@@ -198,14 +198,14 @@
...
@@ -198,14 +198,14 @@
Saving chat logs directly to your browser's storage is no longer supported. Please
Saving chat logs directly to your browser's storage is no longer supported. Please
take a moment to download and delete your chat logs by clicking the button below.
take a moment to download and delete your chat logs by clicking the button below.
Don't worry, you can easily re-import your chat logs to the backend through <span
Don't worry, you can easily re-import your chat logs to the backend through <span
class="font-semibold text-white">Settings > Chats > Import Chats</span
class="font-semibold
dark:
text-white">Settings > Chats > Import Chats</span
>. This ensures that your valuable conversations are securely saved to your backend
>. This ensures that your valuable conversations are securely saved to your backend
database. Thank you!
database. Thank you!
</div>
</div>
<div class=" mt-6 mx-auto relative group w-fit">
<div class=" mt-6 mx-auto relative group w-fit">
<button
<button
class="relative z-20 flex px-5 py-2 rounded-full bg-white hover:bg-gray-100 transition font-medium text-sm"
class="relative z-20 flex px-5 py-2 rounded-full bg-white
border border-gray-100 dark:border-none
hover:bg-gray-100 transition font-medium text-sm"
on:click={async () => {
on:click={async () => {
let blob = new Blob([JSON.stringify(localDBChats)], {
let blob = new Blob([JSON.stringify(localDBChats)], {
type: 'application/json'
type: 'application/json'
...
...
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