Live data working, Fix needed
diff --git a/xos-apps/auto-scale/gui/src/templates/service-container.tpl.html b/xos-apps/auto-scale/gui/src/templates/service-container.tpl.html
index 84e4446..34cdcca 100644
--- a/xos-apps/auto-scale/gui/src/templates/service-container.tpl.html
+++ b/xos-apps/auto-scale/gui/src/templates/service-container.tpl.html
@@ -3,8 +3,10 @@
<h1>Service detail</h1>
</div>
</div>
-
<div class="row">
+ <div class="col-sm-12" ng-show="vm.loader">
+ <div class="loader"></div>
+ </div>
<div class="col-sm-3">
<ul class="list-group">
<li class="list-group-item" ng-class="{active: vm.serviceName == service}" ng-repeat="(service, slices) in vm.services">
@@ -12,7 +14,13 @@
</li>
</ul>
</div>
- <div class="col-sm-9">
+
+ <div class="col-sm-9 repeat-container" ng-show="!vm.error">
<service-detail service="vm.selectedService"></service-detail>
</div>
+ <div class="col-sm-9" ng-show="vm.error">
+ <div class="alert alert-danger">
+ {{vm.error}}
+ </div>
+ </div>
</div>
\ No newline at end of file