File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,12 @@ import './App.css';
3
3
import 'bootstrap/dist/css/bootstrap.min.css' ;
4
4
import Dashboard from './components/Dashboard' ;
5
5
import Header from './components/Header' ;
6
- import { Container } from 'react-bootstrap' ;
7
6
8
7
function App ( ) {
9
8
return (
10
9
< >
11
10
< Header />
12
- < Container >
13
- < Dashboard />
14
- </ Container >
11
+ < Dashboard />
15
12
</ >
16
13
) ;
17
14
}
Original file line number Diff line number Diff line change @@ -17,9 +17,18 @@ const ScanList = ({ list }) => {
17
17
< >
18
18
< h2 > Security Scan Results</ h2 >
19
19
< Accordion >
20
+ < Card bg = "primary" text = "white" >
21
+ < Card . Header >
22
+ < Row >
23
+ < Col sm = { 3 } > Name</ Col >
24
+ < Col sm = { 3 } > Status</ Col >
25
+ < Col sm = { 5 } > Timestamp</ Col >
26
+ </ Row >
27
+ </ Card . Header >
28
+ </ Card >
20
29
{ list . map ( ( scan , index ) => (
21
30
< Card key = { index } >
22
- < Accordion . Toggle as = { Card . Header } eventKey = { index } >
31
+ < Accordion . Toggle style = { { cursor : 'pointer' } } as = { Card . Header } eventKey = { index } >
23
32
< Row >
24
33
< Col sm = { 3 } > { scan . repositoryName } </ Col >
25
34
< Col sm = { 3 } > { scan . status } </ Col >
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ services:
25
25
- /app/node_modules
26
26
- ./dashboard:/app
27
27
postgres :
28
+ restart : always
28
29
container_name : postgres
29
30
image : ' postgres:latest'
30
31
ports :
You can’t perform that action at this time.
0 commit comments