refac
This commit is contained in:
@@ -542,6 +542,9 @@
|
||||
if ($settings?.notificationEnabled ?? false) {
|
||||
new Notification(`${data.title} / Open WebUI`, {
|
||||
body: timeStr,
|
||||
// LICENSE covers this Open WebUI notification identifier.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
icon: `${WEBUI_BASE_URL}/static/favicon.png`
|
||||
});
|
||||
}
|
||||
@@ -677,6 +680,9 @@
|
||||
if ($settings?.notificationEnabled ?? false) {
|
||||
new Notification(`${displayTitle} / Open WebUI`, {
|
||||
body: contentPreview,
|
||||
// LICENSE covers this Open WebUI notification identifier.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
icon: `${WEBUI_BASE_URL}/static/favicon.png`
|
||||
});
|
||||
}
|
||||
@@ -782,6 +788,9 @@
|
||||
|
||||
if ($isLastActiveTab) {
|
||||
if ($settings?.notificationEnabled ?? false) {
|
||||
// LICENSE covers this Open WebUI notification identifier.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
new Notification(`${title} / Open WebUI`, {
|
||||
body: data?.content,
|
||||
icon: `${WEBUI_API_BASE_URL}/users/${data?.user?.id}/profile/image`
|
||||
@@ -1181,6 +1190,9 @@
|
||||
if (backendConfig) {
|
||||
// Save Backend Status to Store
|
||||
await config.set(backendConfig);
|
||||
// LICENSE covers this Open WebUI name/logo/identifier.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
await WEBUI_NAME.set(backendConfig.name);
|
||||
|
||||
if ($config) {
|
||||
@@ -1293,6 +1305,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI name/logo/identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>{$WEBUI_NAME}</title>
|
||||
<link crossorigin="anonymous" rel="icon" href="{WEBUI_BASE_URL}/static/favicon.png" />
|
||||
|
||||
|
||||
@@ -246,6 +246,9 @@
|
||||
<div id="auth-login-card" class=" sm:max-w-md my-auto pb-10 w-full dark:text-gray-100">
|
||||
{#if $config?.metadata?.auth_logo_position === 'center'}
|
||||
<div class="flex justify-center mb-6">
|
||||
<!-- LICENSE covers this Open WebUI sign-in logo.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<img
|
||||
id="logo"
|
||||
crossorigin="anonymous"
|
||||
@@ -614,6 +617,9 @@
|
||||
<div class="fixed m-10 z-50">
|
||||
<div class="flex space-x-2">
|
||||
<div class=" self-center">
|
||||
<!-- LICENSE covers this Open WebUI sign-in logo.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<img
|
||||
id="logo"
|
||||
crossorigin="anonymous"
|
||||
|
||||
Reference in New Issue
Block a user