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
+7 -14
View File
@@ -8,31 +8,24 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css">
</head>
<body hx-ext="sse" sse-connect="/sse">
<body>
<script src="https://unpkg.com/htmx.org@1.9.11"></script>
<script src="https://unpkg.com/htmx.org@1.9.12/dist/ext/sse.js"></script>
{% include "partials/navbar.html" %}
{{embed}}
<style>
.column {
display: flex;
flex-direction: column;
.my-indicator {
display: none;
}
.message {
max-width: 90%;
margin-bottom: 10px;
.htmx-request .my-indicator {
display: inline;
}
.user-message {
align-self: flex-start;
}
.bot-message {
align-self: flex-end;
.htmx-request.my-indicator {
display: inline;
}
</style>