Commit Graph

4 Commits (75255d5551f08b851d1ccc71fca48558711d8eab)

Author SHA1 Message Date
Joca 75255d5551
Friendly duplicate-name errors on create/edit
UNIQUE constraint violations from rack/device/model creation and editing
now show readable messages like 'A rack named X already exists, onii-chan'
instead of raw SQLite error strings or silent redirects.
2026-06-09 20:11:52 -03:00
Joca 3434d02e78
Show device count on rack cards in overview
Each rack card now displays the number of devices inside (racked +
unplaced). Introduced a RackCard wrapper in the overview handler to
pair each rack with its precomputed count.
2026-06-09 18:57:38 -03:00
Joca 2aeb66de33
Add rack height field to create form
The rack creation form now includes a Height (U) input defaulting to 42.
The handler reads it instead of hardcoding. Previously every rack was
silently locked at 42U until you went to the rack page to edit it.
2026-06-09 18:56:23 -03:00
Joca a0f05791f8
Initial commit: Go + HTMX network mapping tool
- Database schema (SQLite) with migrations
- Data models: racks, devices, device models, ports, connections
- CRUD store layer in internal/db/
- Connection tracing service
- HTTP handlers for overview, rack, device, model, connection, wall sockets
- HTML templates with HTMX for connection modal
- Dark-themed CSS
- Vanilla JS for modal overlay management
2026-06-03 23:11:15 -03:00