Updated things for compound testing
This commit is contained in:
parent
4e6732c09b
commit
5c3f865604
16 changed files with 160 additions and 56 deletions
|
@ -9,8 +9,15 @@ import Stack from "@mui/material/Stack";
|
|||
export default function JobLogView(props) {
|
||||
const { log } = props;
|
||||
|
||||
const LoadingDot = () => (<Skeleton variant="circular" width={16} height={16} sx={{backgroundColor:"rgb(240,240,240)"}}/>)
|
||||
|
||||
const LoadingDot = () => (
|
||||
<Skeleton
|
||||
variant="circular"
|
||||
width={16}
|
||||
height={16}
|
||||
sx={{ backgroundColor: "rgb(240,240,240)" }}
|
||||
/>
|
||||
);
|
||||
|
||||
return (
|
||||
<Box
|
||||
style={{
|
||||
|
@ -21,7 +28,7 @@ export default function JobLogView(props) {
|
|||
}}
|
||||
>
|
||||
{log.map((l, i) => (
|
||||
<Box className="line" key={i} sx={{margin: ".25rem 0px"}}>
|
||||
<Box className="line" key={i} sx={{ margin: ".25rem 0px" }}>
|
||||
<Typography
|
||||
variant="body2"
|
||||
component="div"
|
||||
|
@ -34,8 +41,8 @@ export default function JobLogView(props) {
|
|||
margin: "0px 0.5rem",
|
||||
color: "rgb(210,210,210)",
|
||||
|
||||
justifyContent:"center",
|
||||
minWidth:"2rem"
|
||||
justifyContent: "center",
|
||||
minWidth: "2rem",
|
||||
}}
|
||||
>
|
||||
{i + 1}
|
||||
|
@ -50,10 +57,10 @@ export default function JobLogView(props) {
|
|||
</Typography>
|
||||
</Box>
|
||||
))}
|
||||
<Stack direction="row" spacing={1} sx={{mt:".5rem", ml:"0.75rem"}}>
|
||||
<LoadingDot/>
|
||||
<LoadingDot/>
|
||||
<LoadingDot/>
|
||||
<Stack direction="row" spacing={1} sx={{ mt: ".5rem", ml: "0.75rem" }}>
|
||||
<LoadingDot />
|
||||
<LoadingDot />
|
||||
<LoadingDot />
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue