Changed Device Status Indicators to Pills

This commit is contained in:
2025-09-05 13:35:29 -06:00
parent 7e66a26dcc
commit 3670b23d2f
2 changed files with 13 additions and 13 deletions

View File

@@ -627,7 +627,7 @@ export default function DeviceDetails({ device, onBack }) {
py: 0.25,
borderRadius: 999,
bgcolor: jobStatusColor(r.status),
color: "#000",
color: "#fff",
fontWeight: 600,
fontSize: "12px"
}}>

View File

@@ -231,18 +231,18 @@ export default function DeviceList({ onSelectDevice }) {
/>
</TableCell>
<TableCell>
<Box sx={{ display: "flex", alignItems: "center" }}>
<Box
component="span"
sx={{
display: "inline-block",
width: 10,
height: 10,
borderRadius: 10,
px: 1.2,
py: 0.25,
borderRadius: 999,
bgcolor: statusColor(r.status),
mr: 1,
color: "#fff",
fontWeight: 600,
fontSize: "12px",
}}
/>
>
{r.status}
</Box>
</TableCell>