Multiple model selection working
This commit is contained in:
+19
-8
@@ -1,12 +1,23 @@
|
||||
<div class="chat-container">
|
||||
<h1 class="title is-1">Chat Page</h1>
|
||||
<div hx-get="/loadChat" hx-trigger="load" hx-swap="outerHTML"></div>
|
||||
<div class="chat-container mt-5">
|
||||
<hx hx-get="/loadChat" hx-trigger="load" hx-swap="outerHTML"></hx>
|
||||
|
||||
<div class="columns is-centered">
|
||||
<div class="column is-8">
|
||||
<form hx-put="/chat" hx-swap="beforeend" hx-target="#chat-messages">
|
||||
<input class="input mx-5" type="text" placeholder="Type your message here..." name="message" />
|
||||
|
||||
<div class="chat-input-container">
|
||||
<div class="buttons">
|
||||
<hx hx-get="/loadModelSelection" hx-trigger="load" hx-swap="outerHTML"></hx>
|
||||
</div>
|
||||
<div class="field has-addons mx-5">
|
||||
<form class="control is-expanded" hx-post="/requestMultipleMessages" hx-swap="beforeend settle:200ms"
|
||||
hx-target="#chat-messages" id="chat-input-form" class="chat-input"
|
||||
hx-include="[name='message'], [name^='model-check-']">
|
||||
<input class="input" type="text" placeholder="Type your message here..." name="message" />
|
||||
</form>
|
||||
<div class="control">
|
||||
<button class="button is-primary" hx-post="/requestMultipleMessages" hx-swap="beforeend settle:200ms"
|
||||
hx-target="#chat-messages" class="chat-input"
|
||||
hx-include="[name='message'], [name^='model-check-']">Send</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user