From 1011e731afda63208a02b43b6c1907aaaab2336d Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Tue, 17 Oct 2017 11:17:41 +0300 Subject: [PATCH] Improve modal boxes --- .../cc/ui/src/components/pages/MapPage.js | 28 ++++++++++--------- .../ui/src/components/pages/StartOverPage.js | 26 +++++++++-------- 2 files changed, 29 insertions(+), 25 deletions(-) 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...

- - +
+ + +
) 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 { :
} - - +
+ + +
)