diff options
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/app/view/host')
3 files changed, 0 insertions, 117 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.css b/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.css deleted file mode 100644 index 60672759..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.css +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2015 Open Networking Laboratory - * - * Licensed 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. - */ - -/* - ONOS GUI -- Host View -- CSS file - */ - -#ov-host h2 { - display: inline-block; -} - -#ov-host div.ctrl-btns { - width: 45px; -}
\ No newline at end of file diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.html b/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.html deleted file mode 100644 index 19a7ee1d..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.html +++ /dev/null @@ -1,54 +0,0 @@ -<!-- Host partial HTML --> -<div id="ov-host"> - <div class="tabular-header"> - <h2>Hosts ({{tableData.length}} total)</h2> - <div class="ctrl-btns"> - <div class="refresh" ng-class="{active: autoRefresh}" - icon icon-size="36" icon-id="refresh" - tooltip tt-msg="autoRefreshTip" - ng-click="toggleRefresh()"></div> - </div> - </div> - - <div class="summary-list" onos-table-resize> - <div ng-show="loading" class="loading-wheel" - icon icon-id="loading" icon-size="75"></div> - - <div class="table-header" onos-sortable-header> - <table> - <tr> - <td colId="type" class="table-icon" sortable></td> - <td colId="id" sortable>Host ID </td> - <td colId="mac" sortable>MAC Address </td> - <td colId="vlan" sortable>VLAN ID </td> - <td colId="ips" sortable>IP Addresses </td> - <td colId="location" sortable>Location </td> - </tr> - </table> - </div> - - <div class="table-body"> - <table onos-flash-changes id-prop="id"> - <tr ng-if="!tableData.length" class="no-data"> - <td colspan="6"> - No Hosts found - </td> - </tr> - - <tr ng-repeat="host in tableData track by $index" - ng-repeat-complete row-id="{{host.id}}"> - <td class="table-icon"> - <div icon icon-id="{{host._iconid_type}}"></div> - </td> - <td>{{host.id}}</td> - <td>{{host.mac}}</td> - <td>{{host.vlan}}</td> - <td>{{host.ips}}</td> - <td>{{host.location}}</td> - </tr> - </table> - </div> - - </div> - -</div> diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.js b/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.js deleted file mode 100644 index 1ccca401..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/app/view/host/host.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2015 Open Networking Laboratory - * - * Licensed 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. - */ - -/* - ONOS GUI -- Host View Module - */ - -(function () { - 'use strict'; - - angular.module('ovHost', []) - .controller('OvHostCtrl', - ['$log', '$scope', 'TableBuilderService', - - function ($log, $scope, tbs) { - tbs.buildTable({ - scope: $scope, - tag: 'host' - }); - - $log.log('OvHostCtrl has been created'); - }]); -}()); |