brewlog/templates/partials
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
..
forms refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
lists fix(ui): improve mobile card layout for list views 2026-02-09 20:24:57 +00:00
bag_card.html fix(ui): use fixed 200px card width on mobile and desktop 2026-02-09 19:57:36 +00:00
brew_card.html fix(ui): use fixed 200px card width on mobile and desktop 2026-02-09 19:57:36 +00:00
detail_cards.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
entity_icon.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
histogram.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
icons.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
image_section.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
image_upload.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
location_search.html refactor: extract location JS into static file with nearby keyboard nav 2026-02-09 19:54:49 +00:00
nav.html fix: mobile fixed nav bar and detail page polish 2026-02-11 09:53:43 +00:00
nearby_cafes.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
roast_options.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
scan_input.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
stats_map.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
tab_bar.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00
timeline_chunk.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
timeline_month.html refactor: fix template review findings (security, macros, tokens) 2026-02-13 16:20:30 +00:00