From d87be71fefdaa0e7eb9f8f6b7e669790114590b3 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Wed, 10 Apr 2019 22:20:44 +0300 Subject: [PATCH] Added link to documentation RTFM --- .../cc/ui/src/components/pages/RunMonkeyPage.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js index 10a446787..fd6ba7f2b 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js @@ -271,7 +271,7 @@ class RunMonkeyPageComponent extends AuthComponent { }; - renderAuthAwsDiv() { + renderAwsMachinesDiv() { return (
{ @@ -296,6 +296,11 @@ class RunMonkeyPageComponent extends AuthComponent { { this.state.awsClicked ? : null }
+
+

+ Not sure what this is? Not seeing your AWS EC2 instances? Read the documentation! +

+
) } @@ -415,10 +420,11 @@ class RunMonkeyPageComponent extends AuthComponent { {this.generateCmdDiv()} + /* TODO - How to center this component? */ { this.state.is_loading_aws ?

-

+
{ - // this.state.isAwsAuth ? this.renderAuthAwsDiv() : this.renderNotAuthAwsDiv() - // TODO For now - assume running on machine with the required IAM roles. - This needs to be explained via - // the UI. - this.renderAuthAwsDiv() + this.renderAwsMachinesDiv() }