about summary refs log tree commit diff
path: root/aisearch/src/web/templates/partials/response.html
diff options
context:
space:
mode:
authorJohannes Medagbe <johanmedagbe@gmail.com>2026-09-21 10:03:20 +0000
committerJohannes Medagbe <johanmedagbe@gmail.com>2026-09-22 12:18:32 +0000
commitdce53892085c02c8571d8a6495e39c449294aa5f (patch)
treeae64d32cc845d30ec2a4cc3514a23dc5683a09a1 /aisearch/src/web/templates/partials/response.html
downloadgenenetwork_ai_search-master.tar.gz
New: commit aisearch repo master
Diffstat (limited to 'aisearch/src/web/templates/partials/response.html')
-rw-r--r--aisearch/src/web/templates/partials/response.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/aisearch/src/web/templates/partials/response.html b/aisearch/src/web/templates/partials/response.html
new file mode 100644
index 0000000..cc8a0fd
--- /dev/null
+++ b/aisearch/src/web/templates/partials/response.html
@@ -0,0 +1,12 @@
+<div class="message message-ai">
+    <div class="avatar">AI</div>
+    <div class="message-content">
+        {% include "partials/response_body.html" %}
+    </div>
+    <button type="button" class="copy-btn"
+            _="on click
+                writeText(my previousElementSibling's innerText) on navigator.clipboard
+                put 'Copied!' into me
+                wait 1.5s
+                put 'Copy' into me">Copy</button>
+</div>