mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Setup initial system tracking struture
This commit is contained in:
parent
bc9c4d355e
commit
f70a2acbd9
@ -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';
|
||||
|
||||
|
||||
9
awx/ui/static/js/system-tracking/main.js
Normal file
9
awx/ui/static/js/system-tracking/main.js
Normal 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)
|
||||
}]);
|
||||
@ -0,0 +1,3 @@
|
||||
export default ['$scope', function($scope) {
|
||||
$scope.viewType = 'host2host';
|
||||
}]
|
||||
@ -0,0 +1 @@
|
||||
You are in {{viewType}} mode
|
||||
@ -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'
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user