From d2106283d8fc14c5c994eb4c2b39e96d95d6e115 Mon Sep 17 00:00:00 2001 From: MrBounty Date: Tue, 13 Aug 2024 19:52:23 +0200 Subject: [PATCH] Removed wasm --- views/layouts/main.html | 6 ++-- views/partials/chat-input.html | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 3 deletions(-) diff --git a/views/layouts/main.html b/views/layouts/main.html index 8bf4c2e..900a197 100644 --- a/views/layouts/main.html +++ b/views/layouts/main.html @@ -22,8 +22,8 @@ - - + + diff --git a/views/partials/chat-input.html b/views/partials/chat-input.html index d55c463..b58d72b 100644 --- a/views/partials/chat-input.html +++ b/views/partials/chat-input.html @@ -107,6 +107,64 @@ } } + function generatePlaceholder() { + return ` +
+
+
+
+ User Image +
+
+
+
+
+
+

You

+
+
+
+

Rendering...

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ User Image +
+
+
+
+
+
+

Waiting...

+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+` + } + function onClickSendButton() { // TODO: Add the message placeholder using WASM messagesPlaceholderHTML = generatePlaceholder(textarea.value);