Commit Graph

4 Commits (3434d02e7806294b7b5b7fed4f2c51a91c3a275f)

Author SHA1 Message Date
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 cada7ab6c2
Add empty-state messages to overview page
Grid sections for Racks and Devices now show a dashed 'No X yet' message
when the collection is empty, using Go template {{else}} blocks. CSS
styles the placeholder with muted text and a dashed border.
2026-06-09 18:55:03 -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