fix: use correct class names
This commit is contained in:
parent
e5ff863e94
commit
db63427795
6 changed files with 21 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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" "")
|
||||
|
|
|
@ -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 %}")
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue