From 4ceed09db5aaf019977b27140d7eabcfd5b54ec5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 17 Feb 2024 01:02:01 -0800 Subject: [PATCH 1/3] fix: styling --- src/lib/components/layout/Sidebar.svelte | 4 +- src/routes/(app)/admin/+page.svelte | 248 +++++++++--------- src/routes/(app)/documents/+page.svelte | 4 +- src/routes/(app)/modelfiles/+page.svelte | 4 +- .../(app)/modelfiles/create/+page.svelte | 4 +- src/routes/(app)/modelfiles/edit/+page.svelte | 4 +- 6 files changed, 135 insertions(+), 133 deletions(-) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index be68bb0e1..7753e2b32 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -88,8 +88,8 @@
{#if loaded} -
-
-
-
-
Users ({users.length})
-
- +
Admin Settings
+ +
+
+
+ Click on the user role cell in the table to change a user's role.
-
-
- Click on the user role cell in the table to change a user's role. -
-
+
-
- - - - - - - - - - - {#each users as user} - - - - - +
+
Name Email Role Action
-
- user - -
{user.name}
-
-
{user.email} - - - - - -
+ + + + + + - {/each} - -
Name Email Role Action
+ + + {#each users as user} + + +
+ user + +
{user.name}
+
+ + {user.email} + + + + + + + + + + {/each} + + +
diff --git a/src/routes/(app)/documents/+page.svelte b/src/routes/(app)/documents/+page.svelte index 3b73832f4..a5653483e 100644 --- a/src/routes/(app)/documents/+page.svelte +++ b/src/routes/(app)/documents/+page.svelte @@ -179,8 +179,8 @@ }} /> -
-
+
+
My Documents
diff --git a/src/routes/(app)/modelfiles/+page.svelte b/src/routes/(app)/modelfiles/+page.svelte index cd5dbacb6..cdcb7ae1c 100644 --- a/src/routes/(app)/modelfiles/+page.svelte +++ b/src/routes/(app)/modelfiles/+page.svelte @@ -68,8 +68,8 @@ }); -
-
+
+
My Modelfiles
diff --git a/src/routes/(app)/modelfiles/create/+page.svelte b/src/routes/(app)/modelfiles/create/+page.svelte index 7f69ab3d4..5cbf34264 100644 --- a/src/routes/(app)/modelfiles/create/+page.svelte +++ b/src/routes/(app)/modelfiles/create/+page.svelte @@ -256,8 +256,8 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, ''); }); -
-
+
+
-
-
+
+
Date: Sat, 17 Feb 2024 01:09:24 -0800 Subject: [PATCH 2/3] fix: styling --- src/routes/(app)/prompts/+page.svelte | 4 ++-- src/routes/(app)/prompts/create/+page.svelte | 4 ++-- src/routes/(app)/prompts/edit/+page.svelte | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/routes/(app)/prompts/+page.svelte b/src/routes/(app)/prompts/+page.svelte index 7da77b9d5..4bb43ebea 100644 --- a/src/routes/(app)/prompts/+page.svelte +++ b/src/routes/(app)/prompts/+page.svelte @@ -35,8 +35,8 @@ }; -
-
+
+
My Prompts
diff --git a/src/routes/(app)/prompts/create/+page.svelte b/src/routes/(app)/prompts/create/+page.svelte index c03fac3c7..083c9c358 100644 --- a/src/routes/(app)/prompts/create/+page.svelte +++ b/src/routes/(app)/prompts/create/+page.svelte @@ -77,8 +77,8 @@ }); -
-
+
+
My Prompts
diff --git a/src/routes/(app)/prompts/edit/+page.svelte b/src/routes/(app)/prompts/edit/+page.svelte index 12d1e7e4a..a6eaf5143 100644 --- a/src/routes/(app)/prompts/edit/+page.svelte +++ b/src/routes/(app)/prompts/edit/+page.svelte @@ -71,8 +71,8 @@ }); -
-
+
+
My Prompts
From dc4ffe4eae22ad879f7ec2b039b29b333986b01a Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 17 Feb 2024 01:11:19 -0800 Subject: [PATCH 3/3] fix: rename --- README.md | 2 +- src/lib/components/chat/Settings/About.svelte | 2 +- src/lib/constants.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf5b857b6..a1d089e77 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ![GitHub top language](https://img.shields.io/github/languages/top/ollama-webui/ollama-webui) ![GitHub last commit](https://img.shields.io/github/last-commit/ollama-webui/ollama-webui?color=red) ![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Follama-webui%2Follama-wbui&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false) -[![Discord](https://img.shields.io/badge/Discord-Ollama_Web_UI-blue?logo=discord&logoColor=white)](https://discord.gg/5rJgQTnV4s) +[![Discord](https://img.shields.io/badge/Discord-Open_WebUI-blue?logo=discord&logoColor=white)](https://discord.gg/5rJgQTnV4s) [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/tjbck) ChatGPT-Style Web Interface for Ollama 🦙 diff --git a/src/lib/components/chat/Settings/About.svelte b/src/lib/components/chat/Settings/About.svelte index 99933547e..c52733d2f 100644 --- a/src/lib/components/chat/Settings/About.svelte +++ b/src/lib/components/chat/Settings/About.svelte @@ -40,7 +40,7 @@ Discord diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 070b1f8bd..7122ceeb9 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,6 +1,6 @@ import { dev } from '$app/environment'; -export const WEBUI_NAME = 'Open Web UI'; +export const WEBUI_NAME = 'Open WebUI'; export const WEBUI_BASE_URL = dev ? `http://${location.hostname}:8080` : ``; export const WEBUI_API_BASE_URL = `${WEBUI_BASE_URL}/api/v1`;