SessionSummary update

master
Tudor Stanciu 2020-05-12 02:54:53 +03:00
parent e0cb726a69
commit 1b15ef7453
1 changed files with 17 additions and 2 deletions

View File

@ -30,11 +30,11 @@ const SessionSummary = ({ session }) => {
return (
<>
<Grid container className={classes.miniContainer}>
<Grid item xs={12} sm={3} md={3}>
<Grid item xs={12} sm={5} md={5}>
{"Session: "}
<span className={classes.value}>{session.sessionId}</span>
</Grid>
<Grid item xs={12} sm={3} md={3}>
<Grid item xs={12} sm={2} md={2}>
{"Active: "}
{session.active ? (
<GreenCheckbox checked={true} disabled />
@ -46,6 +46,21 @@ const SessionSummary = ({ session }) => {
{"Start date: "}
<span className={classes.value}>{session.startDate}</span>
</Grid>
<Grid item xs={12} sm={3} md={3}>
{"Stop date: "}
<span className={classes.value}>{session.stopDate || "---"}</span>
</Grid>
<Grid item xs={12} sm={3} md={3}>
{"Running time: "}
<span className={classes.value}>{session.runningTime}</span>
</Grid>
<Grid item xs={12} sm={3} md={3}>
{"Host: "}
<span className={classes.value}>{session.hostName}</span>
</Grid>
</Grid>
</>
);