generated from t/malachite
add: working chat ui
This commit is contained in:
parent
f53eb3d367
commit
b360c5e737
14 changed files with 319 additions and 53 deletions
|
@ -1,4 +1,15 @@
|
|||
(text "{%- import \"components.lisp\" as components -%}")
|
||||
(text "{% for message in messages -%}")
|
||||
(text "{{ components::message(message) }}")
|
||||
(text "{{ components::message(message=message) }}")
|
||||
(text "{%- endfor %}")
|
||||
|
||||
(div
|
||||
("class" "hidden")
|
||||
("id" "msgs_data_{{ id }}")
|
||||
("data-first-message-time" "{{ first_message_time }}"))
|
||||
|
||||
(text "{% if messages|length == 0 -%}")
|
||||
(div
|
||||
("class" "hidden")
|
||||
("id" "msgs_quit_{{ id }}"))
|
||||
(text "{%- endif %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue