diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/StartOverModal.js b/monkey/monkey_island/cc/ui/src/components/ui-components/StartOverModal.js new file mode 100644 index 000000000..057d45779 --- /dev/null +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/StartOverModal.js @@ -0,0 +1,45 @@ +import {Modal} from "react-bootstrap"; +import Modal from "react-bootstrap/es/Modal"; +import ReactComponent from "react"; +import AuthComponent from "../AuthComponent"; + + +class StartOverModal extends ReactComponent { + render = () => { + return ( + this.setState({showCleanDialog: false})}> + +

+
Reset environment
+

+

+ Are you sure you want to reset the environment? +

+ { + !this.state.allMonkeysAreDead ? +
+ + Some monkeys are still running. It's advised to kill all monkeys before resetting. +
+ : +
+ } +
+ + +
+ + + ) + + }; +}