This commit is contained in:
Timothy J. Baek 2024-07-10 14:43:00 -07:00
parent fae7db89e6
commit 37ff651723

View File

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