Commit graph

20 commits

Author SHA1 Message Date
müde
3bfb853d0b docs: logo, security warning, emoji headings
- embed favicon.svg as a logo in the README
- add a prominent "no security — trusted networks only" callout
- sprinkle emoji through README/TODO/PLAN/NOTES headings; fix NOTES typo
2026-06-14 23:17:56 +02:00
müde
cca3077b7a review fixes: light-mode contrast, tz robustness, deploy copy
- admin: maroon buttons use .danger class (white text); replace hardcoded
  #333/#ff8a8a/drop-target colors with theme vars so light mode is legible
- time.ts: force hourCycle h23 (no 24:00 artifact), drop dead 24-guard
- Makefile/README: rsync with excludes instead of `cp -a .` so .git and the
  dev DB don't ship to /opt; add rsync to deps
2026-06-14 22:55:29 +02:00
müde
6a0d30c8b5 add svg favicon + toolbar logo; set theme before paint
- favicon.svg (beer mug), linked from both entry points and shown in
  the tablet topbar next to the bar name
- inline data-theme in <head> kills the flash of dark on light-mode load
- hide the "Pfand zurück" tile when the bar has no Pfand
2026-06-14 22:55:15 +02:00
müde
df513fda68 admin: unify response error extraction into errText helper
removes a double-body-read in the delete handlers and makes the four
alert sites consistent.
2026-06-14 22:30:49 +02:00
müde
ac6a50197e add Makefile with make install for fedora deploy
builds and installs the systemd service from a fresh checkout; substitutes
real node path / prefix into the unit. README documents it as the quick path.
2026-06-14 22:26:10 +02:00
müde
179a231b58 deploy: add systemd unit + env template, document service setup
also document WUTZ_TZ / WUTZ_DAY_CUTOFF_HOUR env vars
2026-06-14 22:00:13 +02:00
müde
817a560bd6 readme: add fedora setup 2026-06-14 21:58:35 +02:00
müde
2a43b59947 tablet: split price/pfand, light mode, bigger bold text
- show drink price and Pfand separately on tiles and in cart
- add light/dark toggle on the bar-picker page (persisted)
- theme via CSS variables, applied on load for tablet + admin
- larger, bolder text throughout; much bigger total sum
2026-06-14 21:57:52 +02:00
müde
40cdc98f82 admin: fix timestamps, per-day stats, reset, delete drinks/bars
- store created_at as UTC ISO; display/group in Europe/Berlin
- stats grouped by business day (sales night past midnight, 5am cutoff)
- add "Statistik zurücksetzen"
- allow deleting drinks/tresen (refused if referenced by sales)
- CSV exports local wall-clock time
2026-06-14 21:55:51 +02:00
müde
22577a0a65 add repo url to readme, package.json, flake 2026-05-19 18:39:52 +02:00
müde
1a2f184be3 readme: warn that all code is AI-generated 2026-05-19 18:29:31 +02:00
müde
fae555585f readme: add debian/ubuntu and windows setup 2026-05-19 18:29:12 +02:00
müde
58027d636a todo: note many-drinks tablet layout case 2026-05-19 18:23:49 +02:00
müde
1f8f377ac6 gitignore: drop local claude settings 2026-05-19 18:23:03 +02:00
müde
a0babc2cfa admin: drag-and-drop drink reordering per bar 2026-05-19 18:22:49 +02:00
müde
4904ff0032 admin: reorder drinks per bar 2026-05-19 18:19:26 +02:00
müde
02c7e9b5fd admin: add and rename bars 2026-05-19 18:18:10 +02:00
müde
1442fbae75 tablet: fit grid and cart on screen, no scrolling 2026-05-19 18:14:14 +02:00
müde
e0898bea22 scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin) 2026-05-19 18:12:01 +02:00
müde
cf33e6ea04 initial reqs 2026-05-19 17:37:51 +02:00