git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
75570d9
)
buttons in the resources selected area are styled by bootstrap
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 26 Sep 2013 09:27:34 +0000
(11:27 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 26 Sep 2013 09:27:34 +0000
(11:27 +0200)
plugins/resources_selected/static/css/resources_selected.css
patch
|
blob
|
history
plugins/resources_selected/static/js/resources_selected.js
patch
|
blob
|
history
plugins/resources_selected/templates/resources_selected.html
patch
|
blob
|
history
diff --git
a/plugins/resources_selected/static/css/resources_selected.css
b/plugins/resources_selected/static/css/resources_selected.css
index
a9a0bda
..
1759ad2
100644
(file)
--- a/
plugins/resources_selected/static/css/resources_selected.css
+++ b/
plugins/resources_selected/static/css/resources_selected.css
@@
-16,16
+16,6
@@
tr.remove td{
cursor: pointer;
}
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;
}
.ResourcesSelected .added {
background-color: #E3F6CE;
}
diff --git
a/plugins/resources_selected/static/js/resources_selected.js
b/plugins/resources_selected/static/js/resources_selected.js
index
fb498c2
..
d8705c4
100644
(file)
--- a/
plugins/resources_selected/static/js/resources_selected.js
+++ b/
plugins/resources_selected/static/js/resources_selected.js
@@
-32,7
+32,7
@@
var self = this;
this.table = this.elmt('table').dataTable({
//sPaginationType: 'full_numbers', // Use pagination
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
//bJQueryUI : true,
//bRetrieve : true,
sScrollX : '100%', // Horizontal scrolling
diff --git
a/plugins/resources_selected/templates/resources_selected.html
b/plugins/resources_selected/templates/resources_selected.html
index
aa5e485
..
e1e56bc
100644
(file)
--- a/
plugins/resources_selected/templates/resources_selected.html
+++ b/
plugins/resources_selected/templates/resources_selected.html
@@
-8,8
+8,10
@@
<th>+/-</th>
</tr>
</thead>
<th>+/-</th>
</tr>
</thead>
+ <tbody></tbody>
</table>
</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>
+