dynatable_builder 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +17 -0
- data/app/assets/javascripts/dynatable_builder.js +34 -0
- data/lib/dynatable_builder.rb +8 -0
- data/lib/dynatable_builder/builder.rb +104 -0
- data/lib/dynatable_builder/engine.rb +9 -0
- data/lib/dynatable_builder/search.rb +63 -0
- data/lib/dynatable_builder/table.rb +74 -0
- data/lib/dynatable_builder/version.rb +3 -0
- data/lib/dynatable_builder/view_helpers.rb +86 -0
- data/lib/generators/dynatable_generator.rb +39 -0
- data/lib/generators/templates/index.html.erb +18 -0
- data/lib/generators/templates/index.html.haml +14 -0
- data/lib/generators/templates/table.rb +35 -0
- data/vendor/assets/javascripts/jquery.dynatable.js +1733 -0
- data/vendor/assets/stylesheets/jquery.dynatable.css +72 -0
- metadata +200 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Dynatable plugin 0.3.1
|
3
|
+
*
|
4
|
+
* Copyright (c) 2014 Steve Schwartz (JangoSteve)
|
5
|
+
*
|
6
|
+
* Dual licensed under the AGPL and Proprietary licenses:
|
7
|
+
* http://www.dynatable.com/license/
|
8
|
+
*
|
9
|
+
* Date: Tue Jan 02 2014
|
10
|
+
*/
|
11
|
+
th {
|
12
|
+
background: #006a72;
|
13
|
+
}
|
14
|
+
th a {
|
15
|
+
color: #fff;
|
16
|
+
}
|
17
|
+
th a:hover {
|
18
|
+
color: #fff;
|
19
|
+
text-decoration: underline;
|
20
|
+
}
|
21
|
+
|
22
|
+
.dynatable-search {
|
23
|
+
float: right;
|
24
|
+
margin-bottom: 10px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.dynatable-pagination-links {
|
28
|
+
float: right;
|
29
|
+
}
|
30
|
+
|
31
|
+
.dynatable-record-count {
|
32
|
+
display: block;
|
33
|
+
padding: 5px 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
.dynatable-pagination-links span,
|
37
|
+
.dynatable-pagination-links li {
|
38
|
+
display: inline-block;
|
39
|
+
}
|
40
|
+
|
41
|
+
.dynatable-page-link,
|
42
|
+
.dynatable-page-break {
|
43
|
+
display: block;
|
44
|
+
padding: 5px 7px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.dynatable-page-link {
|
48
|
+
cursor: pointer;
|
49
|
+
}
|
50
|
+
|
51
|
+
.dynatable-active-page,
|
52
|
+
.dynatable-disabled-page {
|
53
|
+
cursor: text;
|
54
|
+
}
|
55
|
+
.dynatable-active-page:hover,
|
56
|
+
.dynatable-disabled-page:hover {
|
57
|
+
text-decoration: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
.dynatable-active-page {
|
61
|
+
background: #006a72;
|
62
|
+
border-radius: 5px;
|
63
|
+
color: #fff;
|
64
|
+
}
|
65
|
+
.dynatable-active-page:hover {
|
66
|
+
color: #fff;
|
67
|
+
}
|
68
|
+
.dynatable-disabled-page,
|
69
|
+
.dynatable-disabled-page:hover {
|
70
|
+
background: none;
|
71
|
+
color: #999;
|
72
|
+
}
|
metadata
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dynatable_builder
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ray Zane
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-10-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jquery-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jbuilder
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: kaminari
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: combustion
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.5.2
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.5.2
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.1.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.1.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-activemodel-mocks
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sqlite3
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: faker
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description: A DSL for generating AJAX tables with sorting/searching/pagination using
|
154
|
+
jQuery Dynatables.js.
|
155
|
+
email:
|
156
|
+
- rzane@bodnargroup.com
|
157
|
+
executables: []
|
158
|
+
extensions: []
|
159
|
+
extra_rdoc_files: []
|
160
|
+
files:
|
161
|
+
- MIT-LICENSE
|
162
|
+
- Rakefile
|
163
|
+
- app/assets/javascripts/dynatable_builder.js
|
164
|
+
- lib/dynatable_builder.rb
|
165
|
+
- lib/dynatable_builder/builder.rb
|
166
|
+
- lib/dynatable_builder/engine.rb
|
167
|
+
- lib/dynatable_builder/search.rb
|
168
|
+
- lib/dynatable_builder/table.rb
|
169
|
+
- lib/dynatable_builder/version.rb
|
170
|
+
- lib/dynatable_builder/view_helpers.rb
|
171
|
+
- lib/generators/dynatable_generator.rb
|
172
|
+
- lib/generators/templates/index.html.erb
|
173
|
+
- lib/generators/templates/index.html.haml
|
174
|
+
- lib/generators/templates/table.rb
|
175
|
+
- vendor/assets/javascripts/jquery.dynatable.js
|
176
|
+
- vendor/assets/stylesheets/jquery.dynatable.css
|
177
|
+
homepage: http://freshschedules.co
|
178
|
+
licenses: []
|
179
|
+
metadata: {}
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - '>='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
requirements: []
|
195
|
+
rubyforge_project:
|
196
|
+
rubygems_version: 2.2.2
|
197
|
+
signing_key:
|
198
|
+
specification_version: 4
|
199
|
+
summary: Create jQuery Dynatables with ease.
|
200
|
+
test_files: []
|