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 | a7ad499 | 2016-05-09 15:27:47 -0700 | [diff] [blame] | 19 | <div class="row"> |
Matteo Scandolo | e967656 | 2016-05-10 14:56:58 -0700 | [diff] [blame] | 20 | <div ng-class="{'col-sm-4': vm.sites.length > 1 || !vm.sites, 'col-sm-6': vm.sites.length <= 1}" class="text-center"> |
Matteo Scandolo | a7ad499 | 2016-05-09 15:27:47 -0700 | [diff] [blame] | 21 | <h3>Instances per Slice</h3> |
Matteo Scandolo | e967656 | 2016-05-10 14:56:58 -0700 | [diff] [blame] | 22 | <xos-smart-pie ng-if="vm.instancePerSliceConfig.data.length > 0" config="vm.instancePerSliceConfig"></xos-smart-pie> |
Matteo Scandolo | a7ad499 | 2016-05-09 15:27:47 -0700 | [diff] [blame] | 23 | </div> |
Matteo Scandolo | fd4ab86 | 2016-05-09 15:58:49 -0700 | [diff] [blame] | 24 | <div ng-if="vm.sites.length > 1" class="col-sm-4 text-center"> |
Matteo Scandolo | a7ad499 | 2016-05-09 15:27:47 -0700 | [diff] [blame] | 25 | <h3>Instances per Site</h3> |
| 26 | <xos-smart-pie ng-if="vm.instancePerSiteConfig.data.length > 0" config="vm.instancePerSiteConfig"></xos-smart-pie> |
| 27 | </div> |
Matteo Scandolo | e967656 | 2016-05-10 14:56:58 -0700 | [diff] [blame] | 28 | <div ng-class="{'col-sm-4': vm.sites.length > 1 || !vm.sites, 'col-sm-6': vm.sites.length <= 1}" class="text-center"> |
Matteo Scandolo | a7ad499 | 2016-05-09 15:27:47 -0700 | [diff] [blame] | 29 | <h3>Network per Slice</h3> |
| 30 | <xos-smart-pie ng-if="vm.networkPerSliceConfig.data.length > 0" config="vm.networkPerSliceConfig"></xos-smart-pie> |
| 31 | </div> |
| 32 | </div> |
| 33 | |
| 34 | <xos-table config="vm.tableConfig" data="vm.slices"></xos-table> |