diff --git a/src/common/dialogs/delete-dialog.js b/src/common/dialogs/delete-dialog.js
index a4499e5..8bc39a1 100644
--- a/src/common/dialogs/delete-dialog.js
+++ b/src/common/dialogs/delete-dialog.js
@@ -16,8 +16,7 @@
******************************************************************************/
import React from 'react';
-import { Button, Modal, FormLabel } from 'react-bootstrap';
-import {Collapse} from 'react-collapse';
+import { Button, Modal, Form } from 'react-bootstrap';
class DeleteDialog extends React.Component {
onModalKeyPress = (event) => {
@@ -37,7 +36,7 @@ class DeleteDialog extends React.Component {
Are you sure you want to delete the {this.props.title} '{this.props.name}'?
- The IC will be deleted if the respective manager sends "gone" state and no component config is using the IC anymore
+ The IC will be deleted if the respective manager sends "gone" state and no component config is using the IC anymore
diff --git a/src/common/editable-header.js b/src/common/editable-header.js
index a10b48d..03a666a 100644
--- a/src/common/editable-header.js
+++ b/src/common/editable-header.js
@@ -17,7 +17,7 @@
// TODO remove this file (not used!)
import React from 'react';
import PropTypes from 'prop-types';
-import { FormControl, Button } from 'react-bootstrap';
+import { Form, Button } from 'react-bootstrap';
import Icon from './icon';
class EditableHeader extends React.Component {
@@ -79,12 +79,25 @@ class EditableHeader extends React.Component {
};
return
-
+
+
-
-
+
+
;
}
diff --git a/src/componentconfig/edit-config.js b/src/componentconfig/edit-config.js
index 2277331..37a2a3e 100644
--- a/src/componentconfig/edit-config.js
+++ b/src/componentconfig/edit-config.js
@@ -16,8 +16,7 @@
******************************************************************************/
import React from 'react';
-import {FormGroup, FormControl, FormLabel} from 'react-bootstrap';
-import { Multiselect } from 'multiselect-react-dropdown'
+import { Form } from 'react-bootstrap';
import Dialog from '../common/dialogs/dialog';
import ParametersEditor from '../common/parameters-editor';
@@ -141,29 +140,29 @@ class EditConfigDialog extends React.Component {
onReset={() => this.resetState()}
valid={this.valid}
>
-
+
-
- Infrastructure Component
-
+ Infrastructure Component
+ this.handleChange(e)}
>
{ICOptions}
-
-
+
+
-
- Start Parameters
+
+ Start Parameters this.handleParameterChange(data)}
/>
-
-
+
+
);
}
diff --git a/src/componentconfig/import-config.js b/src/componentconfig/import-config.js
index b11a69e..2b69d9a 100644
--- a/src/componentconfig/import-config.js
+++ b/src/componentconfig/import-config.js
@@ -16,7 +16,7 @@
******************************************************************************/
import React from 'react';
-import { FormGroup, FormControl, FormLabel } from 'react-bootstrap';
+import { Form } from 'react-bootstrap';
import Dialog from '../common/dialogs/dialog';
@@ -102,15 +102,15 @@ class ImportConfigDialog extends React.Component {
onClose={(c) => this.onClose(c)}
onReset={() => this.resetState()}
valid={this.valid} >
-
+ Component Configuration File
+
+
-
- Name
-
+ Name
+ this.handleChange(e)}
/>
-
-
-
+
+
+
);
}
diff --git a/src/dashboard/edit-dashboard.js b/src/dashboard/edit-dashboard.js
index 2df61bf..42b5230 100644
--- a/src/dashboard/edit-dashboard.js
+++ b/src/dashboard/edit-dashboard.js
@@ -16,7 +16,7 @@
******************************************************************************/
import React from 'react';
-import { FormGroup, FormControl, FormLabel } from 'react-bootstrap';
+import { Form } from 'react-bootstrap';
import Dialog from '../common/dialogs/dialog';
@@ -71,14 +71,21 @@ class EditDashboardDialog extends React.Component {
render() {
return (
-
);
}
diff --git a/src/dashboard/new-dashboard.js b/src/dashboard/new-dashboard.js
index a023ba4..5cc8a3e 100644
--- a/src/dashboard/new-dashboard.js
+++ b/src/dashboard/new-dashboard.js
@@ -16,7 +16,7 @@
******************************************************************************/
import React from 'react';
-import { FormGroup, FormControl, FormLabel } from 'react-bootstrap';
+import { Form } from 'react-bootstrap';
import Dialog from '../common/dialogs/dialog';
@@ -67,14 +67,21 @@ class NewDashboardDialog extends React.Component {
render() {
return (
- this.onClose(c)} onReset={() => this.resetState()} valid={this.valid}>
-
+ this.onClose(c)}
+ onReset={() => this.resetState()}
+ valid={this.valid}
+ >
+
+ Name
+ this.handleChange(e)} />
+
+
+
);
}
diff --git a/src/file/edit-file-content.js b/src/file/edit-file-content.js
index 34a142e..7f9534d 100644
--- a/src/file/edit-file-content.js
+++ b/src/file/edit-file-content.js
@@ -16,7 +16,7 @@
******************************************************************************/
import React from 'react';
-import {FormGroup, FormControl, Button, Col} from 'react-bootstrap';
+import { Form, Button, Col } from 'react-bootstrap';
import AppDispatcher from "../common/app-dispatcher";
import Dialog from '../common/dialogs/dialog';
@@ -28,7 +28,6 @@ class EditFileContent extends React.Component {
this.state = {
uploadFile: null,
-
};
}
@@ -50,31 +49,33 @@ class EditFileContent extends React.Component {
this.setState({ uploadFile: null });
};
-
onClose = () => {
this.props.onClose();
};
-
-
-
render() {
- return this.onClose()} blendOutCancel = {true} valid={true}>
-
- this.onClose()}
+ blendOutCancel = {true}
+ valid={true}
+ >
+
+ this.selectUploadFile(event)} />
-
+
-
+
-
-
+
;
}
}
diff --git a/src/file/edit-files.js b/src/file/edit-files.js
index 41d34cf..4058888 100644
--- a/src/file/edit-files.js
+++ b/src/file/edit-files.js
@@ -16,7 +16,7 @@
******************************************************************************/
import React from 'react';
-import {FormGroup, FormControl, Button, Col, ProgressBar} from 'react-bootstrap';
+import { Form, Button, Col, ProgressBar } from 'react-bootstrap';
import Dialog from '../common/dialogs/dialog';
import AppDispatcher from "../common/app-dispatcher";
import Table from "../common/table";
@@ -107,76 +107,81 @@ class EditFilesDialog extends React.Component {
};
return (
- this.onClose()} blendOutCancel = {true} valid={true} size = 'lg'>
-
{this.props.managers.length > 0 ?
<>
-
+ An externally managed component is created and managed by an IC manager via AMQP} >
- this.handleChange(e)}>
-
+ this.handleChange(e)}>
+
-
+
{this.state.managedexternally === true ?
-
+ Required field } >
- Manager to create new IC *
+ Manager to create new IC *
- this.handleChange(e)}>
+ this.handleChange(e)}>
{managerOptions}
-
-
+
+
:
}
>
:
}
-
+ Required field } >
- Name *
+ Name *
- this.handleChange(e)} />
-
-
+