add: safety_content_warning, master_pass env var

This commit is contained in:
trisua 2025-08-02 01:30:11 -04:00
parent a6a289c594
commit 15b417c6d6
9 changed files with 150 additions and 29 deletions

View file

@ -61,6 +61,14 @@
(button
("class" "button camo fade no_fill")
("title" "Toggle high-contrast")
("id" "toggle_high_contrast_button")
("onclick" "toggle_metadata_css(event)")
(text "{{ icon \"contrast\" }}"))
(text "{% if \"EntryHighContrast\" in flags -%}")
(script
(text "setTimeout(() => {
toggle_metadata_css({ target: document.getElementById(\"toggle_high_contrast_button\") });
}, 150);"))
(text "{%- endif %}")
(text "{% endblock %}")