add: rewrite macros.html

This commit is contained in:
trisua 2025-05-31 20:42:11 -04:00
parent bf27c51ad3
commit e9846016e6
4 changed files with 224 additions and 246 deletions

View file

@ -10,7 +10,7 @@
(meta ("http-equiv" "content-security-policy") ("content" "default-src 'self' blob: *.spotify.com musicbrainz.org; img-src * data:; media-src *; font-src *; style-src 'unsafe-inline' 'self' blob: *; script-src 'self' 'unsafe-inline' blob: *; object-src 'self' blob: *; upgrade-insecure-requests; connect-src * localhost; frame-src 'self' blob: data: *"))
(link ("rel" "icon") ("href" "/public/favicon.svg"))
(link ("rel" "stylesheet") ("href" "/css/style.css"))
(link ("rel" "stylesheet") ("href" "/css/style.css"))f
(text "{% if user -%}
<script>
@ -257,7 +257,8 @@
(a
("href" "")
("id" "lightbox_img_a")
("target" "_blank")))
("target" "_blank")
(img ("id" "lightbox_img") ("loading" "lazy"))))
; tokens dialog
(text "{% if user -%}")
@ -287,7 +288,7 @@
("class" "quaternary")
("onclick" "document.getElementById('tokens_dialog').close()")
("type" "button")
(icon (text "check "))
(icon (text "check"))
(span "{{ text \"dialog:action.okay\" }}")))))))
; user scripts