watable-rails 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/app/assets/images/{glyphicons-halflings-white.png → img/glyphicons-halflings-white.png} +0 -0
- data/app/assets/images/{glyphicons-halflings.png → img/glyphicons-halflings.png} +0 -0
- data/app/assets/javascripts/jquery.watable.js +5 -5
- data/lib/watable-rails/version.rb +1 -1
- metadata +7 -13
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
N2VhMThjYWFlNzBmNWRjNGVkMzA3OGQyYWVlZWMyNmEwOWQ1ZGY2ZQ==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ZjcwMmM0Mjc0YTRkNGE5MjdmNDc2MzIyMjM2ZGRjMWQzOGY2YTEzNQ==
|
|
7
|
+
SHA512:
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
Mzc5YmY3NTI5ZTMyNmI0ODIwZjJmM2I3NDVjMTEyZDkzM2Y2Yzc4OTMzZWMz
|
|
10
|
+
MzczYjU0NDM2YjNhY2FhMWVhZTc5ZmQ1YWI3NzNmZjU3MGMzMGQwY2YwNTU1
|
|
11
|
+
NDg1MGU5M2Q3ZjdiMmYxZWZlODJmMTIzOWE0Mzg4NDYxYjNjOGE=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
ZTdhOWMyNTI4YTU3OWQzZTQzNDRlOTZiNGZhYWVkMmU5ZTViN2Q5NjA4MDI3
|
|
14
|
+
YmQxZDliZmViYzk3ODUyNzc0MzI5YTA0N2U3MTQzN2I5NGM3YzAwOTI4NmNk
|
|
15
|
+
MWY1M2NkNjJiYWQ4NmM1OWNlZGU0OThiZjk5ZTE4NGIxZDI2NDE=
|
data/app/assets/images/{glyphicons-halflings-white.png → img/glyphicons-halflings-white.png}
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -409,10 +409,10 @@
|
|
|
409
409
|
|
|
410
410
|
//create the footer
|
|
411
411
|
if (!_foot) {
|
|
412
|
-
_table.find('
|
|
413
|
-
_foot = $('<
|
|
412
|
+
_table.find('tr.button-bar').remove();
|
|
413
|
+
//_foot = $('<thead></thead>').insertBefore(_head);
|
|
414
414
|
|
|
415
|
-
var footRow = $('<tr></tr>').
|
|
415
|
+
var footRow = $('<tr class="button-bar"></tr>').prependTo(_head);
|
|
416
416
|
var footCell = $('<td colspan="999"></td>').appendTo(footRow);
|
|
417
417
|
|
|
418
418
|
//create summary
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
//create pagesize dropdown
|
|
459
459
|
if (priv.options.pageSizes.length) {
|
|
460
460
|
var div = $('<div class="btn-group dropup pagesize"></div>').appendTo(footToolbar);
|
|
461
|
-
var btn = $('<button class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
461
|
+
var btn = $('<button class="btn dropdown-toggle" data-toggle="dropdown" href="#">'+priv.options.rowsButtonLabel+' </button>').appendTo(div);
|
|
462
462
|
var span = $('<span class="caret"></span>').appendTo(btn);
|
|
463
463
|
var ul = $('<ul class="dropdown-menu">').appendTo(div);
|
|
464
464
|
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
//create columnpicker dropdown
|
|
473
473
|
if (priv.options.columnPicker) {
|
|
474
474
|
var div = $('<div class="btn-group dropup columnpicker"></div>').appendTo(footToolbar);
|
|
475
|
-
var btn = $('<button class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
475
|
+
var btn = $('<button class="btn dropdown-toggle" data-toggle="dropdown" href="#">'+priv.options.columnsButtonLabel+' </button>').appendTo(div);
|
|
476
476
|
var span = $('<span class="caret"></span>').appendTo(btn);
|
|
477
477
|
var ul = $('<ul class="dropdown-menu">').appendTo(div);
|
|
478
478
|
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: watable-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.0.2
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Mike
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: rails
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - ~>
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ~>
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -30,7 +27,6 @@ dependencies:
|
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: jquery-rails
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
31
|
- - ! '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
@@ -38,7 +34,6 @@ dependencies:
|
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
38
|
- - ! '>='
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
@@ -50,8 +45,8 @@ executables: []
|
|
|
50
45
|
extensions: []
|
|
51
46
|
extra_rdoc_files: []
|
|
52
47
|
files:
|
|
53
|
-
- app/assets/images/glyphicons-halflings.png
|
|
54
|
-
- app/assets/images/glyphicons-halflings-white.png
|
|
48
|
+
- app/assets/images/img/glyphicons-halflings.png
|
|
49
|
+
- app/assets/images/img/glyphicons-halflings-white.png
|
|
55
50
|
- app/assets/javascripts/watable-rails/application.js
|
|
56
51
|
- app/assets/javascripts/watable-rails/bootstrap.min.js
|
|
57
52
|
- app/assets/javascripts/jquery.watable.js
|
|
@@ -72,27 +67,26 @@ files:
|
|
|
72
67
|
- test/watable-rails_test.rb
|
|
73
68
|
homepage: https://github.com/firemind/watable-rails
|
|
74
69
|
licenses: []
|
|
70
|
+
metadata: {}
|
|
75
71
|
post_install_message:
|
|
76
72
|
rdoc_options: []
|
|
77
73
|
require_paths:
|
|
78
74
|
- lib
|
|
79
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
|
-
none: false
|
|
81
76
|
requirements:
|
|
82
77
|
- - ! '>='
|
|
83
78
|
- !ruby/object:Gem::Version
|
|
84
79
|
version: '0'
|
|
85
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
|
-
none: false
|
|
87
81
|
requirements:
|
|
88
82
|
- - ! '>='
|
|
89
83
|
- !ruby/object:Gem::Version
|
|
90
84
|
version: '0'
|
|
91
85
|
requirements: []
|
|
92
86
|
rubyforge_project:
|
|
93
|
-
rubygems_version: 1.
|
|
87
|
+
rubygems_version: 2.1.9
|
|
94
88
|
signing_key:
|
|
95
|
-
specification_version:
|
|
89
|
+
specification_version: 4
|
|
96
90
|
summary: WATable jQuery Extensions as rails assets
|
|
97
91
|
test_files:
|
|
98
92
|
- test/integration/navigation_test.rb
|