brewlog/templates/pages
Jon Seager 920931ba17
refactor: fix template review findings (security, macros, tokens)
Address findings from the templates code review:

- Fix XSS in admin.html onclick handlers via data attributes
- Fix XSS in 5 edit page signal initializations via JSON serialization
- Fix register.html token exposure by moving to data attribute
- Add entity_icon, quick_notes_toggles, add_form_submit macros
- Replace hardcoded colors with design tokens (warning, error, success)
- Add warning design tokens to CSS theme
- Scope MutationObserver to main element
- Add defer to webauthn.js script tags
- Refactor login/register JS to arrow functions
- Guard lightbox script behind image_url check
- Fix else-if to elif in 5 templates
2026-02-13 16:20:30 +00:00
..
add.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
admin.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
bag.html fix: make detail page action buttons responsive on mobile 2026-02-11 09:05:58 +00:00
brew.html feat: add edit button to all detail pages 2026-02-10 19:42:47 +00:00
cafe.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
checkin.html feat: add image upload to create and check-in forms 2026-02-10 17:50:20 +00:00
cli_callback.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
cup.html fix: polish edit forms and detail pages 2026-02-10 19:43:03 +00:00
data.html refactor: document content|safe safety invariant in templates 2026-02-13 16:20:25 +00:00
edit_bag.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
edit_brew.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
edit_cafe.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
edit_cup.html feat: add sticky submit buttons to all edit forms on mobile 2026-02-11 10:20:30 +00:00
edit_gear.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
edit_roast.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
edit_roaster.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
gear.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
home.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
login.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
register.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
roast.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
roaster.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
stats.html refactor: document content|safe safety invariant in templates 2026-02-13 16:20:25 +00:00
timeline.html fix: mobile fixed nav bar and detail page polish 2026-02-11 09:53:43 +00:00