|
|
@ -3,6 +3,7 @@ import { Grid, Switch } from '@material-ui/core'; |
|
|
|
import InnerPanel from './InnerPanel'; |
|
|
|
import InnerPanel from './InnerPanel'; |
|
|
|
import ProgressBar from './ProgressBar'; |
|
|
|
import ProgressBar from './ProgressBar'; |
|
|
|
import { BodyText } from './Text'; |
|
|
|
import { BodyText } from './Text'; |
|
|
|
|
|
|
|
import PanelHeader from './PanelHeader'; |
|
|
|
|
|
|
|
|
|
|
|
const AnvilNode = ({ |
|
|
|
const AnvilNode = ({ |
|
|
|
node, |
|
|
|
node, |
|
|
@ -16,14 +17,18 @@ const AnvilNode = ({ |
|
|
|
(n): JSX.Element => { |
|
|
|
(n): JSX.Element => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<InnerPanel key={n.node_uuid}> |
|
|
|
<InnerPanel key={n.node_uuid}> |
|
|
|
|
|
|
|
<PanelHeader> |
|
|
|
<Grid container alignItems="center" justify="space-around"> |
|
|
|
<Grid container alignItems="center" justify="space-around"> |
|
|
|
<Grid item xs={6}> |
|
|
|
<Grid item xs={7}> |
|
|
|
<BodyText text={`Node: ${n.node_name}`} /> |
|
|
|
<BodyText text={`Node: ${n.node_name}`} /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={3}> |
|
|
|
<Grid item xs={3}> |
|
|
|
<Switch checked /> |
|
|
|
<Switch checked /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={6}> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</PanelHeader> |
|
|
|
|
|
|
|
<Grid container alignItems="center" justify="space-around"> |
|
|
|
|
|
|
|
<Grid item xs={5}> |
|
|
|
<BodyText text={`State: ${n.state}`} /> |
|
|
|
<BodyText text={`State: ${n.state}`} /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={4}> |
|
|
|
<Grid item xs={4}> |
|
|
|