You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/06/30 22:42:07 UTC
[37/52] [partial] incubator-trafficcontrol git commit: promotes TO
experimental UI to the new Traffic Portal
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/physLocationServers/table.physLocationServers.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocationServers/table.physLocationServers.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/physLocationServers/table.physLocationServers.tpl.html
deleted file mode 100644
index 51dc0f3..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocationServers/table.physLocationServers.tpl.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/admin/phys-locations')">Physical Locations</a></li>
- <li><a ng-click="navigateToPath('/admin/phys-locations/' + physLocation.id)">{{::physLocation.name}}</a></li>
- <li class="active">Servers</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="serversTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>Update?</th>
- <th>hostName</th>
- <th>domainName</th>
- <th>cdn</th>
- <th>cachegroup</th>
- <th>type</th>
- <th>location</th>
- <th>ipAddress</th>
- <th>ip6Address</th>
- <th>status</th>
- <th>profile</th>
- <th>iloIpAddress</th>
- <th>iloIpGateway</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editServer(server.id)" ng-repeat="server in ::servers">
- <td class="update-column">
- <i class="fa fa-flag" ng-if="server.updPending"></i>
- <i class="fa fa-ban" ng-if="!server.updPending"></i>
- </td>
- <td>{{::server.hostName}}</td>
- <td>{{::server.domainName}}</td>
- <td>{{::server.cdnName}}</td>
- <td>{{::server.cachegroup}}</td>
- <td>{{::server.type}}</td>
- <td>{{::server.physLocation}}</td>
- <td>{{::server.ipAddress}}</td>
- <td>{{::server.ip6Address}}</td>
- <td>
- <span ng-if="!isOffline(server.status)">{{::server.status}}</span>
- <span ng-if="isOffline(server.status)" uib-popover="{{::offlineReason(server)}}" popover-title="Offline Reason" popover-trigger="mouseenter" popover-placement="bottom" popover-append-to-body="true">{{::server.status}}</span>
- </td>
- <td>{{::server.profile}}</td>
- <td>{{::server.iloIpAddress}}</td>
- <td>{{::server.iloIpGateway}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/TablePhysLocationsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/TablePhysLocationsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/TablePhysLocationsController.js
deleted file mode 100644
index 9d6468b..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/TablePhysLocationsController.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TablePhysLocationsController = function(physLocations, $scope, $state, locationUtils) {
-
- $scope.physLocations = physLocations;
-
- $scope.editPhysLocation = function(id) {
- locationUtils.navigateToPath('/admin/phys-locations/' + id)
- };
-
- $scope.createPhysLocation = function() {
- locationUtils.navigateToPath('/admin/phys-locations/new')
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- angular.element(document).ready(function () {
- $('#physLocationsTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TablePhysLocationsController.$inject = ['physLocations', '$scope', '$state', 'locationUtils'];
-module.exports = TablePhysLocationsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/index.js
deleted file mode 100644
index 4b1a925..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.physLocations', [])
- .controller('TablePhysLocationsController', require('./TablePhysLocationsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/table.physLocations.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/table.physLocations.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/table.physLocations.tpl.html
deleted file mode 100644
index 8e4b1eb..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/physLocations/table.physLocations.tpl.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li class="active">Physical Locations</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-primary" title="Create Phys Location" ng-click="createPhysLocation()"><i class="fa fa-plus"></i></button>
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="physLocationsTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>name</th>
- <th>shortName</th>
- <th>address</th>
- <th>city</th>
- <th>state</th>
- <th>region</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editPhysLocation(physLocation.id)" ng-repeat="physLocation in ::physLocations">
- <td>{{::physLocation.name}}</td>
- <td>{{::physLocation.shortName}}</td>
- <td>{{::physLocation.address}}</td>
- <td>{{::physLocation.city}}</td>
- <td>{{::physLocation.state}}</td>
- <td>{{::physLocation.region}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/TableProfileDeliveryServicesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/TableProfileDeliveryServicesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/TableProfileDeliveryServicesController.js
deleted file mode 100644
index 79020c7..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/TableProfileDeliveryServicesController.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableProfileDeliveryServicesController = function(profile, deliveryServices, $scope, $state, locationUtils) {
-
- $scope.profile = profile;
-
- $scope.deliveryServices = deliveryServices;
-
- $scope.editDeliveryService = function(ds) {
- locationUtils.navigateToPath('/configure/delivery-services/' + ds.id + '?type=' + ds.type);
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.navigateToPath = locationUtils.navigateToPath;
-
- angular.element(document).ready(function () {
- $('#deliveryServicesTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableProfileDeliveryServicesController.$inject = ['profile', 'deliveryServices', '$scope', '$state', 'locationUtils'];
-module.exports = TableProfileDeliveryServicesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/index.js
deleted file mode 100644
index 963a67e..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.profileDeliveryServices', [])
- .controller('TableProfileDeliveryServicesController', require('./TableProfileDeliveryServicesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/table.profileDeliveryServices.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/table.profileDeliveryServices.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/table.profileDeliveryServices.tpl.html
deleted file mode 100644
index 8074d08..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileDeliveryServices/table.profileDeliveryServices.tpl.html
+++ /dev/null
@@ -1,74 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/admin/profiles')">Profiles</a></li>
- <li><a ng-click="navigateToPath('/admin/profiles/' + profile.id)">{{::profile.name}}</a></li>
- <li class="active">Delivery Services</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="deliveryServicesTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>xmlId</th>
- <th>orgServerFqdn</th>
- <th>cdn</th>
- <th>profile</th>
- <th>ccrDnsTtl</th>
- <th>active</th>
- <th>type</th>
- <th>dscp</th>
- <th>signed</th>
- <th>qstringIgnore</th>
- <th>geoLimit</th>
- <th>protocol</th>
- <th>ipv6RoutingEnabled</th>
- <th>rangeRequestHandling</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editDeliveryService(deliveryService)" ng-repeat="deliveryService in ::deliveryServices">
- <td>{{::deliveryService.xmlId}}</td>
- <td>{{::deliveryService.orgServerFqdn}}</td>
- <td>{{::deliveryService.cdnName}}</td>
- <td>{{::deliveryService.profileName}}</td>
- <td>{{::deliveryService.ccrDnsTtl}}</td>
- <td>{{::deliveryService.active}}</td>
- <td>{{::deliveryService.type}}</td>
- <td>{{::deliveryService.dscp}}</td>
- <td>{{::deliveryService.signed}}</td>
- <td>{{::deliveryService.qstringIgnore}}</td>
- <td>{{::deliveryService.geoLimit}}</td>
- <td>{{::deliveryService.protocol}}</td>
- <td>{{::deliveryService.ipv6RoutingEnabled}}</td>
- <td>{{::deliveryService.rangeRequestHandling}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParametersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParametersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParametersController.js
deleted file mode 100644
index 8486f7c..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParametersController.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableProfileParametersController = function(profile, profileParameters, $scope, $state, $uibModal, locationUtils, profileParameterService) {
-
- $scope.profile = profile;
-
- $scope.profileParameters = profileParameters;
-
- $scope.removeParameter = function(paramId) {
- profileParameterService.unlinkProfileParameter(profile.id, paramId)
- .then(
- function() {
- $scope.refresh();
- }
- );
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.selectParams = function() {
- var modalInstance = $uibModal.open({
- templateUrl: 'common/modules/table/profileParameters/table.profileParamsUnassigned.tpl.html',
- controller: 'TableProfileParamsUnassignedController',
- size: 'lg',
- resolve: {
- profile: function(parameterService) {
- return profile;
- },
- parameters: function(parameterService) {
- return parameterService.getProfileUnassignedParams(profile.id);
- }
- }
- });
- modalInstance.result.then(function(selectedParams) {
- var massagedArray = [];
- for (i = 0; i < selectedParams.length; i++) {
- massagedArray.push( { profileId: profile.id, parameterId: selectedParams[i] } );
- }
- profileParameterService.linkProfileParameters(massagedArray)
- .then(
- function() {
- $scope.refresh();
- }
- );
- }, function () {
- // do nothing
- });
- };
-
- $scope.navigateToPath = locationUtils.navigateToPath;
-
- angular.element(document).ready(function () {
- $('#profileParametersTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableProfileParametersController.$inject = ['profile', 'profileParameters', '$scope', '$state', '$uibModal', 'locationUtils', 'profileParameterService'];
-module.exports = TableProfileParametersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParamsUnassignedController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParamsUnassignedController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParamsUnassignedController.js
deleted file mode 100644
index 23cefcb..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/TableProfileParamsUnassignedController.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableProfileParamsUnassignedController = function(profile, parameters, $scope, $uibModalInstance) {
-
- var selectedParams = [];
-
- $scope.profile = profile;
-
- $scope.unassignedParams = parameters;
-
- var addParam = function(paramId) {
- if (_.indexOf(selectedParams, paramId) == -1) {
- selectedParams.push(paramId);
- }
- };
-
- var removeParam = function(paramId) {
- selectedParams = _.without(selectedParams, paramId);
- };
-
- $scope.updateParams = function($event, paramId) {
- var checkbox = $event.target;
- if (checkbox.checked) {
- addParam(paramId);
- } else {
- removeParam(paramId);
- }
- };
-
- $scope.submit = function() {
- $uibModalInstance.close(selectedParams);
- };
-
- $scope.cancel = function () {
- $uibModalInstance.dismiss('cancel');
- };
-
- angular.element(document).ready(function () {
- $('#profileParamsUnassignedTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "order": [[ 1, 'asc' ]],
- "columnDefs": [
- { "width": "5%", "targets": 0 }
- ]
- });
- });
-
-};
-
-TableProfileParamsUnassignedController.$inject = ['profile', 'parameters', '$scope', '$uibModalInstance'];
-module.exports = TableProfileParamsUnassignedController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/index.js
deleted file mode 100644
index f4fb844..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.profileParameters', [])
- .controller('TableProfileParametersController', require('./TableProfileParametersController'))
- .controller('TableProfileParamsUnassignedController', require('./TableProfileParamsUnassignedController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParameters.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParameters.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParameters.tpl.html
deleted file mode 100644
index 24d1693..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParameters.tpl.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/admin/profiles')">Profiles</a></li>
- <li><a ng-click="navigateToPath('/admin/profiles/' + profile.id)">{{::profile.name}}</a></li>
- <li class="active">Parameters</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-primary" title="Link Parameters to Profile" ng-click="selectParams()"><i class="fa fa-link"></i></button>
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="profileParametersTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>id</th>
- <th>name</th>
- <th>configFile</th>
- <th>value</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="parameter in ::profileParameters">
- <td>{{::parameter.id}}</td>
- <td>{{::parameter.name}}</td>
- <td>{{::parameter.configFile}}</td>
- <td>{{::parameter.value}}</td>
- <td><button type="button" class="btn btn-link" title="Unlink Parameter from Profile" ng-click="removeParameter(parameter.id)"><i class="fa fa-chain-broken"></i></button></td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParamsUnassigned.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParamsUnassigned.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParamsUnassigned.tpl.html
deleted file mode 100644
index 34b2bdf..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileParameters/table.profileParamsUnassigned.tpl.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-
-
-<div class="modal-header">
- <button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
- <h3 class="modal-title">Link Parameters to {{::profile.name}}</h3>
-</div>
-<div class="modal-body">
- <table id="profileParamsUnassignedTable" class="table responsive-utilities jambo_table" style="table-layout:fixed; width:100%;">
- <thead>
- <tr class="headings">
- <th></th>
- <th>name</th>
- <th>configFile</th>
- <th>value</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="parameter in ::unassignedParams">
- <td><input type="checkbox" ng-click="updateParams($event, parameter.id)"></td>
- <td>{{::parameter.name}}</td>
- <td>{{::parameter.configFile}}</td>
- <td>{{::parameter.value}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div class="modal-footer">
- <button class="btn btn-link" ng-click="cancel()">cancel</button>
- <button class="btn btn-primary" ng-click="submit()">Submit</button>
-</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/TableProfileServersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/TableProfileServersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/TableProfileServersController.js
deleted file mode 100644
index 7d4f5d5..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/TableProfileServersController.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableProfileServersController = function(profile, servers, $scope, $state, locationUtils, serverUtils) {
-
- $scope.profile = profile;
-
- $scope.servers = servers;
-
- $scope.editServer = function(id) {
- locationUtils.navigateToPath('/configure/servers/' + id);
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.isOffline = serverUtils.isOffline;
-
- $scope.offlineReason = serverUtils.offlineReason;
-
- $scope.navigateToPath = locationUtils.navigateToPath;
-
- angular.element(document).ready(function () {
- $('#serversTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableProfileServersController.$inject = ['profile', 'servers', '$scope', '$state', 'locationUtils', 'serverUtils'];
-module.exports = TableProfileServersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/index.js
deleted file mode 100644
index ba238c1..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.profileServers', [])
- .controller('TableProfileServersController', require('./TableProfileServersController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/table.profileServers.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/table.profileServers.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/table.profileServers.tpl.html
deleted file mode 100644
index 68d5d68..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profileServers/table.profileServers.tpl.html
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/admin/profiles')">Profiles</a></li>
- <li><a ng-click="navigateToPath('/admin/profiles/' + profile.id)">{{::profile.name}}</a></li>
- <li class="active">Servers</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="serversTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>Update?</th>
- <th>hostName</th>
- <th>domainName</th>
- <th>cdn</th>
- <th>cachegroup</th>
- <th>type</th>
- <th>location</th>
- <th>ipAddress</th>
- <th>ip6Address</th>
- <th>status</th>
- <th>profile</th>
- <th>iloIpAddress</th>
- <th>iloIpGateway</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editServer(server.id)" ng-repeat="server in ::servers" ng-class="::{'active': server.updPending}">
- <td class="update-column">
- <i class="fa fa-flag" ng-if="server.updPending"></i>
- <i class="fa fa-ban" ng-if="!server.updPending"></i>
- </td>
- <td>{{::server.hostName}}</td>
- <td>{{::server.domainName}}</td>
- <td>{{::server.cdnName}}</td>
- <td>{{::server.cachegroup}}</td>
- <td>{{::server.type}}</td>
- <td>{{::server.physLocation}}</td>
- <td>{{::server.ipAddress}}</td>
- <td>{{::server.ip6Address}}</td>
- <td>
- <span ng-if="!isOffline(server.status)">{{::server.status}}</span>
- <span ng-if="isOffline(server.status)" uib-popover="{{::offlineReason(server)}}" popover-title="Offline Reason" popover-trigger="mouseenter" popover-placement="bottom" popover-append-to-body="true">{{::server.status}}</span>
- </td>
- <td>{{::server.profile}}</td>
- <td>{{::server.iloIpAddress}}</td>
- <td>{{::server.iloIpGateway}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
deleted file mode 100644
index 5a8383b..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableProfilesController = function(profiles, $scope, $state, locationUtils) {
-
- $scope.profiles = profiles;
-
- $scope.editProfile = function(id) {
- locationUtils.navigateToPath('/admin/profiles/' + id);
- };
-
- $scope.createProfile = function() {
- locationUtils.navigateToPath('/admin/profiles/new');
- };
-
- $scope.importProfile = function() {
- alert('not hooked up yet: importProfile');
- };
-
- $scope.compareProfiles = function() {
- alert('not hooked up yet: compareProfiles');
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- angular.element(document).ready(function () {
- $('#profilesTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableProfilesController.$inject = ['profiles', '$scope', '$state', 'locationUtils'];
-module.exports = TableProfilesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
deleted file mode 100644
index 1761ec7..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.profiles', [])
- .controller('TableProfilesController', require('./TableProfilesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
deleted file mode 100644
index 85d66cf..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li class="active">Profiles</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-primary" title="Create Profile" ng-click="createProfile()"><i class="fa fa-plus"></i></button>
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- <div class="btn-group" role="group" uib-dropdown is-open="more.isopen">
- <button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
- More
- <span class="caret"></span>
- </button>
- <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
- <li role="menuitem"><a ng-click="importProfile()">Import Profile</a></li>
- <li role="menuitem"><a ng-click="compareProfiles()">Compare Profiles</a></li>
- </ul>
- </div>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="profilesTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>name</th>
- <th>type</th>
- <th>description</th>
- <th>cdn</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editProfile(profile.id)" ng-repeat="profile in ::profiles">
- <td>{{::profile.name}}</td>
- <td>{{::profile.type}}</td>
- <td>{{::profile.description}}</td>
- <td>{{::profile.cdnName}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/TableRegionPhysLocationsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/TableRegionPhysLocationsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/TableRegionPhysLocationsController.js
deleted file mode 100644
index aee580a..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/TableRegionPhysLocationsController.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableRegionPhysLocationsController = function(region, physLocations, $scope, $state, locationUtils) {
-
- $scope.region = region;
-
- $scope.physLocations = physLocations;
-
- $scope.editPhysLocation = function(id) {
- locationUtils.navigateToPath('/admin/phys-locations/' + id)
- };
-
- $scope.createPhysLocation = function() {
- locationUtils.navigateToPath('/admin/phys-locations/new')
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.navigateToPath = locationUtils.navigateToPath;
-
- angular.element(document).ready(function () {
- $('#physLocationsTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableRegionPhysLocationsController.$inject = ['region', 'physLocations', '$scope', '$state', 'locationUtils'];
-module.exports = TableRegionPhysLocationsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/index.js
deleted file mode 100644
index e55b784..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.regionPhysLocations', [])
- .controller('TableRegionPhysLocationsController', require('./TableRegionPhysLocationsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/table.regionPhysLocations.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/table.regionPhysLocations.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/table.regionPhysLocations.tpl.html
deleted file mode 100644
index 5e2d530..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regionPhysLocations/table.regionPhysLocations.tpl.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/admin/regions')">Regions</a></li>
- <li><a ng-click="navigateToPath('/admin/regions/' + region.id)">{{::region.name}}</a></li>
- <li class="active">Physical Locations</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="physLocationsTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>name</th>
- <th>shortName</th>
- <th>address</th>
- <th>city</th>
- <th>state</th>
- <th>region</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editPhysLocation(physLocation.id)" ng-repeat="physLocation in ::physLocations">
- <td>{{::physLocation.name}}</td>
- <td>{{::physLocation.shortName}}</td>
- <td>{{::physLocation.address}}</td>
- <td>{{::physLocation.city}}</td>
- <td>{{::physLocation.state}}</td>
- <td>{{::physLocation.region}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
deleted file mode 100644
index 3eed487..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableRegionsController = function(regions, $scope, $state, locationUtils) {
-
- $scope.regions = regions;
-
- $scope.editRegion = function(id) {
- locationUtils.navigateToPath('/admin/regions/' + id);
- };
-
- $scope.createRegion = function() {
- locationUtils.navigateToPath('/admin/regions/new');
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- angular.element(document).ready(function () {
- $('#regionsTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableRegionsController.$inject = ['regions', '$scope', '$state', 'locationUtils'];
-module.exports = TableRegionsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
deleted file mode 100644
index abd62e2..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.regions', [])
- .controller('TableRegionsController', require('./TableRegionsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
deleted file mode 100644
index 505972f..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li class="active">Regions</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-primary" title="Create Region" ng-click="createRegion()"><i class="fa fa-plus"></i></button>
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="regionsTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>name</th>
- <th>division</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editRegion(region.id)" ng-repeat="region in ::regions">
- <td>{{::region.name}}</td>
- <td>{{::region.divisionName}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/TableServerDeliveryServicesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/TableServerDeliveryServicesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/TableServerDeliveryServicesController.js
deleted file mode 100644
index f418ac6..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/TableServerDeliveryServicesController.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableServerDeliveryServicesController = function(server, serverDeliveryServices, $scope, $state, locationUtils, deliveryServiceService) {
-
- $scope.server = server;
-
- $scope.serverDeliveryServices = serverDeliveryServices;
-
- $scope.cloneDsAssignments = function() {
- alert('not hooked up yet: cloneDsAssignments');
- };
-
- $scope.addDeliveryService = function() {
- alert('not hooked up yet: addDeliveryService to server');
- };
-
- $scope.removeDeliveryService = function(dsId, serverId) {
- deliveryServiceService.deleteDeliveryServiceServer(dsId, serverId)
- .then(
- function() {
- $scope.refresh();
- }
- );
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.navigateToPath = locationUtils.navigateToPath;
-
- angular.element(document).ready(function () {
- $('#deliveryServicesTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableServerDeliveryServicesController.$inject = ['server', 'serverDeliveryServices', '$scope', '$state', 'locationUtils', 'deliveryServiceService'];
-module.exports = TableServerDeliveryServicesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/index.js
deleted file mode 100644
index 14a13e2..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.serverDeliveryServices', [])
- .controller('TableServerDeliveryServicesController', require('./TableServerDeliveryServicesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/table.serverDeliveryServices.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/table.serverDeliveryServices.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/table.serverDeliveryServices.tpl.html
deleted file mode 100644
index b01962e..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/serverDeliveryServices/table.serverDeliveryServices.tpl.html
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/configure/servers')">Servers</a></li>
- <li><a ng-click="navigateToPath('/configure/servers/' + server.id)">{{::server.hostName}}</a></li>
- <li class="active">Delivery Services</li>
- </ol>
- <div class="pull-right" role="group">
- <button class="btn btn-primary" title="Link Delivery Services to Server" ng-click="addDeliveryService()"><i class="fa fa-link"></i></button>
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- <div class="btn-group" role="group" uib-dropdown is-open="more.isopen">
- <button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
- More
- <span class="caret"></span>
- </button>
- <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
- <li><a ng-click="cloneDsAssignments()">Clone Delivery Service Assignments</a></li>
- </ul>
- </div>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="deliveryServicesTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>xmlId</th>
- <th>orgServerFqdn</th>
- <th>active</th>
- <th>type</th>
- <th>protocol</th>
- <th>cdn</th>
- <th>ipv6RoutingEnabled</th>
- <th>dscp</th>
- <th>signed</th>
- <th>qstringIgnore</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="deliveryService in ::serverDeliveryServices">
- <td>{{::deliveryService.xmlId}}</td>
- <td>{{::deliveryService.orgServerFqdn}}</td>
- <td>{{::deliveryService.active}}</td>
- <td>{{::deliveryService.type}}</td>
- <td>{{::deliveryService.protocol}}</td>
- <td>{{::deliveryService.cdnName}}</td>
- <td>{{::deliveryService.ipv6RoutingEnabled}}</td>
- <td>{{::deliveryService.dscp}}</td>
- <td>{{::deliveryService.signed}}</td>
- <td>{{::deliveryService.qstringIgnore}}</td>
- <td><button type="button" class="btn btn-link" title="Unlink Delivery Service from Server" ng-click="removeDeliveryService(deliveryService.id, server.id)"><i class="fa fa-chain-broken"></i></button></td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
deleted file mode 100644
index 93b6503..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableServersController = function(servers, $scope, $state, $uibModal, locationUtils, serverUtils, cdnService) {
-
- $scope.servers = servers;
-
- var queueServerUpdates = function(cdnId) {
- cdnService.queueServerUpdates(cdnId)
- .then(
- function() {
- $scope.refresh();
- }
- );
- };
-
- var clearServerUpdates = function(cdnId) {
- cdnService.clearServerUpdates(cdnId)
- .then(
- function() {
- $scope.refresh();
- }
- );
- };
-
- $scope.editServer = function(id) {
- locationUtils.navigateToPath('/configure/servers/' + id);
- };
-
- $scope.createServer = function() {
- locationUtils.navigateToPath('/configure/servers/new');
- };
-
- $scope.confirmQueueServerUpdates = function() {
- var params = {
- title: 'Queue Server Updates',
- message: "Please select a CDN"
- };
- var modalInstance = $uibModal.open({
- templateUrl: 'common/modules/dialog/select/dialog.select.tpl.html',
- controller: 'DialogSelectController',
- size: 'md',
- resolve: {
- params: function () {
- return params;
- },
- collection: function(cdnService) {
- return cdnService.getCDNs();
- }
- }
- });
- modalInstance.result.then(function(cdn) {
- queueServerUpdates(cdn.id);
- }, function () {
- // do nothing
- });
- };
-
- $scope.confirmClearServerUpdates = function() {
- var params = {
- title: 'Clear Server Updates',
- message: "Please select a CDN"
- };
- var modalInstance = $uibModal.open({
- templateUrl: 'common/modules/dialog/select/dialog.select.tpl.html',
- controller: 'DialogSelectController',
- size: 'md',
- resolve: {
- params: function () {
- return params;
- },
- collection: function(cdnService) {
- return cdnService.getCDNs();
- }
- }
- });
- modalInstance.result.then(function(cdn) {
- clearServerUpdates(cdn.id);
- }, function () {
- // do nothing
- });
- };
-
-
- $scope.uploadServerCSV = function() {
- alert('not hooked up yet: uploadServerCSV');
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.isOffline = serverUtils.isOffline;
-
- $scope.offlineReason = serverUtils.offlineReason;
-
- angular.element(document).ready(function () {
- $('#serversTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableServersController.$inject = ['servers', '$scope', '$state', '$uibModal', 'locationUtils', 'serverUtils', 'cdnService'];
-module.exports = TableServersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
deleted file mode 100644
index f8267cb..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.servers', [])
- .controller('TableServersController', require('./TableServersController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
deleted file mode 100644
index 8dabadb..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
+++ /dev/null
@@ -1,86 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li class="active">Servers</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-primary" title="Create Server" ng-click="createServer()"><i class="fa fa-plus"></i></button>
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- <div class="btn-group" role="group" uib-dropdown is-open="more.isopen">
- <button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
- More
- <span class="caret"></span>
- </button>
- <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
- <li role="menuitem"><a ng-click="confirmQueueServerUpdates()">Queue Server Updates</a></li>
- <li role="menuitem"><a ng-click="confirmClearServerUpdates()">Clear Server Updates</a></li>
- <li class="divider"></li>
- <li role="menuitem"><a ng-click="uploadServerCSV()">Upload Bulk CSV</a></li>
- </ul>
- </div>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="serversTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>Update?</th>
- <th>hostName</th>
- <th>domainName</th>
- <th>ipAddress</th>
- <th>ip6Address</th>
- <th>status</th>
- <th>type</th>
- <th>profile</th>
- <th>cdn</th>
- <th>cachegroup</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editServer(server.id)" ng-repeat="server in ::servers" ng-class="::{'active': server.updPending}">
- <td class="update-column">
- <i class="fa fa-flag" ng-if="server.updPending"></i>
- <i class="fa fa-ban" ng-if="!server.updPending"></i>
- </td>
- <td>{{::server.hostName}}</td>
- <td>{{::server.domainName}}</td>
- <td>{{::server.ipAddress}}</td>
- <td>{{::server.ip6Address}}</td>
- <td>
- <span ng-if="!isOffline(server.status)">{{::server.status}}</span>
- <span ng-if="isOffline(server.status)" uib-popover="{{::offlineReason(server)}}" popover-title="Offline Reason" popover-trigger="mouseenter" popover-placement="bottom" popover-append-to-body="true">{{::server.status}}</span>
- </td>
- <td>{{::server.type}}</td>
- <td>{{::server.profile}}</td>
- <td>{{::server.cdnName}}</td>
- <td>{{::server.cachegroup}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/TableStatusServersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/TableStatusServersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/TableStatusServersController.js
deleted file mode 100644
index 4aafa0a..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/TableStatusServersController.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-var TableStatusServersController = function(status, servers, $scope, $state, locationUtils, serverUtils) {
-
- $scope.status = status;
-
- $scope.servers = servers;
-
- $scope.editServer = function(id) {
- locationUtils.navigateToPath('/configure/servers/' + id);
- };
-
- $scope.refresh = function() {
- $state.reload(); // reloads all the resolves for the view
- };
-
- $scope.isOffline = serverUtils.isOffline;
-
- $scope.offlineReason = serverUtils.offlineReason;
-
- $scope.navigateToPath = locationUtils.navigateToPath;
-
- angular.element(document).ready(function () {
- $('#serversTable').dataTable({
- "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
- "iDisplayLength": 25,
- "aaSorting": []
- });
- });
-
-};
-
-TableStatusServersController.$inject = ['status', 'servers', '$scope', '$state', 'locationUtils', 'serverUtils'];
-module.exports = TableStatusServersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/index.js
deleted file mode 100644
index 80ec361..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-module.exports = angular.module('trafficPortal.table.statusServers', [])
- .controller('TableStatusServersController', require('./TableStatusServersController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/table.statusServers.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/table.statusServers.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/table.statusServers.tpl.html
deleted file mode 100644
index bc7f718..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/statusServers/table.statusServers.tpl.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="x_panel">
- <div class="x_title">
- <ol class="breadcrumb pull-left">
- <li><a ng-click="navigateToPath('/admin/statuses')">Statuses</a></li>
- <li><a ng-click="navigateToPath('/admin/statuses/' + status.id)">{{::status.name}}</a></li>
- <li class="active">Servers</li>
- </ol>
- <div class="pull-right">
- <button class="btn btn-default" title="Refresh" ng-click="refresh()"><i class="fa fa-refresh"></i></button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <br>
- <table id="serversTable" class="table responsive-utilities jambo_table">
- <thead>
- <tr class="headings">
- <th>Update?</th>
- <th>hostName</th>
- <th>domainName</th>
- <th>ipAddress</th>
- <th>ip6Address</th>
- <th>status</th>
- <th>type</th>
- <th>profile</th>
- <th>cdn</th>
- <th>cachegroup</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-click="editServer(server.id)" ng-repeat="server in ::servers" ng-class="::{'active': server.updPending}">
- <td class="update-column">
- <i class="fa fa-flag" ng-if="server.updPending"></i>
- <i class="fa fa-ban" ng-if="!server.updPending"></i>
- </td>
- <td>{{::server.hostName}}</td>
- <td>{{::server.domainName}}</td>
- <td>{{::server.ipAddress}}</td>
- <td>{{::server.ip6Address}}</td>
- <td>
- <span ng-show="!isOffline(server.status)">{{::server.status}}</span>
- <span ng-show="isOffline(server.status)" uib-popover="{{::offlineReason(server)}}" popover-title="Offline Reason" popover-trigger="mouseenter" popover-placement="bottom" popover-append-to-body="true">{{::server.status}}</span>
- </td>
- <td>{{::server.type}}</td>
- <td>{{::server.profile}}</td>
- <td>{{::server.cdnName}}</td>
- <td>{{::server.cachegroup}}</td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-