+
+
+
+ {name}
+
+ {link}
+
+
+
-
- SP Error
-
+ {endpoint}
- )}
-
- {name && (
-
- {endpoint}
-
- )}
-
+
+ |
+
+ {meta ? formatBytes(meta.FreeReadQuota) : '--'}
+ |
+
+ {meta ? meta.Latency + 'ms' : '--'}
+ |
+
);
}
+
+const A = styled.a`
+ :hover {
+ color: #00ba34;
+ }
+ margin-left: 4px;
+`;
+
+const TH = styled(Box)`
+ padding: 8px;
+ &:first-of-type {
+ padding-left: 12px;
+ padding-right: 12px;
+ }
+ svg {
+ color: #aeb4bc;
+ :hover {
+ color: #76808f;
+ }
+ }
+`;
+
+const TD = styled(Box, transientOptions)<{ $dot?: number }>`
+ position: relative;
+ padding: 8px;
+ font-size: 14px;
+ font-weight: 400;
+ &:first-of-type {
+ padding-left: 32px;
+ }
+
+ ${(props) =>
+ props.$dot &&
+ css`
+ :before {
+ position: relative;
+ top: -1px;
+ margin-right: 4px;
+ display: inline-flex;
+ content: '';
+ width: 8px;
+ height: 8px;
+ border-radius: 100%;
+
+ background-color: ${props.$dot < 100
+ ? '#00BA34'
+ : props.$dot < 200
+ ? '#EEBE11'
+ : '#EE3911'};
+ }
+ `}
+`;
diff --git a/apps/dcellar-web-ui/src/modules/buckets/List/components/TableList.tsx b/apps/dcellar-web-ui/src/modules/buckets/List/components/TableList.tsx
index 4455ee47..b93b1581 100644
--- a/apps/dcellar-web-ui/src/modules/buckets/List/components/TableList.tsx
+++ b/apps/dcellar-web-ui/src/modules/buckets/List/components/TableList.tsx
@@ -45,13 +45,13 @@ export const TableList = memo(() => {
const columns = React.useMemo