diff --git a/core/http/routes/ui.go b/core/http/routes/ui.go index 7fb6adfc..40919a83 100644 --- a/core/http/routes/ui.go +++ b/core/http/routes/ui.go @@ -209,11 +209,6 @@ func RegisterUIRoutes(app *fiber.App, summary["TotalPages"] = totalPages summary["CurrentPage"] = pageNum summary["Models"] = template.HTML(elements.ListModels(models, processingModels, galleryService)) - - log.Debug().Msgf("totalPages : %+v\n", totalPages) - log.Debug().Msgf("prevPage : %+v\n", prevPage) - log.Debug().Msgf("nextPage : %+v\n", nextPage) - log.Debug().Msgf("CurrentPage : %+v\n", pageNum) } // Render index diff --git a/core/http/views/chat.html b/core/http/views/chat.html index b3e9bd4a..71e9b8d6 100644 --- a/core/http/views/chat.html +++ b/core/http/views/chat.html @@ -29,143 +29,207 @@ SOFTWARE. {{template "views/partials/head" .}} - - -
+ + {{template "views/partials/navbar" .}} -
- -
-
+ +
-

Chat {{ if .Model }} with {{.Model}} {{ end }} - -

- + +
+ + +
+ +
+ + +
- data-twe-ripple-init - data-twe-ripple-color="light" - class="m-2 float-right inline-block rounded bg-primary px-6 pb-2.5 mb-3 pt-2.5 text-xs font-medium uppercase leading-normal text-white shadow-primary-3 transition duration-150 ease-in-out hover:bg-primary-accent-300 hover:shadow-primary-2 focus:bg-primary-accent-300 focus:shadow-primary-2 focus:outline-none focus:ring-0 active:bg-primary-600 active:shadow-primary-2 dark:shadow-black/30 dark:hover:shadow-dark-strong dark:focus:shadow-dark-strong dark:active:shadow-dark-strong" + + - - -
- - -
- - -
-
- -
-

- Start chatting with the AI by typing a prompt in the input field below and pressing Enter. - For models that support images, you can upload an image by clicking the paperclip icon. -

-
- +
+ + +
+

+ Start chatting with the AI by typing a prompt in the input field below and pressing Enter. + For models that support images, you can upload an image by clicking the paperclip + icon. +

+
+ +
+
+ + +
+ + + +
+
+ + + + +
+
-
- - - -
-
- - - - -
-
-
+ -
- + \ No newline at end of file diff --git a/core/http/views/partials/head.html b/core/http/views/partials/head.html index 57be385d..66afb22d 100644 --- a/core/http/views/partials/head.html +++ b/core/http/views/partials/head.html @@ -1,36 +1,20 @@ - - - {{.Title}} - - - + + + {{.Title}} + + + - - - - + + + - - - + + + + + - + + - - - - - + \ No newline at end of file