From db63427795c7b378157ad643eaf94c898549a04e Mon Sep 17 00:00:00 2001 From: trisua Date: Mon, 4 Aug 2025 12:25:54 -0400 Subject: [PATCH] fix: use correct class names --- app/templates_src/edit.lisp | 18 +++++++++--------- app/templates_src/index.lisp | 6 +++--- app/templates_src/password.lisp | 4 ++-- app/templates_src/root.lisp | 4 ++-- app/templates_src/view.lisp | 6 +++--- app/templates_src/warning.lisp | 4 ++-- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/app/templates_src/edit.lisp b/app/templates_src/edit.lisp index 6f38b1c..4bd3901 100644 --- a/app/templates_src/edit.lisp +++ b/app/templates_src/edit.lisp @@ -39,43 +39,43 @@ ("id" "metadata_tab") ("class" "tab fadein hidden"))) (form - ("class" "w-full flex flex-col gap_2") + ("class" "w_full flex flex_col gap_2") ("style" "margin-top: var(--pad-2)") ("onsubmit" "edit_entry(event)") (div - ("class" "w-full flex gap_2") + ("class" "w_full flex gap_2") (input - ("class" "w-full") + ("class" "w_full") ("type" "text") ("minlength" "2") ("name" "edit_code") ("required" "") ("placeholder" "Enter edit code")) - (input ("class" "w-full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true")) - (input ("class" "w-full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true"))) + (input ("class" "w_full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true")) + (input ("class" "w_full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true"))) (div ("class" "flex gap_2") (input - ("class" "w-full") + ("class" "w_full") ("type" "text") ("minlength" "2") ("name" "new_edit_code") ("placeholder" "New edit code")) (input - ("class" "w-full") + ("class" "w_full") ("type" "text") ("minlength" "2") ("name" "new_modify_code") ("placeholder" "New modify code")) (input - ("class" "w-full") + ("class" "w_full") ("type" "text") ("minlength" "2") ("name" "new_slug") ("oninput" "check_exists_input(event)") ("placeholder" "New url"))) (div - ("class" "w-full flex justify_between gap_2") + ("class" "w_full flex justify_between gap_2") (div ("class" "flex gap_2") (button diff --git a/app/templates_src/index.lisp b/app/templates_src/index.lisp index e5353d1..a55cf42 100644 --- a/app/templates_src/index.lisp +++ b/app/templates_src/index.lisp @@ -42,7 +42,7 @@ ("id" "metadata_tab") ("class" "tab fadein hidden"))) (form - ("class" "w-full flex justify_between gap_2 flex_collapse_rev") + ("class" "w_full flex justify_between gap_2 flex_collapse_rev") ("style" "margin-top: var(--pad-2)") ("onsubmit" "create_entry(event)") (button @@ -51,13 +51,13 @@ (div ("class" "flex gap_2") (input - ("class" "w-full") + ("class" "w_full") ("type" "text") ("minlength" "2") ("name" "edit_code") ("placeholder" "Custom edit code")) (input - ("class" "w-full") + ("class" "w_full") ("type" "text") ("minlength" "2") ("maxlength" "32") diff --git a/app/templates_src/password.lisp b/app/templates_src/password.lisp index 6cf2495..42caaa6 100644 --- a/app/templates_src/password.lisp +++ b/app/templates_src/password.lisp @@ -10,10 +10,10 @@ (text "{{ icon \"lock\" }}") (b (text "Password required"))) (form - ("class" "card flex flex-col gap_2") + ("class" "card flex flex_col gap_2") ("onsubmit" "use_password(event)") (div - ("class" "flex flex-collapse gap_2") + ("class" "flex flex_collapse gap_2") (input ("class" "surface") ("required" "") diff --git a/app/templates_src/root.lisp b/app/templates_src/root.lisp index 5a7a051..b806505 100644 --- a/app/templates_src/root.lisp +++ b/app/templates_src/root.lisp @@ -22,7 +22,7 @@ (body ; nav (nav - ("class" "flex w-full justify_between gap_2") + ("class" "flex w_full justify_between gap_2") (div ("class" "flex side") (div @@ -74,7 +74,7 @@ ; page (article - ("class" "content_container flex flex-col") + ("class" "content_container flex flex_col") ("id" "page") (ul ("id" "messages")) (text "{% block body %}{% endblock %}") diff --git a/app/templates_src/view.lisp b/app/templates_src/view.lisp index 029b9fe..40fc46f 100644 --- a/app/templates_src/view.lisp +++ b/app/templates_src/view.lisp @@ -15,21 +15,21 @@ (text "{% endblock %} {% block body %}") (div - ("class" "flex flex-col gap_2") + ("class" "flex flex_col gap_2") (div ("class" "card container") ("id" "content_rect") ("style" "min-height: 15rem") (text "{{ entry.content|markdown|safe }}")) (div - ("class" "w-full flex justify_between gap_2") + ("class" "w_full flex justify_between gap_2") (a ("class" "button") ("href" "/{{ entry.slug }}/edit{% if password -%} ?key={{ password }} {%- endif %}") (text "Edit")) (div - ("class" "flex flex-col gap-1 items-end fade") + ("class" "flex flex_col gap-1 items-end fade") ; dates (span (text "Pub: {{ entry.created / 1000|int|date(format=\"%Y-%m-%d %H:%M\", timezone=\"Etc/UTC\") }} UTC")) (span (text "Edit: {{ entry.edited / 1000|int|date(format=\"%Y-%m-%d %H:%M\", timezone=\"Etc/UTC\") }} UTC")) diff --git a/app/templates_src/warning.lisp b/app/templates_src/warning.lisp index c26faaf..4f058ed 100644 --- a/app/templates_src/warning.lisp +++ b/app/templates_src/warning.lisp @@ -15,13 +15,13 @@ (text "{% endblock %} {% block body %}") (div - ("class" "card container flex flex-col gap-1") + ("class" "card container flex flex_col gap-1") ("id" "content_rect") (p ("class" "fade") (text "Content warning:")) (div (text "{{ metadata.safety_content_warning|markdown|safe }}")) (hr) (div - ("class" "flex flex-col gap_4") + ("class" "flex flex_col gap_4") (label ("class" "flex flex-row gap_2 items_center") ("for" "open_in_high_contrast")