blob: 7806733021c01535d8d728ee3d7f3f84cac3291a [file] [log] [blame]
Matteo Scandolo68236262016-01-21 15:38:06 -08001<div class="service-details">
2 <div ng-show="vm.slices.length > 0" class="service-slices">
3 <div class="panel panel-info">
4 <div class="panel-heading">
5 Slices for service:
6 <h3 class="panel-title">{{vm.selectedService.name}}</h3>
7 </div>
8 <ul class="list-group">
9 <li class="list-group-item" ng-repeat="slice in vm.slices" ng-click="vm.getInstances(slice)" ng-class="{active: slice.id === vm.selectedSlice.id}">
10 {{slice.humanReadableName}}
11 </li>
12 </ul>
13 </div>
14 </div>
15 <div class="service-instances" ng-show="vm.instances.length > 0">
16 <div class="panel panel-warning">
17 <div class="panel-heading">
18 Instances:
19 </div>
20 <ul class="list-group">
21 <li class="list-group-item" ng-repeat="instance in vm.instances">
22 {{instance.humanReadableName}}
23 </li>
24 </ul>
25 </div>
26 </div>
27</div>