diff options
author | shentao <shentao@chinamobile.com> | 2017-09-18 20:41:28 +0800 |
---|---|---|
committer | shentao <shentao@chinamobile.com> | 2017-09-18 20:41:44 +0800 |
commit | 290e9b481168cbb753758ffbe95765e77233ebd6 (patch) | |
tree | 7cd40a54e1fbe6e51009e42bc1ebadcc1add9032 /usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js | |
parent | 20b443f877ad93ef52de6fe8bc1af48546dc8c86 (diff) |
Upload source code of monitor pages
Change-Id: I7fdb2239cebe69f990feafecb6460296aca04ead
Issue-Id: USECASEUI-33
Signed-off-by: shentao <shentao@chinamobile.com>
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js')
-rw-r--r-- | usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js new file mode 100644 index 00000000..0f776b03 --- /dev/null +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js @@ -0,0 +1,14 @@ +app.controller('cmCtrl',['$scope',function ($scope) { + $scope.routeData = [ + {name : 'Alarm' , url : 'app/uui/fusion/scripts/view-models/alarm.html' , nclass : 'fa fa-users'}, + {name : 'Performance' , url : 'app/uui/fusion/scripts/view-models/performance.html', nclass : 'fa fa-cog'}, + {name : 'About Performance Froms' , url : 'app/uui/fusion/scripts/view-models/performance-details.html', nclass : 'fa fa-cubes'}, + ]; + $scope.currentTab = 'app/uui/fusion/scripts/view-models/alarm.html'; + $scope.onClickTab = function (url) { + $scope.currentTab = url; + }; + $scope.isActiveTab = function (tabRoute) { + return tabRoute == $scope.currentTab; + } +}]);
\ No newline at end of file |