Matteo Scandolo | f2c9901 | 2016-01-25 10:10:38 -0800 | [diff] [blame^] | 1 | <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 Scandolo | 06f45d6 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 4 | <div class="service-details"> |
Matteo Scandolo | 3501ccb | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 5 | <div class="service-slices animate" ng-hide="vm.slices.length == 0"> |
Matteo Scandolo | 06f45d6 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 6 | <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 Scandolo | 3501ccb | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 18 | <div class="service-instances animate" ng-hide="vm.instances.length == 0"> |
Matteo Scandolo | 06f45d6 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 19 | <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> |