add: rewrite root html

This commit is contained in:
trisua 2025-05-31 10:17:49 -04:00
parent 78d0766345
commit 350e47f4b7
7 changed files with 405 additions and 442 deletions
crates/app/src/public/html/misc

View file

@ -3,24 +3,24 @@
(text "{% endblock %} {% block body %} {{ macros::nav() }}")
(main
(: "class" "flex flex-col gap-2")
("class" "flex flex-col gap-2")
(div
(: "class" "card-nest")
("class" "card-nest")
(div
(: "class" "card")
("class" "card")
(b (text "Error 😦")))
(div
(: "class" "card flex flex-col gap-4")
("class" "card flex flex-col gap-4")
(span (text "{{ error_text }}"))
(div
(: "class" "w-full flex gap-2")
("class" "w-full flex gap-2")
(a
(: "class" "button primary") (: "href" "/")
("class" "button primary") ("href" "/")
(text "Home"))
(a
(: "class" "button secondary") (: "href" "javascript:history.back()")
("class" "button secondary") ("href" "javascript:history.back()")
(text "Back"))))))
(text "{% endblock %}")

View file

@ -3,18 +3,18 @@
(text "{% endblock %} {% block body %} {{ macros::nav() }}")
(main
(: "class" "flex flex-col gap-2")
("class" "flex flex-col gap-2")
(div
(: "class" "card-nest")
("class" "card-nest")
(div
(: "class" "card small flex items-center justify-between gap-2")
("class" "card small flex items-center justify-between gap-2")
(span
(: "class" "flex items-center gap-2")
("class" "flex items-center gap-2")
(text "{{ icon scroll-text }}")
(span (text "{{ file_name }}"))))
(div
(: "class" "card")
("class" "card")
(span (text "{{ file|markdown|safe }}")))))
(text "{% endblock %}")