diff --git a/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index f24c76f53..cc8118b17 100644 --- a/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -122,26 +122,37 @@ class ConfigurePageComponent extends React.Component {
+ onChange={this.onChange}> +
+
+ + This configuration will only apply to new infections. +
+
+ + +
+ { this.state.reset ? +
+ + Configuration reset successfully. +
+ : ''} + { this.state.saved ? +
+ + Configuration saved successfully. +
+ : ''} +
+ : ''} - Reset to defaults -
- - This configuration will only apply to new infections. -
- { this.state.reset ? -
- - Configuration reset successfully. -
- : ''} - { this.state.saved ? -
- - Configuration saved successfully. -
- : ''} + ); } diff --git a/monkey_island/cc/ui/src/components/pages/StartOverPage.js b/monkey_island/cc/ui/src/components/pages/StartOverPage.js index 26b404137..6ecb2cc69 100644 --- a/monkey_island/cc/ui/src/components/pages/StartOverPage.js +++ b/monkey_island/cc/ui/src/components/pages/StartOverPage.js @@ -27,8 +27,8 @@ class StartOverPageComponent extends React.Component { Reset Environment

{ this.state.cleaned ? -
- +
+ Environment was reset successfully
: ''}