blob: 5336ddc3539680e89d1c058b15281d13797fcc8f [file] [log] [blame]
Matteo Scandolof2c99012016-01-25 10:10:38 -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)">
2 <option value="">Select a subscriber...</option>
3</select>
Matteo Scandolo06f45d62016-01-21 15:38:06 -08004<div class="service-details">
Matteo Scandolo3501ccb2016-01-21 16:02:57 -08005 <div class="service-slices animate" ng-hide="vm.slices.length == 0">
Matteo Scandolo06f45d62016-01-21 15:38:06 -08006 <div class="panel panel-info">
7 <div class="panel-heading">
8 Slices for service:
9 <h3 class="panel-title">{{vm.selectedService.name}}</h3>
10 </div>
11 <ul class="list-group">
12 <li class="list-group-item" ng-repeat="slice in vm.slices" ng-click="vm.getInstances(slice)" ng-class="{active: slice.id === vm.selectedSlice.id}">
13 {{slice.humanReadableName}}
14 </li>
15 </ul>
16 </div>
17 </div>
Matteo Scandolo3501ccb2016-01-21 16:02:57 -080018 <div class="service-instances animate" ng-hide="vm.instances.length == 0">
Matteo Scandolo06f45d62016-01-21 15:38:06 -080019 <div class="panel panel-warning">
20 <div class="panel-heading">
21 Instances:
22 </div>
23 <ul class="list-group">
24 <li class="list-group-item" ng-repeat="instance in vm.instances">
25 {{instance.humanReadableName}}
26 </li>
27 </ul>
28 </div>
29 </div>
30</div>