minor tweaks

This commit is contained in:
Olivier Gagnon 2021-09-18 01:06:37 -04:00
parent 244e669b2b
commit 549c8b61db

@ -82,7 +82,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
<TableBody> <TableBody>
<TableRow> <TableRow>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>Threads:</Typography> <Typography> Threads:</Typography>
</TableCell> </TableCell>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>{numeralWrapper.formatThreads(props.workerScript.scriptRef.threads)}</Typography> <Typography>{numeralWrapper.formatThreads(props.workerScript.scriptRef.threads)}</Typography>
@ -90,12 +90,12 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell className={classes.noborder} colSpan={2}> <TableCell className={classes.noborder} colSpan={2}>
<Typography>Args: {arrayToString(props.workerScript.args)}</Typography> <Typography> Args: {arrayToString(props.workerScript.args)}</Typography>
</TableCell> </TableCell>
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>Online Time:</Typography> <Typography> Online Time:</Typography>
</TableCell> </TableCell>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>{convertTimeMsToTimeElapsedString(scriptRef.onlineRunningTime * 1e3)}</Typography> <Typography>{convertTimeMsToTimeElapsedString(scriptRef.onlineRunningTime * 1e3)}</Typography>
@ -103,7 +103,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>Offline Time:</Typography> <Typography> Offline Time:</Typography>
</TableCell> </TableCell>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>{convertTimeMsToTimeElapsedString(scriptRef.offlineRunningTime * 1e3)}</Typography> <Typography>{convertTimeMsToTimeElapsedString(scriptRef.offlineRunningTime * 1e3)}</Typography>
@ -111,7 +111,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>Total online production:</Typography> <Typography> Total online production:</Typography>
</TableCell> </TableCell>
<TableCell className={classes.noborder} align="left"> <TableCell className={classes.noborder} align="left">
<Typography> <Typography>
@ -128,7 +128,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
<TableRow> <TableRow>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>Online production rate:</Typography> <Typography> Online production rate:</Typography>
</TableCell> </TableCell>
<TableCell className={classes.noborder} align="left"> <TableCell className={classes.noborder} align="left">
<Typography> <Typography>
@ -145,7 +145,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
<TableRow> <TableRow>
<TableCell className={classes.noborder}> <TableCell className={classes.noborder}>
<Typography>Total offline production:</Typography> <Typography> Total offline production:</Typography>
</TableCell> </TableCell>
<TableCell className={classes.noborder} align="left"> <TableCell className={classes.noborder} align="left">
<Typography> <Typography>