buttons in the resources selected area are styled by bootstrap
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 26 Sep 2013 09:27:34 +0000 (11:27 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 26 Sep 2013 09:27:34 +0000 (11:27 +0200)
plugins/resources_selected/static/css/resources_selected.css
plugins/resources_selected/static/js/resources_selected.js
plugins/resources_selected/templates/resources_selected.html

index a9a0bda..1759ad2 100644 (file)
@@ -16,16 +16,6 @@ tr.remove td{
     cursor: pointer;
 }
 
-input.myslice_action {
-   font-size:13px;
-   font-family:Arial,sans-serif;
-   font-weight:bold;
-   color:#0066CC;
-   width:100px;
-   height:30px;
-   background-color:#FF9933;
-}
-
 .ResourcesSelected .added {
     background-color: #E3F6CE;
 }
index fb498c2..d8705c4 100644 (file)
@@ -32,7 +32,7 @@
             var self = this;
             this.table = this.elmt('table').dataTable({
                 //sPaginationType: 'full_numbers',  // Use pagination
-                sPaginationType: 'bootstrap',
+                sPaginationType: 'full_numbers',
                 //bJQueryUI      : true,
                 //bRetrieve      : true,
                 sScrollX       : '100%',                 // Horizontal scrolling 
index aa5e485..e1e56bc 100644 (file)
@@ -8,8 +8,10 @@
       <th>+/-</th>
     </tr>
   </thead>
+  <tbody></tbody>
 </table>
-<input id="{{domid}}__update" type=button value="Update" />
-<input id="{{domid}}__refresh" type=button value="Refresh" />
-<input id="{{domid}}__reset" type=button value="Reset" />
-<input id="{{domid}}__clear_annotations" type=button value="Clear annotations" />
+<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>
+