Host pages now show the same drawing as the rack page, taken from the host's cutsheet item and its Front drawing setting.
Sliger fronts show the power light in the host's live status colour.
ZimaBoard drawings light each NIC from its live state, so monitor-01's enp3s0 shows dark.
Location: the drawing header shows where the host sits and links to the rack page, e.g. "U5-U8, full depth" or "Rear shelf (U22-U23), slot 1". The Overview section lists the location too.
Modem and AP pages use the topology page's drawings. Those drawings moved into fronts.js (modemFront, apFront), and the topology page now uses those shared versions.
No-drawing case: a host with no cutsheet item or no Front drawing (pbs, compute-storage-02 today) shows no picture, the same as before.
Unchanged: switch, router and PDU pages keep their live faceplate.
Backend
cutsheet.item_for_device and cutsheet.location_text, both pure functions with tests.
/api/device/<name> gains hardware: {item, item_id, chassis, location, rack_url, interfaces}, or null when there is no item.
The cutsheet is now loaded once per device request instead of once per field.
Verification
655 tests pass. flake8, bandit -ll and eslint are clean; the only eslint warnings are the existing ones in the vendored base.js.
No em or en dashes.
Ran the app locally against a copy of prod's state and cutsheet. Screenshots were taken in desktop dark, desktop light and phone (390px) for monitor-01, storage-01, att-modem, AP, pbs and 24RJ45-POE:
Closes #62
## What changes
- **Host pages** now show the same drawing as the rack page, taken from the host's cutsheet item and its *Front drawing* setting.
- Sliger fronts show the power light in the host's live status colour.
- ZimaBoard drawings light each NIC from its live state, so monitor-01's enp3s0 shows dark.
- **Location:** the drawing header shows where the host sits and links to the rack page, e.g. "U5-U8, full depth" or "Rear shelf (U22-U23), slot 1". The Overview section lists the location too.
- **Modem and AP pages** use the topology page's drawings. Those drawings moved into `fronts.js` (`modemFront`, `apFront`), and the topology page now uses those shared versions.
- **No-drawing case:** a host with no cutsheet item or no Front drawing (pbs, compute-storage-02 today) shows no picture, the same as before.
- **Unchanged:** switch, router and PDU pages keep their live faceplate.
## Backend
- `cutsheet.item_for_device` and `cutsheet.location_text`, both pure functions with tests.
- `/api/device/<name>` gains `hardware: {item, item_id, chassis, location, rack_url, interfaces}`, or `null` when there is no item.
- The cutsheet is now loaded once per device request instead of once per field.
## Verification
- 655 tests pass. flake8, bandit `-ll` and eslint are clean; the only eslint warnings are the existing ones in the vendored `base.js`.
- No em or en dashes.
- Ran the app locally against a copy of prod's state and cutsheet. Screenshots were taken in desktop dark, desktop light and phone (390px) for monitor-01, storage-01, att-modem, AP, pbs and 24RJ45-POE:
- no page-level horizontal scroll
- no page script errors
- /topology still draws the modem and AP
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A host's page now draws the same front the rack page shows, from its
cutsheet item's Front drawing (ZimaBoard NIC lights follow its live
interfaces), with its rack location linking to the rack page. The modem
and AP pages use the topology drawings, now shared from fronts.js.
Closes#62
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Screenshots from a local run against a copy of prod's state and cutsheet:
monitor-01 (desktop, dark): the ZimaBoard drawing shows enp3s0 dark, which matches the missing cable. The location links to the rack page.
storage-01 (desktop, light)
att-modem and AP (desktop, dark)
Phone (390px)
Screenshots from a local run against a copy of prod's state and cutsheet:
**monitor-01** (desktop, dark): the ZimaBoard drawing shows enp3s0 dark, which matches the missing cable. The location links to the rack page.

**storage-01** (desktop, light)

**att-modem** and **AP** (desktop, dark)


**Phone (390px)**


jared
scheduled this pull request to auto merge when all checks succeed 2026-11-25 13:53:37 -05:00
jared
merged commit f636d29c9f into main2026-11-25 13:53:38 -05:00
jared
deleted branch device-hardware-visuals2026-11-25 13:53:44 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #62
What changes
fronts.js(modemFront,apFront), and the topology page now uses those shared versions.Backend
cutsheet.item_for_deviceandcutsheet.location_text, both pure functions with tests./api/device/<name>gainshardware: {item, item_id, chassis, location, rack_url, interfaces}, ornullwhen there is no item.Verification
-lland eslint are clean; the only eslint warnings are the existing ones in the vendoredbase.js.🤖 Generated with Claude Code
Screenshots from a local run against a copy of prod's state and cutsheet:
monitor-01 (desktop, dark): the ZimaBoard drawing shows enp3s0 dark, which matches the missing cable. The location links to the rack page.

storage-01 (desktop, light)

att-modem and AP (desktop, dark)


Phone (390px)

