refac
This commit is contained in:
+11
-1
@@ -2,7 +2,8 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- LICENSE covers this Open WebUI name/logo/identifier.
|
||||
<!-- LICENSE covers this Open WebUI branding surface, including name, logo,
|
||||
visual, textual, symbolic identifiers, metadata, and surrounding UI.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png" crossorigin="use-credentials" />
|
||||
@@ -74,6 +75,9 @@
|
||||
metaThemeColorTag.setAttribute('content', '#171717');
|
||||
}
|
||||
|
||||
// LICENSE covers these Open WebUI splash logo assets.
|
||||
// Do not alter, remove, obscure, or replace them except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
const preloadHref = document.documentElement.classList.contains('dark')
|
||||
? '/static/splash-dark.png'
|
||||
: '/static/splash.png';
|
||||
@@ -105,6 +109,9 @@
|
||||
'position: absolute; width: auto; height: 6rem; top: 44%; left: 50%; transform: translateX(-50%); display:block;';
|
||||
logo.loading = 'eager';
|
||||
logo.fetchPriority = 'high';
|
||||
// LICENSE covers this Open WebUI splash logo.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
logo.src = isDarkMode ? '/static/splash-dark.png' : '/static/splash.png';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
@@ -150,6 +157,9 @@
|
||||
align-items: center;
|
||||
"
|
||||
>
|
||||
<!-- LICENSE covers this Open WebUI splash logo.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<img
|
||||
id="logo-her"
|
||||
style="width: auto; height: 13rem"
|
||||
|
||||
Reference in New Issue
Block a user