add: allow lisp templates (bberry)
This commit is contained in:
parent
8de5c0ea76
commit
78d0766345
10 changed files with 296 additions and 263 deletions
26
crates/app/src/public/html/misc/error.lisp
Normal file
26
crates/app/src/public/html/misc/error.lisp
Normal file
|
@ -0,0 +1,26 @@
|
|||
(text "{% extends \"root.html\" %} {% block head %}")
|
||||
(title (text "{{ error_text }} - {{ config.name }}"))
|
||||
(text "{% endblock %} {% block body %} {{ macros::nav() }}")
|
||||
|
||||
(main
|
||||
(: "class" "flex flex-col gap-2")
|
||||
(div
|
||||
(: "class" "card-nest")
|
||||
(div
|
||||
(: "class" "card")
|
||||
(b (text "Error 😦")))
|
||||
|
||||
(div
|
||||
(: "class" "card flex flex-col gap-4")
|
||||
(span (text "{{ error_text }}"))
|
||||
|
||||
(div
|
||||
(: "class" "w-full flex gap-2")
|
||||
(a
|
||||
(: "class" "button primary") (: "href" "/")
|
||||
(text "Home"))
|
||||
(a
|
||||
(: "class" "button secondary") (: "href" "javascript:history.back()")
|
||||
(text "Back"))))))
|
||||
|
||||
(text "{% endblock %}")
|
Loading…
Add table
Add a link
Reference in a new issue