This commit is contained in:
Timothy Jaeryang Baek
2026-07-27 19:24:03 -04:00
parent 483adf7040
commit b6b16d5871
18 changed files with 110 additions and 1 deletions
+3
View File
@@ -2,6 +2,9 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- 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. -->
<link rel="icon" type="image/png" href="/static/favicon.png" crossorigin="use-credentials" />
<link
rel="icon"
+3
View File
@@ -93,6 +93,9 @@
class="flex shrink-0 items-start justify-between gap-4 px-4 pb-2.5 pt-3.5 dark:text-white text-black"
>
<div class="min-w-0">
<!-- LICENSE covers this Open WebUI release identifier.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<h2 class="m-0 truncate text-base font-normal">
{$i18n.t("What's New in")}
{$WEBUI_NAME}
@@ -109,6 +109,9 @@
</button>
<div class="shrink-0 self-top -translate-y-0.5">
<!-- LICENSE covers this Open WebUI notification logo.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<img src="{WEBUI_BASE_URL}/static/favicon.png" alt="favicon" class="size-6 rounded-full" />
</div>
+6
View File
@@ -40,6 +40,9 @@
{#if show}
<div class="relative h-screen max-h-[100dvh] w-full overflow-hidden text-white">
<div class="fixed top-6 left-6 z-50 sm:top-10 sm:left-10">
<!-- LICENSE covers this Open WebUI onboarding logo.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<img
id="logo"
crossorigin="anonymous"
@@ -68,6 +71,9 @@
<div class="relative z-10 flex h-screen max-h-[100dvh] w-full">
<div class="flex w-full flex-col justify-end px-6 pb-8 sm:px-10 sm:pb-10 lg:px-16 lg:pb-14">
<div class="max-w-3xl">
<!-- LICENSE covers this Open WebUI welcome identifier.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<div class="mb-4 text-[11px] font-medium tracking-[0.18em] uppercase opacity-35">
Open WebUI
</div>
@@ -174,6 +174,9 @@
</div>
<div class="text-xs">
<!-- LICENSE covers this Open WebUI license attribution.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<div class="text-gray-600 dark:text-gray-400">{$i18n.t('License')}</div>
{#if $config?.license_metadata}
@@ -474,6 +474,9 @@
{#if !$config?.license_metadata}
{#if total > 50}
<!-- LICENSE covers the Open WebUI branding narrative here.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<div class="mt-3 mb-3 pb-1 text-gray-700 dark:text-gray-300">
<div class="max-w-3xl text-xs leading-5">
<div class="text-gray-900 dark:text-gray-100">
+6
View File
@@ -29,6 +29,9 @@
}
}}
>
<!-- LICENSE covers this Open WebUI app navigation logo.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<img
src="{WEBUI_BASE_URL}/static/splash.png"
class="size-11 dark:invert p-0.5"
@@ -54,6 +57,9 @@
selected = '';
}}
>
<!-- LICENSE covers this Open WebUI chat navigation logo.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<img
src="{WEBUI_BASE_URL}/static/favicon.png"
class="size-10 {selected === '' ? 'rounded-2xl' : 'rounded-full'}"
@@ -52,6 +52,9 @@
<h2 class="text-sm font-medium text-gray-900 dark:text-white mb-4">{$i18n.t('About')}</h2>
<div class="flex-1 min-h-0 overflow-y-auto scrollbar-hover pr-1.5">
<!-- LICENSE covers this Open WebUI About identifier.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<UserSettingSection title={`${$WEBUI_NAME} ${$i18n.t('Version')}`} first>
<UserSettingRow
description={$i18n.t('View the installed version and check release updates.')}
@@ -109,6 +112,9 @@
<UserSettingSection title={$i18n.t('Community')}>
{#if $config?.license_metadata}
<!-- LICENSE covers this Open WebUI license attribution.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<div class="text-xs text-gray-600 dark:text-gray-400">
{#if !$WEBUI_NAME.includes('Open WebUI')}
<span>{$WEBUI_NAME}</span> -
@@ -144,6 +150,9 @@
</div>
<div class="text-xs text-gray-400 dark:text-gray-500">
<!-- LICENSE covers this Open WebUI copyright attribution.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
Copyright (c) {new Date().getFullYear()}
<a href="https://openwebui.com" target="_blank" class="underline">Open WebUI Inc.</a>
<a href="https://github.com/open-webui/open-webui/blob/main/LICENSE" target="_blank"
@@ -76,6 +76,9 @@
? ' -mt-1'
: 'text-center items-center justify-center'} self-start text-gray-600 dark:text-gray-400"
>
<!-- LICENSE covers this Open WebUI footer identifier.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
{$WEBUI_NAME} ‧ v{WEBUI_VERSION}
</div>
{/if}
+9
View File
@@ -955,6 +955,9 @@
<div
class=" self-center flex size-[30px] items-center justify-center rounded-lg transition group-hover:bg-gray-50 dark:group-hover:bg-gray-900"
>
<!-- LICENSE covers this Open WebUI sidebar logo.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<img
src="{WEBUI_BASE_URL}/static/favicon.png"
class="sidebar-new-chat-icon size-5 rounded-full group-hover:hidden"
@@ -1132,6 +1135,9 @@
draggable="false"
on:click={newChatHandler}
>
<!-- LICENSE covers this Open WebUI sidebar logo.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<img
crossorigin="anonymous"
src="{WEBUI_BASE_URL}/static/favicon.png"
@@ -1141,6 +1147,9 @@
</a>
<a href="/" class="flex flex-1 px-0.5" on:click={newChatHandler}>
<!-- LICENSE covers this Open WebUI sidebar name.
Do not alter, remove, obscure, or replace it except as LICENSE permits:
https://docs.openwebui.com/license. -->
<div
id="sidebar-webui-name"
class=" self-center font-normal text-gray-700 dark:text-gray-200"
+3
View File
@@ -1,6 +1,9 @@
import { browser, dev } from '$app/environment';
// import { version } from '../../package.json';
// 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.
export const APP_NAME = 'Open WebUI';
export const WEBUI_HOSTNAME = browser ? (dev ? `${location.hostname}:8080` : ``) : '';
+15
View File
@@ -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" />
+6
View File
@@ -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"