add: rewrite root html
This commit is contained in:
parent
78d0766345
commit
350e47f4b7
7 changed files with 405 additions and 442 deletions
crates/app/src/public/html/misc
|
@ -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 %}")
|
||||
|
|
|
@ -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 %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue