Commit graph

12 commits

Author SHA1 Message Date
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
8194cea85e trying to fix price 2026-06-15 13:45:28 +02:00
bronku
5f2d6f00bc small improvements 2026-06-11 09:10:27 +02:00
bronku
bb32802324 move to templ 2026-06-11 08:48:01 +02:00
bronku
d382de4236 removed cake categories 2026-06-11 01:13:42 +02:00
bronku
8c7067d5d9 changed to git.bronku.xyz 2026-06-10 19:38:35 +02:00
bronku
4b8230c1ff great 2026-01-09 03:08:40 +01:00
Bronku
65709049d7 removed 'internal' directory 2025-06-19 21:48:06 +02:00
bronku
e2dda0ade7 Reorganize project structure and fix SQLite usage 2025-03-23 10:45:42 +01:00
bronku
0e762841a3 Refactor postOrder to render confirmation page 2025-03-23 00:25:38 +01:00
bronku
ca4e448f82 Refactor handler to server package 2025-03-22 22:35:47 +01:00