diff options
Diffstat (limited to 'src/components/ScanDetail.js')
| -rw-r--r-- | src/components/ScanDetail.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/components/ScanDetail.js b/src/components/ScanDetail.js index dfc6722..f818710 100644 --- a/src/components/ScanDetail.js +++ b/src/components/ScanDetail.js @@ -1,6 +1,7 @@ import React from "react"; import Alert from "@mui/material/Alert"; +import Button from "@mui/material/Button"; import Card from "@mui/material/Card"; class ScanDetail extends React.Component { @@ -51,7 +52,21 @@ class ScanDetail extends React.Component { <h2>Custom info</h2> <Custom {...this.props.custom_data} /> - <h2>Latest scan | {this.props.timestamp_in_utc}</h2> + <h2 + style={{ + display: "flex", + justifyContent: "space-between" + }} + > + <div> + Latest scan: + {this.props.timestamp_in_utc} + </div> + <div> + <Button variant="contained">Re-scan</Button> + </div> + </h2> + <div id="cves"> {this.props.result .sort((a, b) => (a.vulnerable ? -1 : 1)) |
