From a84aed63c980122af50014cab396371723f66b6f Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 15 May 2015 14:14:32 -0400 Subject: [PATCH] Revert "Setup initial system tracking struture" This reverts commit 8a6c23d1d9497f1be814e963e13675d8b38014eb. --- awx/ui/static/js/app.js | 1 - awx/ui/static/js/system-tracking/main.js | 9 --------- .../js/system-tracking/system-tracking.controller.js | 3 --- .../js/system-tracking/system-tracking.partial.html | 1 - .../static/js/system-tracking/system-tracking.route.js | 7 ------- 5 files changed, 21 deletions(-) delete mode 100644 awx/ui/static/js/system-tracking/main.js delete mode 100644 awx/ui/static/js/system-tracking/system-tracking.controller.js delete mode 100644 awx/ui/static/js/system-tracking/system-tracking.partial.html delete mode 100644 awx/ui/static/js/system-tracking/system-tracking.route.js diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index b6d4e05c74..ed0a3b7ab8 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -32,7 +32,6 @@ 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'; diff --git a/awx/ui/static/js/system-tracking/main.js b/awx/ui/static/js/system-tracking/main.js deleted file mode 100644 index 2c92bd2e0f..0000000000 --- a/awx/ui/static/js/system-tracking/main.js +++ /dev/null @@ -1,9 +0,0 @@ -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) - }]); diff --git a/awx/ui/static/js/system-tracking/system-tracking.controller.js b/awx/ui/static/js/system-tracking/system-tracking.controller.js deleted file mode 100644 index 9a1c1de4c6..0000000000 --- a/awx/ui/static/js/system-tracking/system-tracking.controller.js +++ /dev/null @@ -1,3 +0,0 @@ -export default ['$scope', function($scope) { - $scope.viewType = 'host2host'; -}] diff --git a/awx/ui/static/js/system-tracking/system-tracking.partial.html b/awx/ui/static/js/system-tracking/system-tracking.partial.html deleted file mode 100644 index 2895c4bea1..0000000000 --- a/awx/ui/static/js/system-tracking/system-tracking.partial.html +++ /dev/null @@ -1 +0,0 @@ -You are in {{viewType}} mode diff --git a/awx/ui/static/js/system-tracking/system-tracking.route.js b/awx/ui/static/js/system-tracking/system-tracking.route.js deleted file mode 100644 index 9951217165..0000000000 --- a/awx/ui/static/js/system-tracking/system-tracking.route.js +++ /dev/null @@ -1,7 +0,0 @@ -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' -};