Matteo Scandolo | 7cd88ba | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 1 | <div class="row"> |
| 2 | <div class="col-xs-12"> |
| 3 | <h1>Service detail</h1> |
| 4 | </div> |
Matteo Scandolo | eb1e53a | 2015-12-16 16:23:18 -0800 | [diff] [blame] | 5 | </div> |
Matteo Scandolo | eb1e53a | 2015-12-16 16:23:18 -0800 | [diff] [blame] | 6 | <div class="row"> |
Matteo Scandolo | 43218d2 | 2015-12-17 14:34:20 -0800 | [diff] [blame^] | 7 | <div class="col-sm-12" ng-show="vm.loader"> |
| 8 | <div class="loader"></div> |
| 9 | </div> |
Matteo Scandolo | 5fdd7c5 | 2015-12-16 17:19:57 -0800 | [diff] [blame] | 10 | <div class="col-sm-3"> |
| 11 | <ul class="list-group"> |
Matteo Scandolo | f75d0ac | 2015-12-17 11:16:57 -0800 | [diff] [blame] | 12 | <li class="list-group-item" ng-class="{active: vm.serviceName == service}" ng-repeat="(service, slices) in vm.services"> |
| 13 | <a href="" ng-click="vm.selectService(service)">{{service}}</a> |
Matteo Scandolo | 5fdd7c5 | 2015-12-16 17:19:57 -0800 | [diff] [blame] | 14 | </li> |
| 15 | </ul> |
| 16 | </div> |
Matteo Scandolo | 43218d2 | 2015-12-17 14:34:20 -0800 | [diff] [blame^] | 17 | |
| 18 | <div class="col-sm-9 repeat-container" ng-show="!vm.error"> |
Matteo Scandolo | 5fdd7c5 | 2015-12-16 17:19:57 -0800 | [diff] [blame] | 19 | <service-detail service="vm.selectedService"></service-detail> |
Matteo Scandolo | eb1e53a | 2015-12-16 16:23:18 -0800 | [diff] [blame] | 20 | </div> |
Matteo Scandolo | 43218d2 | 2015-12-17 14:34:20 -0800 | [diff] [blame^] | 21 | <div class="col-sm-9" ng-show="vm.error"> |
| 22 | <div class="alert alert-danger"> |
| 23 | {{vm.error}} |
| 24 | </div> |
| 25 | </div> |
Matteo Scandolo | 7cd88ba | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 26 | </div> |