Commit graph

14 commits

Author SHA1 Message Date
bronku
4666618151 order form 2026-06-16 16:37:48 +02:00
bronku
2465956fc2 refactor and order template 2026-06-16 16:15:40 +02:00
bronkuu
a74c276cd3 flatter html 2026-06-15 20:15:12 +02:00
bronkuu
cf2e217030 code simplification 2026-06-15 20:00:04 +02:00
bronkuu
be80307bde desing pruning 2026-06-15 19:48:40 +02:00
bronkuu
b8cf13b7d5 css reducion 2026-06-15 19:33:39 +02:00
bronkuu
5f156ab6a0 blocked dates page and warning for special-cake orders
Add blocked_date table (migration 5), model, and store CRUD methods.
Add management page at /blocked with add/delete functionality.
Add nav link 'Terminy zablokowane' with event_busy icon.
Pass blocked dates to order form as JSON data attribute.
On form submit, if the order has special cakes and the date is
blocked, show a confirm() dialog warning the user.
2026-06-15 18:54:48 +02:00
bronkuu
5a5372b831 templates, handlers, CSS, JS: special cakes UI, HTMX nav, dashboard overhaul
Special cakes UI: overlay drawer, basket integration, catalogue tag
filter, form parsing, JS save/edit/remove.
HTMX navigation: MainContent component, nav links with hx-get,
handlers return partial on HX-Request.
Dashboard: metrics grid, CakeBreakdown, OrderRow with status select,
CakeCounts/OrderCounts, torty filter, tort badge, results-pane.
Collapsible sidebar: toggle button, localStorage, CSS transitions.
Location field: dropdown replaced with pill toggle.
Inline style cleanup: moved to CSS classes (tag-grid, grow, icon.sm,
header-actions, toggle-group, success-icon, etc.).
Dead CSS removal: pagination, status-chip, badge-pill, login-page.
Helpers: exported CakeTitle/OrderTitle, added tagNames, tagIDsComma,
orderItemsDesc, specialCakeDetail, removed unused helpers.
2026-06-15 18:50:21 +02:00
bronkuu
8d81940faf price fixes 2026-06-15 15:50:17 +02:00
bronkuu
2940f00142 fixed silent panics 2026-06-15 15:05:52 +02:00
bronkuu
762c2a2e36 moved the date picker to header 2026-06-15 14:56:08 +02:00
bronkuu
a91b196e64 refactoring html and css 2026-06-15 14:43:50 +02:00
bronkuu
8194cea85e trying to fix price 2026-06-15 13:45:28 +02:00
bronku
bb32802324 move to templ 2026-06-11 08:48:01 +02:00