From 410e8a48a471c6bb814f253abe006f20db0c2750 Mon Sep 17 00:00:00 2001 From: Steven Thomas Date: Tue, 25 Sep 2018 16:18:36 -0400 Subject: readding accidentally deleted code Issue-ID: AAI-1675 Change-Id: I89e3989b6503f658948a5c370e985e648264b9a2 Signed-off-by: Steven Thomas --- resources/scss/header/_layout.scss | 19 +++++++++++++++++++ src/app/MainScreenWrapper.jsx | 5 +++++ 2 files changed, 24 insertions(+) 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 (
@@ -210,6 +214,7 @@ class MainScreenWrapper extends Component { {customViewList} {customRoutes} + {configurableViewList}
); -- cgit 1.2.3-korg