add: show_nsfw, hide_extra_post_tabs settings

add: ability to remove tokens from account switcher ui
This commit is contained in:
trisua 2025-06-02 16:11:27 -04:00
parent 88afb3ec37
commit 701ea79c9a
7 changed files with 70 additions and 77 deletions

View file

@ -271,25 +271,20 @@
("onsubmit" "event.preventDefault()")
(div ("id" "tokens") ("style" "display: contents"))
(a
("href" "/auth/login")
("class" "button")
("data-turbo", "false")
(icon (text "plus"))
(span (str (text "general:action.add_account"))))
(div
("class" "flex justify-between")
(div null?)
(a
("href" "/auth/login")
("class" "button")
("data-turbo", "false")
(icon (text "plus"))
(span (str (text "general:action.add_account"))))
(div
("class" "flex gap-2")
(button
("class" "quaternary")
("onclick" "document.getElementById('tokens_dialog').close()")
("type" "button")
(icon (text "check"))
(span "{{ text \"dialog:action.okay\" }}")))))))
(button
("class" "quaternary")
("onclick" "document.getElementById('tokens_dialog').close()")
("type" "button")
(icon (text "check")))))))
; user scripts
(text "{%- endif %} {% if user and use_user_theme -%} {{ components::theme(user=user, theme_preference=user.settings.theme_preference) }}