scheduler com
[unfold.git] / plugins / scheduler2 / templates / scheduler.html
index 4e58fcd..9127a9d 100755 (executable)
@@ -1,4 +1,8 @@
-<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
@@ -50,7 +54,7 @@
                 </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