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
a2e30ace
Commit
a2e30ace
authored
Jun 12, 2024
by
Timothy J. Baek
Browse files
refac: her
parent
cde9672a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
src/app.html
src/app.html
+13
-3
src/routes/+layout.svelte
src/routes/+layout.svelte
+3
-1
No files found.
src/app.html
View file @
a2e30ace
...
...
@@ -89,18 +89,19 @@
position: absolute;
width: 12rem;
height: 12rem;
top: 3
2
%;
top: 3
4
%;
left: 50%;
margin-left: -6rem;
"
src=
"/logo.svg"
class=
"animate-pulse-fast"
/>
<div
id=
"progress-background"
style=
"
position: absolute;
top: 5
6
%;
top: 5
8
%;
left: 50%;
margin-left: -12rem;
...
...
@@ -117,7 +118,7 @@
id=
"progress-bar"
style=
"
position: absolute;
top: 5
6
%;
top: 5
8
%;
left: 50%;
margin-left: -12rem;
...
...
@@ -186,4 +187,13 @@
html
.her
#progress-bar
{
display
:
block
;
}
@keyframes
pulse
{
50
%
{
opacity
:
0.65
;
}
}
.animate-pulse-fast
{
animation
:
pulse
1.5s
cubic-bezier
(
0.4
,
0
,
0.6
,
1
)
infinite
;
}
</style>
src/routes/+layout.svelte
View file @
a2e30ace
...
...
@@ -2,7 +2,9 @@
import { io } from 'socket.io-client';
import { spring } from 'svelte/motion';
let loadingProgress = spring(0);
let loadingProgress = spring(0, {
stiffness: 0.05
});
import { onMount, tick, setContext } from 'svelte';
import {
...
...
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