diff options
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 |