From 68ffd0814b6c0e86bd594f074013acd4712afa01 Mon Sep 17 00:00:00 2001
From: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
Date: Mon, 3 Jan 2022 18:42:21 -0800
Subject: [PATCH] Rework Tenant Details as two columns (#1360)
* Rework Tenant Details as two columns
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
* remove placeholder
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
---
.../Tenants/TenantDetails/TenantSummary.tsx | 233 ++++++++++--------
1 file changed, 124 insertions(+), 109 deletions(-)
diff --git a/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantSummary.tsx b/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantSummary.tsx
index 1c3871319..7ec0a2e16 100644
--- a/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantSummary.tsx
+++ b/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantSummary.tsx
@@ -24,7 +24,7 @@ import {
containerForHeader,
tenantDetailsStyles,
} from "../../Common/FormComponents/common/styleLibrary";
-import { Box, Button, Stack } from "@mui/material";
+import { Box, Button, Grid, Stack } from "@mui/material";
import Paper from "@mui/material/Paper";
import { niceBytes } from "../../../../common/utils";
import { ITenant } from "../ListTenants/types";
@@ -36,8 +36,8 @@ import AButton from "../../Common/AButton/AButton";
import { styled } from "@mui/styles";
import SummaryUsageBar from "../../Common/UsageBarWrapper/SummaryUsageBar";
import LabelValuePair from "../../Common/UsageBarWrapper/LabelValuePair";
-import StackRow from "../../Common/UsageBarWrapper/StackRow";
import FormSwitchWrapper from "../../Common/FormComponents/FormSwitchWrapper/FormSwitchWrapper";
+import StackRow from "../../Common/UsageBarWrapper/StackRow";
interface ITenantsSummary {
classes: any;
@@ -257,113 +257,128 @@ const TenantSummary = ({
-
-
-
-
-
-
-
- {tenant?.endpoints?.minio || "-"}
-
- }
- />
-
-
-
-
- {
- setUpdateMinioVersion(true);
- }}
- >
- {tenant ? tenant.image : ""}
-
- }
- />
-
-
-
-
- {tenant?.endpoints?.console || "-"}
-
- }
- />
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {
+ setUpdateMinioVersion(true);
+ }}
+ >
+ {tenant ? tenant.image : ""}
+
+ }
+ />
+
+
+
+ {tenant?.endpoints?.minio || "-"}
+
+ }
+ />
+
+
+
+ {tenant?.endpoints?.console || "-"}
+
+ }
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+