|
|
@ -36,7 +36,7 @@ import { |
|
|
|
InputTestBatches, |
|
|
|
InputTestBatches, |
|
|
|
TestInputFunction, |
|
|
|
TestInputFunction, |
|
|
|
} from '../types/TestInputFunction'; |
|
|
|
} from '../types/TestInputFunction'; |
|
|
|
import { BodyText, HeaderText, Monospace } from './Text'; |
|
|
|
import { BodyText, HeaderText, InlineMonoText } from './Text'; |
|
|
|
|
|
|
|
|
|
|
|
type InputMessage = Partial<Pick<MessageBoxProps, 'type' | 'text'>>; |
|
|
|
type InputMessage = Partial<Pick<MessageBoxProps, 'type' | 'text'>>; |
|
|
|
|
|
|
|
|
|
|
@ -1355,9 +1355,11 @@ const ProvisionServerDialog = ({ |
|
|
|
<Grid container columns={gridColumns} direction="column"> |
|
|
|
<Grid container columns={gridColumns} direction="column"> |
|
|
|
<Grid direction="row" item xs={gridColumns}> |
|
|
|
<Grid direction="row" item xs={gridColumns}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
Server <Monospace text={inputServerNameValue} /> will be created on |
|
|
|
Server <InlineMonoText text={inputServerNameValue} /> will be |
|
|
|
anvil node pair{' '} |
|
|
|
created on anvil node pair{' '} |
|
|
|
<Monospace text={anvilUUIDMapToData[inputAnvilValue].anvilName} />{' '} |
|
|
|
<InlineMonoText |
|
|
|
|
|
|
|
text={anvilUUIDMapToData[inputAnvilValue].anvilName} |
|
|
|
|
|
|
|
/>{' '} |
|
|
|
with the following properties: |
|
|
|
with the following properties: |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
@ -1367,12 +1369,12 @@ const ProvisionServerDialog = ({ |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c2}> |
|
|
|
<Grid item xs={c2}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
<Monospace text={inputCPUCoresValue} /> core(s) |
|
|
|
<InlineMonoText text={inputCPUCoresValue} /> core(s) |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c3}> |
|
|
|
<Grid item xs={c3}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
<Monospace text={inputCPUCoresMax} /> core(s) available |
|
|
|
<InlineMonoText text={inputCPUCoresMax} /> core(s) available |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
@ -1381,11 +1383,11 @@ const ProvisionServerDialog = ({ |
|
|
|
<BodyText text="Memory" /> |
|
|
|
<BodyText text="Memory" /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c2}> |
|
|
|
<Grid item xs={c2}> |
|
|
|
<Monospace text={`${inputMemoryValue} ${inputMemoryUnit}`} /> |
|
|
|
<InlineMonoText text={`${inputMemoryValue} ${inputMemoryUnit}`} /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c3}> |
|
|
|
<Grid item xs={c3}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
<Monospace text={`${inputMemoryMax} ${inputMemoryUnit}`} />{' '} |
|
|
|
<InlineMonoText text={`${inputMemoryMax} ${inputMemoryUnit}`} />{' '} |
|
|
|
available |
|
|
|
available |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
@ -1409,18 +1411,19 @@ const ProvisionServerDialog = ({ |
|
|
|
> |
|
|
|
> |
|
|
|
<Grid item xs={c1}> |
|
|
|
<Grid item xs={c1}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
Virtual disk <Monospace text={vdIndex} /> |
|
|
|
Virtual disk <InlineMonoText text={vdIndex} /> |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c2}> |
|
|
|
<Grid item xs={c2}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
<Monospace text={`${vdInputSize} ${vdInputUnit}`} /> on{' '} |
|
|
|
<InlineMonoText text={`${vdInputSize} ${vdInputUnit}`} /> on{' '} |
|
|
|
{vdStorageGroupName} |
|
|
|
{vdStorageGroupName} |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c3}> |
|
|
|
<Grid item xs={c3}> |
|
|
|
<BodyText> |
|
|
|
<BodyText> |
|
|
|
<Monospace text={`${vdInputMax} ${vdInputUnit}`} /> available |
|
|
|
<InlineMonoText text={`${vdInputMax} ${vdInputUnit}`} />{' '} |
|
|
|
|
|
|
|
available |
|
|
|
</BodyText> |
|
|
|
</BodyText> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
@ -1431,7 +1434,7 @@ const ProvisionServerDialog = ({ |
|
|
|
<BodyText text="Install ISO" /> |
|
|
|
<BodyText text="Install ISO" /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c2n3}> |
|
|
|
<Grid item xs={c2n3}> |
|
|
|
<Monospace |
|
|
|
<InlineMonoText |
|
|
|
text={fileUUIDMapToData[inputInstallISOFileUUID].fileName} |
|
|
|
text={fileUUIDMapToData[inputInstallISOFileUUID].fileName} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
@ -1442,7 +1445,7 @@ const ProvisionServerDialog = ({ |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={c2n3}> |
|
|
|
<Grid item xs={c2n3}> |
|
|
|
{fileUUIDMapToData[inputDriverISOFileUUID] ? ( |
|
|
|
{fileUUIDMapToData[inputDriverISOFileUUID] ? ( |
|
|
|
<Monospace |
|
|
|
<InlineMonoText |
|
|
|
text={fileUUIDMapToData[inputDriverISOFileUUID].fileName} |
|
|
|
text={fileUUIDMapToData[inputDriverISOFileUUID].fileName} |
|
|
|
/> |
|
|
|
/> |
|
|
|
) : ( |
|
|
|
) : ( |
|
|
|