mirror of
https://github.com/open-webui/open-webui
synced 2025-05-29 17:52:48 +00:00
refac
This commit is contained in:
parent
fae7db89e6
commit
37ff651723
57
src/app.html
57
src/app.html
@ -1,17 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<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) {
|
||||
@ -65,77 +61,57 @@
|
||||
|
||||
%sveltekit.head%
|
||||
</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>
|
||||
|
||||
@ -144,6 +120,7 @@
|
||||
</span> -->
|
||||
</div>
|
||||
</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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user