From 51e6b4983024adc47e1aa3229b5a265582f90711 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 7 Mar 2026 04:48:34 +0000 Subject: [PATCH] Make table view full-width and add fixed column layout --- frontend/src/App.jsx | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 1c08824..a5c5f95 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -261,11 +261,26 @@ function TableView({ enclosure, onSelect, selectedSerial, t }) { const populated = enclosure.slots.filter((s) => s.populated); return (
- +
+ + + + + + + + + + + + + + + {["Slot", "Device", "Model", "Serial", "WWN", "FW", "Capacity", "Pool", "Vdev", "ZFS State", "Temp", "Hours", "Health"].map((h) => ( - + ))} @@ -287,13 +302,13 @@ function TableView({ enclosure, onSelect, selectedSerial, t }) { onMouseEnter={(e) => { if (!isSelected) e.currentTarget.style.background = t.tableRowHover; }} onMouseLeave={(e) => { if (!isSelected) e.currentTarget.style.background = "transparent"; }} > - - - - - - - + + + + + + +
{h}{h}
{slot.slot}{slot.device}{d.model}{d.serial}{d.wwn}{d.firmware}{formatCapacity(d.capacity_bytes)}{slot.slot}{slot.device}{d.model}{d.serial}{d.wwn}{d.firmware}{formatCapacity(d.capacity_bytes)} {d.zfs_pool ? ( -
+
{/* Header */}