-<div id="plugin-{{ domid }}" class="" ng-app="myApp">\r
+<div id="plugin-{{ domid }}-loader" style="text-align:center;">\r
+ <img src="../../static/img/loading-7b6dc55620a355b55b835f6b4c300f9b.gif" alt="loading" style="width:100px;" />\r
+ <h3>Loading Data...</h3>\r
+</div>\r
+<div id="plugin-{{ domid }}" class="" ng-app="myApp" style="display:none;">\r
<div class="row m-b">\r
<div class="col-md-1">\r
<label for="inputEmail3" class="col-sm-2 control-label">Date</label>\r
</thead>\r
<tbody>\r
<tr ng-repeat="resource in resources" ng-class-odd="''" ng-class-even="'even'">\r
- <th data-resourceid="{[{ resource.id }]}">{[{ resource.name }]}</th>\r
+ <th data-resourceid="{[{ resource.id }]}" data-resourceindex="{[{ resource.index }]}">{[{ resource.name }]}</th>\r
<td ng-repeat="lease in resource.leases" data-slotid="{[{ lease.id }]}" ng-class="{{ 'lease.status' }}"></td>\r
</tr>\r
</tbody>\r