diff --git a/static/style.css b/static/style.css index 255d764..9386aff 100644 --- a/static/style.css +++ b/static/style.css @@ -98,6 +98,8 @@ th { background: var(--surface); font-weight: 600; } .rack-table .rack-cell { width: 45%; padding: 2px 0.4em; } .rack-table tr.device-start td { border-top: 2px solid #444; } .rack-table tr.device-start td.rack-cell { background: var(--surface); } +.rack-table tr.device-row td.rack-cell { background: var(--surface); } +.rack-table tr.device-row + tr:not(.device-row) td { border-top: 1px solid #555; } .rack-device { display: flex; flex-direction: column; padding: 0.15em 0; } .rack-device strong { font-size: 0.9em; } .rack-device small { font-size: 0.75em; } diff --git a/templates/rack.html b/templates/rack.html index 0cf32fe..322592a 100644 --- a/templates/rack.html +++ b/templates/rack.html @@ -24,7 +24,7 @@ UFrontUBack {{range $i, $fs := .FrontSlots}} - + {{$fs.Unit}} {{if $fs.IsStart}}