resources_selected: remove tfoot, and disable non-implemented buttons
[myslice.git] / plugins / resources_selected / templates / resources_selected.html
index 22115d7..01e2a03 100644 (file)
@@ -1,15 +1,16 @@
 <div class='resources-selected-spacer'>
 <table class='display' id='{{domid}}__table'>
   <thead class="resources-selected">
-    <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> <!--<th>+/-</th>--> </tr>
+    <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> </tr>
   </thead>
   <tbody></tbody>
-  <tfoot class="resources-selected">
-    <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> <!--<th>+/-</th>--> </tr>
-  </tfoot>
+<!--<tfoot class="resources-selected">
+<tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th></tr>
+</tfoot>-->
 </table>
 </div>
+<!--not all buttons are expected to work for now, hence the disabled mark-->
 <button type="button" id="{{domid}}__update"  class="btn btn-default">Update</button>
-<button type="button" id="{{domid}}__refresh"  class="btn btn-default">Refresh</button>
-<button type="button" id="{{domid}}__reset"  class="btn btn-default">Reset</button>
-<button type="button" id="{{domid}}__clear_annotations"  class="btn btn-default">Clear Annotations</button>
+<button type="button" id="{{domid}}__refresh"  class="btn btn-default" disabled>Refresh</button>
+<button type="button" id="{{domid}}__reset"  class="btn btn-default" disabled>Reset</button>
+<button type="button" id="{{domid}}__clear_annotations"  class="btn btn-default" disabled>Clear Annotations</button>