blob: ce962f33876c6d6bf3830188f0014cf7384cd0d2 [file] [log] [blame]
xg353y065c6a92019-06-25 12:23:28 +02001/*-
2 * ============LICENSE_START=======================================================
3 * ONAP CLAMP
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights
6 * reserved.
7 * ================================================================================
xuegao19e628c2019-06-27 17:41:01 +02008 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
xg353y065c6a92019-06-25 12:23:28 +020010 * You may obtain a copy of the License at
xuegao19e628c2019-06-27 17:41:01 +020011 *
xg353y065c6a92019-06-25 12:23:28 +020012 * http://www.apache.org/licenses/LICENSE-2.0
xuegao19e628c2019-06-27 17:41:01 +020013 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
xg353y065c6a92019-06-25 12:23:28 +020018 * limitations under the License.
19 * ============LICENSE_END============================================
20 * ===================================================================
xuegao19e628c2019-06-27 17:41:01 +020021 *
xg353y065c6a92019-06-25 12:23:28 +020022 */
23import React from 'react';
24import Navbar from 'react-bootstrap/Navbar';
xg353y065c6a92019-06-25 12:23:28 +020025import NavDropdown from 'react-bootstrap/NavDropdown';
xuegao19e628c2019-06-27 17:41:01 +020026import 'bootstrap-css-only/css/bootstrap.min.css';
xg353y065c6a92019-06-25 12:23:28 +020027
28class MenuBar extends React.Component {
29 render () {
30 return (
xuegao19e628c2019-06-27 17:41:01 +020031 <Navbar.Collapse id="basic-navbar-nav" className="justify-content-center">
32 <NavDropdown title="Closed Loop" id="basic-nav-dropdown">
33 <NavDropdown.Item href="#action/3.1">Open CL</NavDropdown.Item>
34 <NavDropdown.Item href="#action/3.2">Properties CL</NavDropdown.Item>
35 <NavDropdown.Item href="#action/3.3">Close Model</NavDropdown.Item>
xg353y065c6a92019-06-25 12:23:28 +020036 </NavDropdown>
xuegao19e628c2019-06-27 17:41:01 +020037 <NavDropdown title="Manage" id="basic-nav-dropdown">
38 <NavDropdown.Item href="#action/3.1">Submit</NavDropdown.Item>
39 <NavDropdown.Item href="#action/3.2">Stop</NavDropdown.Item>
40 <NavDropdown.Item href="#action/3.3">Restart</NavDropdown.Item>
41 <NavDropdown.Item href="#action/3.3">Delete</NavDropdown.Item>
42 <NavDropdown.Item href="#action/3.3">Deploy</NavDropdown.Item>
43 <NavDropdown.Item href="#action/3.3">UnDeploy</NavDropdown.Item>
44 </NavDropdown>
45 <NavDropdown title="View" id="basic-nav-dropdown">
46 <NavDropdown.Item href="#action/3.1">Refresh Status</NavDropdown.Item>
47 </NavDropdown>
48 <NavDropdown title="Help" id="basic-nav-dropdown">
49 <NavDropdown.Item href="#action/3.1">Wiki</NavDropdown.Item>
50 <NavDropdown.Item href="#action/3.2">Contact Us</NavDropdown.Item>
51 <NavDropdown.Item href="#action/3.3">User Info</NavDropdown.Item>
52 </NavDropdown>
xg353y065c6a92019-06-25 12:23:28 +020053 </Navbar.Collapse>
xg353y065c6a92019-06-25 12:23:28 +020054
55
56 );
57 }
58}
59
xuegao19e628c2019-06-27 17:41:01 +020060
61
xg353y065c6a92019-06-25 12:23:28 +020062export default MenuBar;