From 45f184509d9bf7bf17b9600bc25d945ea809e2ba Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 28 Nov 2023 17:14:09 -0500 Subject: [PATCH] fix(striker-ui): restyle mono texts in provision server confirm --- .../components/ProvisionServerDialog.tsx | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/striker-ui/components/ProvisionServerDialog.tsx b/striker-ui/components/ProvisionServerDialog.tsx index 2ea6d39e..8c674ec7 100644 --- a/striker-ui/components/ProvisionServerDialog.tsx +++ b/striker-ui/components/ProvisionServerDialog.tsx @@ -1342,9 +1342,9 @@ const ProvisionServerDialog = ({ }; const createConfirmDialogContent = () => { - const gridColumns = 8; + const gridColumns = 10; const c1 = 2; - const c2 = 3; + const c2 = 5; const c3 = 3; const c2n3 = c2 + c3; @@ -1366,12 +1366,14 @@ const ProvisionServerDialog = ({ - core(s) + {inputCPUCoresValue}{' '} + core(s) - core(s) available + {inputCPUCoresMax}{' '} + core(s) available @@ -1381,14 +1383,16 @@ const ProvisionServerDialog = ({ - + {inputMemoryValue} {inputMemoryUnit} - {' '} + + {inputMemoryMax} {inputMemoryUnit} + {' '} available @@ -1417,13 +1421,17 @@ const ProvisionServerDialog = ({ - on{' '} - {vdStorageGroupName} + + {vdInputSize} {vdInputUnit} + {' '} + on {vdStorageGroupName} - {' '} + + {vdInputMax} {vdInputUnit} + {' '} available @@ -1436,7 +1444,7 @@ const ProvisionServerDialog = ({ - + {fileUUIDMapToData[inputInstallISOFileUUID].fileName} @@ -1449,7 +1457,7 @@ const ProvisionServerDialog = ({ {fileUUIDMapToData[inputDriverISOFileUUID] ? ( - + {fileUUIDMapToData[inputDriverISOFileUUID].fileName} ) : ( @@ -1463,7 +1471,9 @@ const ProvisionServerDialog = ({ - + + {`${inputOptimizeForOSValue?.label}`} +