Commit Graph

3 Commits

Author SHA1 Message Date
hermes
28c40db564 feat: refactor navbar with Bulma 2026-06-29 08:29:03 +00:00
hermes
078ea0fb4b feat: fix blank frontend page — align all page forms with backend store fields
- Add <script setup> to all 4 page components for consistent Svelte 5 syntax
- Fix field name mismatches between frontend forms and backend mock API:
  * LanPage: dhcp_enabled -> dhcp, removed non-existent subnet field
  * MainRelayPage: replaced state/name/automatic/voltage/delay with lockDelayMs/unlockDelayMs
  * ElevatorPage: replaced floors/speed_up/speed_down/max_load with enabled/timeoutMs
  * DevicePage: replaced baud_rate/scanning/devices with type/sn/name/unit/room
- Add saved state tracking and error display to all pages
- Clean up App.svelte: remove svelte onMount import, simplify navigation logic
2026-06-28 14:42:30 +00:00
hermes
3ca80674a1 初始提交: 配置管理面板 (Vite 8 + Svelte 5 + Bulma) 2026-06-28 11:42:56 +00:00