File tree Expand file tree Collapse file tree 2 files changed +29
-27
lines changed
src/client/src/pages/Admin Expand file tree Collapse file tree 2 files changed +29
-27
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,15 @@ export default function Admin(props) {
119
119
</ Backdrop >
120
120
: < Paper elevation = { 1 } style = { { "padding" : "2em" } } >
121
121
{ statistics === 'Running' && < Alert severity = "info" > Execution is in Progress...</ Alert > }
122
-
123
- < Grid container item spacing = { 5 } direction = "row" style = { { padding : 20 } } >
122
+ < Box
123
+ display = "flex"
124
+ justifyContent = "space-between"
125
+ flexDirection = "row"
126
+ style = { { padding : 20 } }
127
+ >
124
128
< UploadBox filesInput = { filesInput } handleUpload = { handleUpload } lastUploads = { lastUploads } />
125
129
< AnalysisBox handleExecute = { handleExecute } lastExecution = { lastExecution } statistics = { statistics } />
126
- </ Grid >
130
+ </ Box >
127
131
</ Paper >
128
132
}
129
133
</ Container >
Original file line number Diff line number Diff line change @@ -14,30 +14,28 @@ export default function AnalysisBox(props) {
14
14
15
15
return (
16
16
< Grid container item direction = "column" spacing = { 3 } sm = { 6 } >
17
- < Grid item >
18
- < Paper >
19
- < CardContent >
20
- < Typography variant = "h5" style = { { paddingBottom : 5 } } >
21
- Run New Analysis
22
- </ Typography >
23
- < form onSubmit = { handleExecute } >
24
- < Button
25
- type = "submit"
26
- variant = "contained"
27
- color = "primary"
28
- >
29
- Run Data Analysis
30
- </ Button >
31
- </ form >
32
- </ CardContent >
33
- { ! _ . isEmpty ( statistics ) && (
34
- < AnalysisTable
35
- lastExecution = { lastExecution }
36
- tableData = { statistics }
37
- />
38
- ) }
39
- </ Paper >
40
- </ Grid >
17
+ < Paper >
18
+ < CardContent >
19
+ < Typography variant = "h5" style = { { paddingBottom : 5 } } >
20
+ Run New Analysis
21
+ </ Typography >
22
+ < form onSubmit = { handleExecute } >
23
+ < Button
24
+ type = "submit"
25
+ variant = "contained"
26
+ color = "primary"
27
+ >
28
+ Run Data Analysis
29
+ </ Button >
30
+ </ form >
31
+ </ CardContent >
32
+ { ! _ . isEmpty ( statistics ) && (
33
+ < AnalysisTable
34
+ lastExecution = { lastExecution }
35
+ tableData = { statistics }
36
+ />
37
+ ) }
38
+ </ Paper >
41
39
</ Grid >
42
40
) ;
43
41
}
You can’t perform that action at this time.
0 commit comments