diff --git a/src/ic/ics.js b/src/ic/ics.js
index 0144b5d..2bfea75 100644
--- a/src/ic/ics.js
+++ b/src/ic/ics.js
@@ -17,7 +17,7 @@
import React, { Component } from 'react';
import { Container } from 'flux/utils';
-import { Button, Badge } from 'react-bootstrap';
+import {Button, Badge, Tooltip, OverlayTrigger} from 'react-bootstrap';
import FileSaver from 'file-saver';
import _ from 'lodash';
import moment from 'moment'
@@ -388,10 +388,20 @@ class InfrastructureComponents extends Component {
Infrastructure Components
{this.state.currentUser.role === "Admin" ?
(
- )
:
( )
diff --git a/src/scenario/scenario.js b/src/scenario/scenario.js
index e65b2e6..01045fe 100644
--- a/src/scenario/scenario.js
+++ b/src/scenario/scenario.js
@@ -800,8 +800,18 @@ class Scenario extends React.Component {
{/*Component Configurations table*/}
Component Configurations
- this.addConfig()} style={buttonStyle}>
- this.setState({ importConfigModal: true })} style={buttonStyle}>
+ Add Component Configuration } >
+ this.addConfig()} style={buttonStyle}>
+
+ Import Component Configuration } >
+ this.setState({ importConfigModal: true })} style={buttonStyle}>
+
Dashboards
- this.setState({ newDashboardModal: true })} style={buttonStyle}>
- this.setState({ importDashboardModal: true })} style={buttonStyle}>
+ Add Dashboard } >
+ this.setState({ newDashboardModal: true })} style={buttonStyle}>
+
+ Import Dashboard } >
+ this.setState({ importDashboardModal: true })} style={buttonStyle}>
+
@@ -926,7 +946,12 @@ class Scenario extends React.Component {
{/*Result table*/}
Results
- this.setState({ newResultModal: true })} style={buttonStyle}>
+ Add Result } >
+ this.setState({ newResultModal: true })} style={buttonStyle}>
+
{resulttable}
this.closeNewResultModal(data)} />
diff --git a/src/scenario/scenarios.js b/src/scenario/scenarios.js
index fb56da6..8158af8 100644
--- a/src/scenario/scenarios.js
+++ b/src/scenario/scenarios.js
@@ -17,7 +17,7 @@
import React, { Component } from 'react';
import { Container } from 'flux/utils';
-import { Button } from 'react-bootstrap';
+import {Button, OverlayTrigger, Tooltip} from 'react-bootstrap';
import FileSaver from 'file-saver';
import AppDispatcher from '../common/app-dispatcher';
@@ -242,8 +242,18 @@ class Scenarios extends Component {
return (
Scenarios
- this.setState({ newModal: true })} style={buttonStyle}>
+ Add Scenario } >
+ this.setState({ newModal: true })} style={buttonStyle}>
+
+ Import Scenario } >
this.setState({ importModal: true })} style={buttonStyle}>
+
diff --git a/src/user/users.js b/src/user/users.js
index af4fbaa..d577462 100644
--- a/src/user/users.js
+++ b/src/user/users.js
@@ -17,7 +17,7 @@
import React, { Component } from 'react';
import { Container } from 'flux/utils';
-import { Button } from 'react-bootstrap';
+import {Button, OverlayTrigger, Tooltip} from 'react-bootstrap';
import AppDispatcher from '../common/app-dispatcher';
import UsersStore from './users-store';
@@ -130,9 +130,22 @@ class Users extends Component {
render() {
+ const buttonStyle = {
+ marginLeft: '10px'
+ };
+
return (
-
Users
+
Users
+
+ Add User } >
+ this.setState({ newModal: true })}>
+
+
+
@@ -143,7 +156,7 @@ class Users extends Component {
this.setState({ editModal: true, modalData: this.state.users[index] })} onDelete={index => this.setState({ deleteModal: true, modalData: this.state.users[index] })} />
-
this.setState({ newModal: true })}> User
+
this.closeNewModal(data)} />
this.closeEditModal(data)} user={this.state.modalData} />