Commit Graph

3 Commits (b9ebc1d1414154e1c72585099d93cb6ac53dedba)

Author SHA1 Message Date
Joca b9ebc1d141
Use cable color instead of hardcoded green for connected port badges
Port spans now pick up the connection's actual color for border and a
light tint for background via inline styles. The .connected CSS class
only ups the border width to 2px for emphasis. Applied to _port_list.html
shared partial and wall_sockets.html inline rendering.
2026-06-09 18:55:48 -03:00
Joca d9e7fb1ab1
Device and wall-socket views now highlight connected ports
Extracted shared _port_list.html partial with connected-port checking,
loaded into every page's template set. DeviceView and WallSocket handlers
now load connection data and pass it to the template. Removed duplicate
inline port_list definition from rack.html.
2026-06-09 18:52:32 -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