Setup initial system tracking struture

This commit is contained in:
Joe Fiorini 2015-05-05 14:50:52 -04:00 committed by Jared Tabor
parent bc9c4d355e
commit f70a2acbd9
5 changed files with 21 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import {PortalController} from 'tower/controllers/Portal';
import dataServices from 'tower/services/_data-services';
import dashboardGraphs from 'tower/directives/_dashboard-graphs';
import systemTracking from 'tower/system-tracking/main';
import routeExtensions from 'tower/shared/route-extensions/main';

View File

@ -0,0 +1,9 @@
import route from './system-tracking.route';
export default
angular.module('systemTracking', [])
.config(['$routeProvider', function($routeProvider) {
var url = route.route;
delete route.route;
$routeProvider.when(url, route)
}]);

View File

@ -0,0 +1,3 @@
export default ['$scope', function($scope) {
$scope.viewType = 'host2host';
}]

View File

@ -0,0 +1 @@
You are in {{viewType}} mode

View File

@ -0,0 +1,7 @@
import controller from './system-tracking.controller';
export default {
route: '/inventories/:id/system-tracking/:filters',
controller: controller,
templateUrl: '/static/js/system-tracking/system-tracking.partial.html'
};