improved the look of the resources selected plugin
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 30 Sep 2013 12:34:37 +0000 (14:34 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 30 Sep 2013 12:34:37 +0000 (14:34 +0200)
plugins/resources_selected/static/css/resources_selected.css
plugins/resources_selected/templates/resources_selected.html

index 1759ad2..c9893cb 100644 (file)
@@ -22,3 +22,15 @@ tr.remove td{
 .ResourcesSelected .removed {
     background-color: #F6CECE;
 }
+
+div.resources-selected-spacer {
+    margin: 20px 15px;
+}
+
+#pending__table_paginate {
+    margin-bottom: 10px;
+}
+
+thead.resources-selected th, tfoot.resources-selected th {
+    background: url('../img/tablesort-header.png') repeat-x; 
+}
index 18161b3..0d84007 100644 (file)
@@ -1,17 +1,15 @@
+<div class='resources-selected-spacer'>
 <table class='display' id='{{domid}}__table'>
-  <thead>
-    <tr>
-      <th>action</th>
-      <th>key</th>
-      <th>value</th>
-      <th>status</th>
-      <th>+/-</th>
-    </tr>
+  <thead class="resources-selected">
+    <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> <th>+/-</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>
 </table>
+</div>
 <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>
-