This commit is contained in:
2024-04-25 23:47:52 +02:00
parent 08e8e27bf4
commit 6bc8fe8aa3
27 changed files with 205 additions and 167 deletions
+8 -1
View File
@@ -1,5 +1,12 @@
<div class="chat-container">
<h1 class="title is-1">Chat Page</h1>
<div hx-get="/loadChat" hx-trigger="load" hx-swap="outerHTML"></div>
{% include "partials/chat-input.html" %}
<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>
</div>
</div>
</div>