generated from t/malachite
28 lines
1.1 KiB
Common Lisp
28 lines
1.1 KiB
Common Lisp
(text "{% extends \"root.lisp\" %} {% block head %}")
|
|
(title
|
|
(text "Message {{ profile.username }}? — {{ config.name }}"))
|
|
(text "{% endblock %} {% block body %}")
|
|
(div
|
|
("class" "card flex flex_col gap_ch")
|
|
(p (text "Are you sure you would like to direct message ") (a ("href" "/@{{ profile.username }}") (text "{{ profile.username }}")) (text "?"))
|
|
(div
|
|
("class" "flex gap_2")
|
|
(text "{% if user -%}")
|
|
(button
|
|
("class" "button surface green")
|
|
("onclick" "create_direct_chat_with_user('{{ profile.username }}')")
|
|
(text "{{ icon \"arrow-right\" }} Continue"))
|
|
(text "{% else %}")
|
|
(a
|
|
("class" "button surface green")
|
|
("href" "/login?redirect=/@{{ profile.username }}/confirm_dm")
|
|
(text "{{ icon \"arrow-right\" }} Sign in to message"))
|
|
(text "{%- endif %}")
|
|
|
|
(a
|
|
("class" "button surface red")
|
|
("href" "/")
|
|
(text "{{ icon \"x\" }} Cancel"))))
|
|
|
|
(script ("src" "/public/messages.js"))
|
|
(text "{% endblock %}")
|