aboutsummaryrefslogtreecommitdiffstats
path: root/graphgraph-fe/src/GraphSettingsMenu.js
diff options
context:
space:
mode:
authorPavel Paroulek <pavel.paroulek@orange.com>2019-01-15 18:53:50 +0100
committerPavel Paroulek <pavel.paroulek@orange.com>2019-01-15 18:53:50 +0100
commit58457a8de75959ae07dc09df095d72adc5965a7c (patch)
tree2c90c601d32099a42b33eeab4aa4bcf1e112767f /graphgraph-fe/src/GraphSettingsMenu.js
parent81ff4563106192982aef4abcce91b78d54891247 (diff)
Initial commit
Java dummy backend and frontend Change-Id: I8c5528fcf8a746154e0463e065238061ddf6b877 Issue-ID: AAI-532 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
Diffstat (limited to 'graphgraph-fe/src/GraphSettingsMenu.js')
-rw-r--r--graphgraph-fe/src/GraphSettingsMenu.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphgraph-fe/src/GraphSettingsMenu.js b/graphgraph-fe/src/GraphSettingsMenu.js
new file mode 100644
index 0000000..f30fa29
--- /dev/null
+++ b/graphgraph-fe/src/GraphSettingsMenu.js
@@ -0,0 +1,27 @@
+import React from 'react'
+import GraphSettings from './GraphSettings'
+import { Navbar, FormGroup } from 'react-bootstrap'
+import './GraphSettingsMenu.css'
+
+class GraphSettingsMenu extends React.Component {
+ render () {
+ return (
+ <Navbar className='navbar-adjust'>
+ <Navbar.Header>
+ <Navbar.Brand>
+ <a href="https://gerrit.onap.org/r/gitweb?p=aai/graphgraph.git">GraphGraph</a>
+ </Navbar.Brand>
+ <Navbar.Toggle />
+ </Navbar.Header>
+ <Navbar.Collapse>
+ <Navbar.Form pullLeft>
+ <FormGroup>
+ <GraphSettings graphData={this.props.graphData}/>
+ </FormGroup>{' '}
+ </Navbar.Form>
+ </Navbar.Collapse>
+ </Navbar>)
+ }
+}
+
+export default GraphSettingsMenu