summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-reports/report-router.js
blob: 58913a4005b1e67d5ef8fa20d4c72c09f3dbf7a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
appDS2.config(['$routeProvider',
	function($routeProvider) {
	$routeProvider.
	when('/', {
		templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-reports/report-search.html',
		controller: 'reportSearchController'
	}).
	when('/report_search', {
		templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-reports/report-search.html',
		controller: 'reportSearchController'
	}).
	when('/report_run/:reportUrlParams*', {
		templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-reports/report-run.html',
		controller: 'reportRunController'
	}).
	when('/report_chart_wizard/:reportId', {
		templateUrl: 'static/fusion/raptor/ebz/report_chart_wizard.html',
		controller: 'ChartController'
	}).
	when('/report_chart/:reportId', {
		templateUrl: 'app/fusion/scripts/DS2-view-models/ds2-reports/report-chart-wizard.html',
		controller: 'reportChartController'
	}).                      		
	when("/report_wizard", {
		templateUrl : "app/fusion/scripts/DS2-view-models/ds2-reports/report-step.html",
		controller: "reportStepController"
	}).                      		                      		
	when("/report_wizard/:reportId", {
		templateUrl : "app/fusion/scripts/DS2-view-models/ds2-reports/report-step.html",
		controller: "reportStepController"
	}).
	when("/report_wizard/:reportMode/:reportId", {
		templateUrl : "app/fusion/scripts/DS2-view-models/ds2-reports/report-step.html",
		controller: "reportStepController"
	}).              	    		
	when("/report_import", {
		templateUrl : "app/fusion/scripts/DS2-view-models/ds2-reports/report-import.html",
		controller: "reportImportController"
	})
	;
}]);