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
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
node_modules/
|
||||
dist/
|
||||
.env
|
||||
.DS_Store
|
||||
Reference in New Issue
Block a user