blob: e05ee17f0ab3ec558ecfeb485fe2deb803204461 [file] [log] [blame]
Matteo Scandolo4d42ddc2016-01-22 16:48:54 -08001<select class="form-control" ng-options="s as s.name for s in vm.subscribers" ng-model="vm.selectedSubscriber" ng-change="vm.getServiceChain(vm.selectedSubscriber)"></select>
Matteo Scandolo06f45d62016-01-21 15:38:06 -08002<div class="service-details">
Matteo Scandolo3501ccb2016-01-21 16:02:57 -08003 <div class="service-slices animate" ng-hide="vm.slices.length == 0">
Matteo Scandolo06f45d62016-01-21 15:38:06 -08004 <div class="panel panel-info">
5 <div class="panel-heading">
6 Slices for service:
7 <h3 class="panel-title">{{vm.selectedService.name}}</h3>
8 </div>
9 <ul class="list-group">
10 <li class="list-group-item" ng-repeat="slice in vm.slices" ng-click="vm.getInstances(slice)" ng-class="{active: slice.id === vm.selectedSlice.id}">
11 {{slice.humanReadableName}}
12 </li>
13 </ul>
14 </div>
15 </div>
Matteo Scandolo3501ccb2016-01-21 16:02:57 -080016 <div class="service-instances animate" ng-hide="vm.instances.length == 0">
Matteo Scandolo06f45d62016-01-21 15:38:06 -080017 <div class="panel panel-warning">
18 <div class="panel-heading">
19 Instances:
20 </div>
21 <ul class="list-group">
22 <li class="list-group-item" ng-repeat="instance in vm.instances">
23 {{instance.humanReadableName}}
24 </li>
25 </ul>
26 </div>
27 </div>
28</div>