diff --git a/.travis.yml b/.travis.yml
index c7b12ca86..84c39dd13 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,7 +65,7 @@ script:
- cd monkey_island/cc/ui
- npm ci # See https://docs.npmjs.com/cli/ci.html
- eslint ./src --quiet # Test for errors
-- JS_WARNINGS_AMOUNT_UPPER_LIMIT=490
+- JS_WARNINGS_AMOUNT_UPPER_LIMIT=500
- eslint ./src --max-warnings $JS_WARNINGS_AMOUNT_UPPER_LIMIT # Test for max warnings
after_success:
diff --git a/monkey/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js b/monkey/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js
index d169a1d12..84443ec75 100644
--- a/monkey/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js
+++ b/monkey/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js
@@ -126,8 +126,8 @@ class PreviewPaneComponent extends AuthComponent {
Download Log
- this.downloadLog(asset)}>Download
@@ -145,7 +145,7 @@ class PreviewPaneComponent extends AuthComponent {
Exploit Timeline
{this.generateToolTip('Timeline of exploit attempts. Red is successful. Gray is unsuccessful')}
-
+
{asset.exploits.map(exploit =>
@@ -170,7 +170,7 @@ class PreviewPaneComponent extends AuthComponent {
assetInfo(asset) {
return (
-
+
{this.osRow(asset)}
{this.ipsRow(asset)}
@@ -186,7 +186,7 @@ class PreviewPaneComponent extends AuthComponent {
infectedAssetInfo(asset) {
return (
-
+
{this.osRow(asset)}
{this.statusRow(asset)}
@@ -205,7 +205,7 @@ class PreviewPaneComponent extends AuthComponent {
scanInfo(edge) {
return (
-
+
Operating System
@@ -226,7 +226,7 @@ class PreviewPaneComponent extends AuthComponent {
'' :
Timeline
-
+
{edge.exploits.map(exploit =>
@@ -281,7 +281,7 @@ class PreviewPaneComponent extends AuthComponent {
}
return (
-
+
{!info ?
diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js
index ddea94df8..2472f5adc 100644
--- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js
+++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js
@@ -7,9 +7,9 @@ import {FilePond} from 'react-filepond';
import 'filepond/dist/filepond.min.css';
import ConfigMatrixComponent from '../attack/ConfigMatrixComponent';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
-import {faInfoCircle} from "@fortawesome/free-solid-svg-icons/faInfoCircle";
-import {faCheck} from "@fortawesome/free-solid-svg-icons/faCheck";
-import {faExclamationCircle} from "@fortawesome/free-solid-svg-icons/faExclamationCircle";
+import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
+import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
+import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
const ATTACK_URL = '/api/attack';
const CONFIG_URL = '/api/configuration/island';
@@ -223,14 +223,14 @@ class ConfigurePageComponent extends AuthComponent {
}}>
- Warning
+ Warning
-
+
You have unsubmitted changes. Submit them before proceeding.
-
-
+ {
@@ -459,16 +459,16 @@ class ConfigurePageComponent extends AuthComponent {
onChange={this.onChange}
noValidate={true}
className={'config-form'}>
- Submit
+ Submit
)
};
renderBasicNetworkWarning = () => {
if (this.state.selectedSection === 'basic_network') {
- return (
+ return (
- The Monkey scans its subnet if "Local network scan" is ticked. Additionally the monkey scans machines
+ The Monkey scans its subnet if 'Local network scan' is ticked. Additionally the monkey scans machines
according to its range class.
)
} else {
@@ -477,7 +477,7 @@ class ConfigurePageComponent extends AuthComponent {
};
renderNav = () => {
- return (
{this.renderAttackAlertModal()}
- Monkey Configuration
+ Monkey Configuration
{this.renderNav()}
{content}
-
-
+
+
Submit
-
+
Reset to defaults
-
+
document.getElementById('uploadInputInternal').click()}
- className="btn btn-info btn-lg" style={{margin: '5px'}}>
+ className='btn btn-info btn-lg' style={{margin: '5px'}}>
Import Config
-
-
+
Export config
{this.state.lastAction === 'reset' ?
-
+
Configuration reset successfully.
: ''}
{this.state.lastAction === 'saved' ?
-
+
Configuration saved successfully.
: ''}
{this.state.lastAction === 'import_failure' ?
-
+
Failed importing configuration. Invalid config file.
: ''}
{this.state.lastAction === 'invalid_configuration' ?
-
+
An invalid configuration file was imported or submitted.
: ''}
{this.state.lastAction === 'import_success' ?
-
+
Configuration imported successfully.