blob: 09f06f0f720a08ae28380c4947dfaa616d8751e8 [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 Scandoloa7ad4992016-05-09 15:27:47 -070019<div class="row">
Matteo Scandoloe9676562016-05-10 14:56:58 -070020 <div ng-class="{'col-sm-4': vm.sites.length > 1 || !vm.sites, 'col-sm-6': vm.sites.length <= 1}" class="text-center">
Matteo Scandoloa7ad4992016-05-09 15:27:47 -070021 <h3>Instances per Slice</h3>
Matteo Scandoloe9676562016-05-10 14:56:58 -070022 <xos-smart-pie ng-if="vm.instancePerSliceConfig.data.length > 0" config="vm.instancePerSliceConfig"></xos-smart-pie>
Matteo Scandoloa7ad4992016-05-09 15:27:47 -070023 </div>
Matteo Scandolofd4ab862016-05-09 15:58:49 -070024 <div ng-if="vm.sites.length > 1" class="col-sm-4 text-center">
Matteo Scandoloa7ad4992016-05-09 15:27:47 -070025 <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 Scandoloe9676562016-05-10 14:56:58 -070028 <div ng-class="{'col-sm-4': vm.sites.length > 1 || !vm.sites, 'col-sm-6': vm.sites.length <= 1}" class="text-center">
Matteo Scandoloa7ad4992016-05-09 15:27:47 -070029 <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>