From 437831aea5092defaf91e7923b53256c3845706a Mon Sep 17 00:00:00 2001 From: Wizzard Date: Sat, 9 Mar 2024 05:43:40 -0500 Subject: [PATCH] Create dropdown box to select which model to use in the GUI on startup --- gui/css/styles.css | 31 +++++++++++++++++++++++++++++++ gui/index.html | 7 +++++++ gui/kuzco-gui.js | 7 ++++--- gui/kuzcoCore.js | 5 +++-- gui/preload.js | 4 ++-- gui/renderer.js | 9 +++++++-- 6 files changed, 54 insertions(+), 9 deletions(-) diff --git a/gui/css/styles.css b/gui/css/styles.css index e14976f..691a8b1 100644 --- a/gui/css/styles.css +++ b/gui/css/styles.css @@ -72,6 +72,37 @@ body { background-color: #2980b9; color: #ecf0f1; } +#modelSelectionContainer { + margin-bottom: 20px; + color: #ecf0f1; +} + +#modelSelect { + padding: 10px; + border: 1px solid #34495e; + border-radius: 5px; + background-color: #2c3e50; + color: #ecf0f1; + font-family: Arial, sans-serif; + cursor: pointer; +} + +#modelSelect:focus { + outline: none; + border-color: #2980b9; +} + +label { + color: #ecf0f1; + margin-right: 10px; +} +#modelSelectionContainer { + display: flex; + align-items: center; + justify-content: start; + gap: 10px; + margin-bottom: 10px; +} @keyframes ellipsis { 0%, 20% { content: ''; diff --git a/gui/index.html b/gui/index.html index 27a4941..bb5534f 100644 --- a/gui/index.html +++ b/gui/index.html @@ -10,6 +10,13 @@

Welcome to Kuzco Chat

+
+ + +