Matteo Scandolo | ecf088a | 2016-10-20 10:25:34 +0200 | [diff] [blame^] | 1 | <div class="container"> |
| 2 | <div class="row"> |
| 3 | <h2>Select XOS to synch:</h2> |
| 4 | </div> |
| 5 | <div class="row"> |
| 6 | <div class="col-xs-12"> |
| 7 | <h2>G-XOS Slices:</h2> |
| 8 | </div> |
| 9 | <div class="col-xs-12"> |
| 10 | <xos-table |
| 11 | config="vm.gSliceTableCgf" |
| 12 | data="vm.gSlices"> |
| 13 | </xos-table> |
| 14 | </div> |
| 15 | </div> |
| 16 | <div class="row"> |
| 17 | <div class="col-xs-12"> |
| 18 | <h2>Get L-XOS details:</h2> |
| 19 | </div> |
| 20 | <div |
| 21 | ng-repeat="xos in vm.xoss" |
| 22 | class="col-sm-2"> |
| 23 | <div |
| 24 | class="well" |
| 25 | ng-class="{active: xos.active}" |
| 26 | ng-click="vm.toggleXos(xos)"> |
| 27 | {{xos.humanReadableName || xos.name}} |
| 28 | </div> |
| 29 | </div> |
| 30 | </div> |
| 31 | <div class="row" ng-if="vm.localSlices.length > 0"> |
| 32 | <div class="col-xs-12"> |
| 33 | <h2>L-XOS Slices:</h2> |
| 34 | </div> |
| 35 | <div class="col-xs-12"> |
| 36 | <xos-table |
| 37 | config="vm.sliceTableCfg" |
| 38 | data="vm.localSlices"> |
| 39 | </xos-table> |
| 40 | </div> |
| 41 | </div> |
| 42 | <div class="row" ng-if="vm.localSlices.length > 0"> |
| 43 | <div class="col-xs-12"> |
| 44 | <h2>L-XOS Users:</h2> |
| 45 | </div> |
| 46 | <div class="col-xs-12"> |
| 47 | <xos-table |
| 48 | config="vm.usersTableCfg" |
| 49 | data="vm.localUsers"> |
| 50 | </xos-table> |
| 51 | </div> |
| 52 | </div> |
| 53 | </div> |
| 54 | <script type="text/ng-template" id="addInstance.html"> |
| 55 | <div class="modal-header"> |
| 56 | <h3 class="modal-title" id="modal-title">Add Instance to {{vm.slice.name}} on {{vm.slice.xos.name}}</h3> |
| 57 | </div> |
| 58 | <div class="modal-body" id="modal-body"> |
| 59 | <xos-form ng-model="vm.model" config="vm.config"></xos-form> |
| 60 | </div> |
| 61 | </script> |
| 62 | <script type="text/ng-template" id="listInstances.html"> |
| 63 | <div class="modal-header"> |
| 64 | <h3 class="modal-title" id="modal-title">Get Instances from {{vm.slice.name}} on {{vm.slice.xos.name}}</h3> |
| 65 | </div> |
| 66 | <div class="modal-body" id="modal-body"> |
| 67 | <xos-table data="vm.instances" config="vm.config"></xos-table> |
| 68 | </div> |
| 69 | <div class="modal-footer"> |
| 70 | <a ng-click="vm.close()" class="btn btn-warning">Close</a> |
| 71 | </div> |
| 72 | </script> |