Iftekharul Islam | 99d199f | 2017-03-24 15:28:25 -0500 | [diff] [blame] | 1 | /** |
| 2 | * A module for the overview |
| 3 | * |
| 4 | * @module app/overview/index |
| 5 | * @exports app/overview/index |
| 6 | * @version 0.0.1 |
| 7 | */ |
| 8 | |
| 9 | window.angular && (function (angular) { |
| 10 | 'use strict'; |
| 11 | |
| 12 | angular |
| 13 | .module('app.overview', [ |
| 14 | 'ngRoute', |
| 15 | 'app.constants', |
| 16 | 'app.common.services' |
| 17 | ]) |
| 18 | // Route configuration |
| 19 | .config(['$routeProvider', function ($routeProvider) { |
| 20 | $routeProvider |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 21 | <<<<<<< HEAD |
Iftekharul Islam | 99d199f | 2017-03-24 15:28:25 -0500 | [diff] [blame] | 22 | .when('/overview/system', { |
| 23 | 'templateUrl': 'overview/controllers/system-overview-controller.html', |
| 24 | 'controller': 'systemOverviewController', |
| 25 | authenticated: true |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 26 | }) |
| 27 | .when('/overview', { |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 28 | ======= |
| 29 | .when('/overview/bmc-reboot', { |
| 30 | 'templateUrl': 'overview/controllers/bmc-reboot-controller.html', |
| 31 | 'controller': 'bmcRebootController', |
| 32 | authenticated: true |
| 33 | }) |
| 34 | .when('/overview/log', { |
| 35 | 'templateUrl': 'overview/controllers/log-controller.html', |
| 36 | 'controller': 'logController', |
| 37 | authenticated: true |
| 38 | }) |
| 39 | .when('/overview/power-operations', { |
| 40 | 'templateUrl': 'overview/controllers/power-operations-controller.html', |
| 41 | 'controller': 'powerOperationsController', |
| 42 | authenticated: true |
| 43 | }) |
| 44 | .when('/overview/unit-id', { |
| 45 | 'templateUrl': 'overview/controllers/unit-id-controller.html', |
| 46 | 'controller': 'unitIdController', |
| 47 | authenticated: true |
| 48 | }) |
| 49 | .when('/overview/system', { |
| 50 | >>>>>>> 4c1a3dd... Major update to code structure |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 51 | 'templateUrl': 'overview/controllers/system-overview-controller.html', |
| 52 | 'controller': 'systemOverviewController', |
| 53 | authenticated: true |
Iftekharul Islam | 99d199f | 2017-03-24 15:28:25 -0500 | [diff] [blame] | 54 | }); |
| 55 | }]); |
| 56 | |
| 57 | })(window.angular); |