blob: d543d714e9873c844d2f678b5c2c1123354124a4 [file] [log] [blame]
Matteo Scandolod2044a42017-08-07 16:08:28 -07001
2<!--
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17
18
Matteo Scandoloecf088a2016-10-20 10:25:34 +020019<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>