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 - - + Add Component Configuration } > + + + Import Component Configuration } > + +

Dashboards - - + Add Dashboard } > + + + Import Dashboard } > + +
@@ -926,7 +946,12 @@ class Scenario extends React.Component { {/*Result table*/}

Results - + Add Result } > + +

{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 - + Add Scenario } > + + + Import Scenario } > +

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 } > + + + +

@@ -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.closeNewModal(data)} /> this.closeEditModal(data)} user={this.state.modalData} />