Matteo Scandolo | d2044a4 | 2017-08-07 16:08:28 -0700 | [diff] [blame^] | 1 | |
| 2 | <!-- |
| 3 | Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | |
Matteo Scandolo | ecf088a | 2016-10-20 10:25:34 +0200 | [diff] [blame] | 19 | <div class="container"> |
| 20 | <div class="row"> |
| 21 | <h2>Select XOS to synch:</h2> |
| 22 | </div> |
| 23 | <div class="row"> |
| 24 | <div class="col-xs-12"> |
| 25 | <h2>G-XOS Slices:</h2> |
| 26 | </div> |
| 27 | <div class="col-xs-12"> |
| 28 | <xos-table |
| 29 | config="vm.gSliceTableCgf" |
| 30 | data="vm.gSlices"> |
| 31 | </xos-table> |
| 32 | </div> |
| 33 | </div> |
| 34 | <div class="row"> |
| 35 | <div class="col-xs-12"> |
| 36 | <h2>Get L-XOS details:</h2> |
| 37 | </div> |
| 38 | <div |
| 39 | ng-repeat="xos in vm.xoss" |
| 40 | class="col-sm-2"> |
| 41 | <div |
| 42 | class="well" |
| 43 | ng-class="{active: xos.active}" |
| 44 | ng-click="vm.toggleXos(xos)"> |
| 45 | {{xos.humanReadableName || xos.name}} |
| 46 | </div> |
| 47 | </div> |
| 48 | </div> |
| 49 | <div class="row" ng-if="vm.localSlices.length > 0"> |
| 50 | <div class="col-xs-12"> |
| 51 | <h2>L-XOS Slices:</h2> |
| 52 | </div> |
| 53 | <div class="col-xs-12"> |
| 54 | <xos-table |
| 55 | config="vm.sliceTableCfg" |
| 56 | data="vm.localSlices"> |
| 57 | </xos-table> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div class="row" ng-if="vm.localSlices.length > 0"> |
| 61 | <div class="col-xs-12"> |
| 62 | <h2>L-XOS Users:</h2> |
| 63 | </div> |
| 64 | <div class="col-xs-12"> |
| 65 | <xos-table |
| 66 | config="vm.usersTableCfg" |
| 67 | data="vm.localUsers"> |
| 68 | </xos-table> |
| 69 | </div> |
| 70 | </div> |
| 71 | </div> |
| 72 | <script type="text/ng-template" id="addInstance.html"> |
| 73 | <div class="modal-header"> |
| 74 | <h3 class="modal-title" id="modal-title">Add Instance to {{vm.slice.name}} on {{vm.slice.xos.name}}</h3> |
| 75 | </div> |
| 76 | <div class="modal-body" id="modal-body"> |
| 77 | <xos-form ng-model="vm.model" config="vm.config"></xos-form> |
| 78 | </div> |
| 79 | </script> |
| 80 | <script type="text/ng-template" id="listInstances.html"> |
| 81 | <div class="modal-header"> |
| 82 | <h3 class="modal-title" id="modal-title">Get Instances from {{vm.slice.name}} on {{vm.slice.xos.name}}</h3> |
| 83 | </div> |
| 84 | <div class="modal-body" id="modal-body"> |
| 85 | <xos-table data="vm.instances" config="vm.config"></xos-table> |
| 86 | </div> |
| 87 | <div class="modal-footer"> |
| 88 | <a ng-click="vm.close()" class="btn btn-warning">Close</a> |
| 89 | </div> |
| 90 | </script> |