brewlog/templates/pages
Jon Seager 2cd579a574
refactor: deduplicate update handlers and edit templates
Add HasChanges trait with impl_has_changes! macro, validate_update()
and update_response() helpers to reduce boilerplate across all 7 entity
update handlers. Extract edit form actions (error, spinner, buttons)
into a shared Askama macro. Also adds missing no-changes validation
to the bag update handler.
2026-02-10 20:04:24 +00:00
..
add.html feat: add image upload to create and check-in forms 2026-02-10 17:50:20 +00:00
admin.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
bag.html feat: add edit button to all detail pages 2026-02-10 19:42:47 +00:00
brew.html feat: add edit button to all detail pages 2026-02-10 19:42:47 +00:00
cafe.html fix: polish edit forms and detail pages 2026-02-10 19:43:03 +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 feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
cup.html fix: polish edit forms and detail pages 2026-02-10 19:43:03 +00:00
data.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
edit_bag.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
edit_brew.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
edit_cafe.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
edit_cup.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
edit_gear.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
edit_roast.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
edit_roaster.html refactor: deduplicate update handlers and edit templates 2026-02-10 20:04:24 +00:00
gear.html feat: add edit button to all detail pages 2026-02-10 19:42:47 +00:00
home.html feat: add image upload to create and check-in forms 2026-02-10 17:50:20 +00:00
login.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
register.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
roast.html feat: add edit button to all detail pages 2026-02-10 19:42:47 +00:00
roaster.html feat: add edit button to all detail pages 2026-02-10 19:42:47 +00:00
stats.html fix(stats): use muted colors for roast and consumption stat cards 2026-02-09 20:27:01 +00:00
timeline.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00