diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-11-21 00:46:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-21 00:46:35 +0000 |
commit | 174b299271189496bae4c4d6727ea26a7a098756 (patch) | |
tree | b063e18c795988e38e1eb4afa74d4cbf9524f057 /utils/test/reporting/pages/app/scripts/config.router.js | |
parent | fd65ec9e84ae025e6b903c403514405ba0bb0a61 (diff) | |
parent | f11f26d23dabde24b0bcd67ac81b094aa89eb6c9 (diff) |
Merge "Remove 'utils/test' Directory and update INFO"
Diffstat (limited to 'utils/test/reporting/pages/app/scripts/config.router.js')
-rw-r--r-- | utils/test/reporting/pages/app/scripts/config.router.js | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/utils/test/reporting/pages/app/scripts/config.router.js b/utils/test/reporting/pages/app/scripts/config.router.js deleted file mode 100644 index d3724b765..000000000 --- a/utils/test/reporting/pages/app/scripts/config.router.js +++ /dev/null @@ -1,84 +0,0 @@ -'use strict' -/** - * @ngdoc function - * @name opnfvdashBoardAngularApp.config:config.router.js - * @description config of the ui router and lazy load setting - * config of the opnfvdashBoardAngularApp - */ -angular.module('opnfvApp') - .run([ - '$rootScope', '$state', '$stateParams', - function($rootScope, $state, $stateParams) { - - $rootScope.$state = $state; - $rootScope.$stateParams = $stateParams; - - } - ]).config(['$stateProvider', '$urlRouterProvider', - function($stateProvider, $urlRouterProvider) { - - $urlRouterProvider.otherwise('/landingpage/table'); - - $stateProvider - .state('landingpage', { - url: "/landingpage", - controller: 'MainController', - templateUrl: "views/main.html", - data: { pageTitle: '首页', specialClass: 'landing-page' }, - resolve: { - controller: ['$ocLazyLoad', function($ocLazyLoad) { - return $ocLazyLoad.load([ - - ]) - }] - } - }) - .state('landingpage.table', { - url: "/table", - controller: 'TableController', - templateUrl: "views/commons/table.html", - resolve: { - controller: ['$ocLazyLoad', function($ocLazyLoad) { - return $ocLazyLoad.load([ - // 'scripts/controllers/table.controller.js' - - - ]) - }] - } - }) - .state('select', { - url: '/select', - templateUrl: "views/testcase.html", - data: { specialClass: 'top-navigation' }, - - }) - .state('select.selectTestCase', { - url: "/selectCase", - controller: 'CaseController', - templateUrl: "views/commons/selectTestcase.html", - - }) - .state('select.testlist', { - url: "/caselist", - templateUrl: "views/commons/testCaseList.html" - }) - .state('select.admin', { - url: "/admin", - controller: 'AdminController', - templateUrl: "views/commons/admin.html" - }) - .state('select.testVisual', { - url: "/visual", - controller: "testVisualController", - templateUrl: "views/commons/testCaseVisual.html" - }) - // .state('admin', { - // url: '/admin', - // data: { specialClass: ' fixed-sidebar pace-done' }, - // templateUrl: "views/commons/admin.html" - // }) - - } - ]) - .run(); |