diff options
author | Steven Thomas <steve.thomas@amdocs.com> | 2018-09-25 16:18:36 -0400 |
---|---|---|
committer | Steven Thomas <steve.thomas@amdocs.com> | 2018-09-25 16:18:53 -0400 |
commit | 410e8a48a471c6bb814f253abe006f20db0c2750 (patch) | |
tree | 3021d11fe8e29f3878b37abef943d5b2c10ff6a5 | |
parent | ec1670e00f0abec2c7a28a9c0a79ffecd06f24c4 (diff) |
readding accidentally deleted code
Issue-ID: AAI-1675
Change-Id: I89e3989b6503f658948a5c370e985e648264b9a2
Signed-off-by: Steven Thomas <steve.thomas@amdocs.com>
-rw-r--r-- | resources/scss/header/_layout.scss | 19 | ||||
-rw-r--r-- | src/app/MainScreenWrapper.jsx | 5 |
2 files changed, 24 insertions, 0 deletions
diff --git a/resources/scss/header/_layout.scss b/resources/scss/header/_layout.scss index aca42ce..14d90ac 100644 --- a/resources/scss/header/_layout.scss +++ b/resources/scss/header/_layout.scss @@ -158,6 +158,12 @@ .vnf-search-button-icon { background-image: url($icons-folder-path + '/vnfSearchicon.png'); } + + .configurable-view-button-icon { + background-image: url($icons-folder-path + '/reports.svg'); + -webkit-filter: brightness(500); + filter: brightness(500); + } } .main-menu-button:hover, .main-menu-button:focus { @@ -174,6 +180,12 @@ .vnf-search-button-icon { background-image: url($icons-folder-path + '/vnfSearchicon_hover.png'); } + + .configurable-view-button-icon { + background-image: url($icons-folder-path + '/reports.svg'); + -webkit-filter: brightness(1); + filter: brightness(1); + } } .main-menu-button-active { @@ -185,6 +197,7 @@ width: 100%; height: 90px; text-align: center; + padding-top: 5px; .view-inspect-button-icon { background-image: url($icons-folder-path + '/binocularicon_active.png'); @@ -197,6 +210,12 @@ .vnf-search-button-icon { background-image: url($icons-folder-path + '/vnfSearchicon_active.png'); } + + .configurable-view-button-icon { + background-image: url($icons-folder-path + '/reports.svg'); + -webkit-filter: brightness(0.55); + filter: brightness(0.55); + } } .search-bar { diff --git a/src/app/MainScreenWrapper.jsx b/src/app/MainScreenWrapper.jsx index 730ac93..3348494 100644 --- a/src/app/MainScreenWrapper.jsx +++ b/src/app/MainScreenWrapper.jsx @@ -140,6 +140,8 @@ class MainScreenWrapper extends Component { extensibleViewNetworkCallbackData, onExtensibleViewMessageCallback, onOverlayNetworkCallback, + configurableViewsConfig, + customComponents, customRoutes } = this.props; @@ -199,6 +201,8 @@ class MainScreenWrapper extends Component { }); + let configurableViewList = getConfigurableRoutes(configurableViewsConfig, customComponents); + return ( <Router> <div className='main-app-container'> @@ -210,6 +214,7 @@ class MainScreenWrapper extends Component { <Route key='VnfSearchRoute' path='/vnfSearch/:filters?' component={VnfSearch}/> {customViewList} {customRoutes} + {configurableViewList} </div> </Router> ); |