blob: afe76ebc95d34023f18185eaa7e28315d36246fd [file] [log] [blame]
Matteo Scandolo06f45d62016-01-21 15:38:06 -08001<div class="service-details">
Matteo Scandolo3501ccb2016-01-21 16:02:57 -08002 <div class="service-slices animate" ng-hide="vm.slices.length == 0">
Matteo Scandolo06f45d62016-01-21 15:38:06 -08003 <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>
Matteo Scandolo3501ccb2016-01-21 16:02:57 -080015 <div class="service-instances animate" ng-hide="vm.instances.length == 0">
Matteo Scandolo06f45d62016-01-21 15:38:06 -080016 <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>