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
37ff6517
Commit
37ff6517
authored
Jul 10, 2024
by
Timothy J. Baek
Browse files
refac
parent
fae7db89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
109 deletions
+88
-109
src/app.html
src/app.html
+88
-109
No files found.
src/app.html
View file @
37ff6517
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
/>
<link
rel=
"icon"
href=
"%sveltekit.assets%/favicon.png"
/>
<link
rel=
"manifest"
href=
"%sveltekit.assets%/manifest.json"
crossorigin=
"use-credentials"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
/>
<meta
name=
"robots"
content=
"noindex,nofollow"
/>
<link
rel=
"search"
type=
"application/opensearchdescription+xml"
title=
"Open WebUI"
href=
"/opensearch.xml"
/>
<link
rel=
"search"
type=
"application/opensearchdescription+xml"
title=
"Open WebUI"
href=
"/opensearch.xml"
/>
<script>
function
resizeIframe
(
obj
)
{
...
...
@@ -64,78 +60,58 @@
<title>
Open WebUI
</title>
%sveltekit.head%
</head>
<body
data-sveltekit-preload-data=
"hover"
>
</head>
<body
data-sveltekit-preload-data=
"hover"
>
<div
style=
"display: contents"
>
%sveltekit.body%
</div>
<div
id=
"splash-screen"
style=
"position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 100%"
>
<div
id=
"splash-screen"
style=
"position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 100%"
>
<style
type=
"text/css"
nonce=
""
>
html
{
overflow-y
:
scroll
!important
;
}
</style>
<img
id=
"logo"
style=
"
<img
id=
"logo"
style=
"
position: absolute;
width: auto;
height: 6rem;
top: 44%;
left: 50%;
margin-left: -3rem;
"
src=
"/static/splash.png"
/>
transform: translateX(-50%);
"
src=
"/static/splash.png"
/>
<div
style=
"
<div
style=
"
position: absolute;
top: 33%;
left: 50%;
width: 24rem;
margin-left: -12rem
;
transform: translateX(-50%)
;
display: flex;
flex-direction: column;
align-items: center;
"
>
<img
id=
"logo-her"
style=
"width: auto; height: 13rem"
src=
"/static/splash.png"
class=
"animate-pulse-fast"
/>
"
>
<img
id=
"logo-her"
style=
"width: auto; height: 13rem"
src=
"/static/splash.png"
class=
"animate-pulse-fast"
/>
<div
style=
"position: relative; width: 24rem; margin-top: 0.5rem"
>
<div
id=
"progress-background"
style=
"
<div
id=
"progress-background"
style=
"
position: absolute;
width: 100%;
height: 0.75rem;
border-radius: 9999px;
background-color: #fafafa9a;
"
></div>
"
></div>
<div
id=
"progress-bar"
style=
"
<div
id=
"progress-bar"
style=
"
position: absolute;
width: 0%;
height: 0.75rem;
border-radius: 9999px;
background-color: #fff;
"
class=
"bg-white"
></div>
"
class=
"bg-white"
></div>
</div>
</div>
...
...
@@ -143,7 +119,8 @@
Footer content
</span> -->
</div>
</body>
</body>
</html>
<style
type=
"text/css"
nonce=
""
>
...
...
@@ -154,6 +131,7 @@
#splash-screen
{
background
:
#fff
;
}
html
.dark
#splash-screen
{
background
:
#000
;
}
...
...
@@ -210,6 +188,7 @@
opacity
:
0.65
;
}
}
.animate-pulse-fast
{
animation
:
pulse
1.5s
cubic-bezier
(
0.4
,
0
,
0.6
,
1
)
infinite
;
}
...
...
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