From 78d9c469a2792a82500105abd7c004dedac0905b Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 1 Mar 2024 22:38:04 -0800 Subject: [PATCH] feat: title for all routes --- src/routes/(app)/admin/+page.svelte | 8 +++++++- src/routes/(app)/documents/+page.svelte | 8 +++++++- src/routes/(app)/modelfiles/+page.svelte | 8 +++++++- src/routes/(app)/prompts/+page.svelte | 8 +++++++- src/routes/auth/+page.svelte | 6 ++++++ 5 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/routes/(app)/admin/+page.svelte b/src/routes/(app)/admin/+page.svelte index b1169709..32234b03 100644 --- a/src/routes/(app)/admin/+page.svelte +++ b/src/routes/(app)/admin/+page.svelte @@ -1,6 +1,6 @@ + + + {`Admin Panel | ${$WEBUI_NAME}`} + + + {#key selectedUser} + + + {`Documents | ${$WEBUI_NAME}`} + + + {#if dragged}
+ + + {`Modelfiles | ${$WEBUI_NAME}`} + + +
diff --git a/src/routes/(app)/prompts/+page.svelte b/src/routes/(app)/prompts/+page.svelte index 784c8693..6f0bc0e1 100644 --- a/src/routes/(app)/prompts/+page.svelte +++ b/src/routes/(app)/prompts/+page.svelte @@ -4,7 +4,7 @@ const { saveAs } = fileSaver; import { onMount } from 'svelte'; - import { prompts } from '$lib/stores'; + import { WEBUI_NAME, prompts } from '$lib/stores'; import { createNewPrompt, deletePromptByCommand, getPrompts } from '$lib/apis/prompts'; import { error } from '@sveltejs/kit'; import { goto } from '$app/navigation'; @@ -36,6 +36,12 @@ }; + + + {`Prompts | ${$WEBUI_NAME}`} + + +
diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index 30c5a93e..a2237794 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -57,6 +57,12 @@ }); + + + {`${$WEBUI_NAME}`} + + + {#if loaded}