Commit graph

35 commits

Author SHA1 Message Date
bronku
b206f00c96 layout fix 2026-06-16 17:12:16 +02:00
bronku
c540ccc28e post order 2026-06-16 16:54:45 +02:00
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
bronku
922478bdeb link fix and formatting chagnes in js 2026-06-16 14:20:48 +02:00
bronkuu
5610b28254 flattening 2026-06-16 11:19:43 +02:00
bronkuu
3b184c7c6f more simpler + torty sectino 2026-06-15 20:30:15 +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
06231cc490 serch box 2026-06-15 17:44:10 +02:00
bronkuu
e8ea70d61e date presets 2026-06-15 17:39:31 +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
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
b3a5c0b19e further simplifications 2026-06-11 00:43:47 +02:00
bronku
d69d8c3857 new ui 2026-06-10 22:14:48 +02:00
bronku
7c756e87c1 style rewrite 2026-06-10 20:42:06 +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
d2ffc76066 removed search 2025-06-23 12:51:36 +02: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
47323b32f8 Refactor: Fetch handler to return status code 2025-03-22 23:53:38 +01:00
bronku
a7bd1478bf Refactor server: use render func for templates 2025-03-22 23:46:33 +01:00
bronku
ca4e448f82 Refactor handler to server package 2025-03-22 22:35:47 +01:00