diff --git a/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey_island/cc/ui/src/components/pages/MapPage.js index 351ed8bcf..f3f3630a7 100644 --- a/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -134,21 +134,23 @@ class MapPageComponent extends React.Component { return ( this.setState({showKillDialog: false})}> this.setState({showKillDialog: false})}> - Kill all monkeys + Are you sure you want to kill all monkeys? - Are you sure you want to kill all monkeys? + This might take a few moments... - { - this.killAllMonkeys(); - this.setState({showKillDialog: false}); - }}> - Kill all monkeys - - this.setState({showKillDialog: false})}> - Cancel - + + { + this.killAllMonkeys(); + this.setState({showKillDialog: false}); + }}> + Kill all monkeys + + this.setState({showKillDialog: false})}> + Cancel + + ) diff --git a/monkey_island/cc/ui/src/components/pages/StartOverPage.js b/monkey_island/cc/ui/src/components/pages/StartOverPage.js index 4c3ae8fb4..20b355cec 100644 --- a/monkey_island/cc/ui/src/components/pages/StartOverPage.js +++ b/monkey_island/cc/ui/src/components/pages/StartOverPage.js @@ -33,7 +33,7 @@ class StartOverPageComponent extends React.Component { return ( this.setState({showCleanDialog: false})}> this.setState({showCleanDialog: false})}> - Reset environment + Reset environment Are you sure you want to reset the environment? @@ -46,17 +46,19 @@ class StartOverPageComponent extends React.Component { : } - { - this.cleanup(); - this.setState({showCleanDialog: false}); - }}> - Reset environment - - this.setState({showCleanDialog: false})}> - Cancel - + + { + this.cleanup(); + this.setState({showCleanDialog: false}); + }}> + Reset environment + + this.setState({showCleanDialog: false})}> + Cancel + + )
- Are you sure you want to kill all monkeys? + This might take a few moments...
Are you sure you want to reset the environment?