adminlte_assets 0.0.36 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -3
- data/lib/adminlte_assets/version.rb +5 -1
- metadata +7 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b30c78bb55549d65960159dc7df7f7f9a68e9655
|
4
|
+
data.tar.gz: 2d6b8b2b3d2ae742fe01d073d796f248e5615431
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 834c155de12d8229e744b928312ce0e933646848532527e65cb5630b5fef3865e44c04660671acde04857e168a30d0afb9ac6ef6221e2f87be707f550830679e
|
7
|
+
data.tar.gz: 652d91bd61e071323c00a334ba9b3c23aab9dbb061ffb23dd1f22ac70467bf0e2612857a255ebd9b73962ee86e6cd43f436cd490644e51b400a8112f08490f77
|
data/README.md
CHANGED
@@ -109,7 +109,9 @@ Add this few lines of code:
|
|
109
109
|
|
110
110
|
|
111
111
|
### DateRangePicker
|
112
|
-
This is a date picker this can be used as **range date picker** or **single date picker**.
|
112
|
+
This is a date picker this can be used as **range date picker** or **single date picker** or **date piker**.
|
113
|
+
Range pickers include date and time.
|
114
|
+
There's also datepicker which is a single date picker without timestamp.
|
113
115
|
|
114
116
|
#### Javscripts
|
115
117
|
DateRangePicker require the `moment` JS library, we create `all.js` that automatically add this requirement and some other things.
|
@@ -126,11 +128,14 @@ Also `all.js` include by default these few lines of JavaScript:
|
|
126
128
|
$('input[data-behaviour="daterange"]').daterangepicker($.PluginsOptions.daterangepicker.single);
|
127
129
|
|
128
130
|
$('input[data-behaviour="daterange-single"]').daterangepicker($.PluginsOptions.daterangepicker.single);
|
131
|
+
|
132
|
+
$('input[data-behaviour="datepicker"]').daterangepicker($.PluginsOptions.datepicker);
|
129
133
|
~~~
|
130
134
|
|
131
|
-
And this means that you can add `data-behaviour` attribute with `daterange` or `daterange-single` :
|
135
|
+
And this means that you can add `data-behaviour` attribute with `datepicker`, `daterange` or `daterange-single` :
|
132
136
|
|
133
137
|
~~~
|
138
|
+
<%= f.text_field :test_created_at, 'data-behaviour'=> 'datepicker' %>
|
134
139
|
<%= f.text_field :test_created_at, 'data-behaviour'=> 'daterange' %>
|
135
140
|
<%= f.text_field :test_created_at, 'data-behaviour'=> 'daterange-single' %>
|
136
141
|
~~~
|
@@ -183,4 +188,4 @@ And this means that you can add `data-behaviour` attribute with `colorpicker` in
|
|
183
188
|
/*
|
184
189
|
*= require adminlte/plugins/colorpicker/bootstrap-colorpicker
|
185
190
|
*/
|
186
|
-
~~~
|
191
|
+
~~~
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adminlte_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Coditramuntana
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 4.2.1
|
19
|
+
version: '5.0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 4.2.1
|
26
|
+
version: '5.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bootstrap-sass
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,20 +70,14 @@ dependencies:
|
|
76
70
|
requirements:
|
77
71
|
- - "~>"
|
78
72
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 4.2.1
|
73
|
+
version: '5.0'
|
83
74
|
type: :runtime
|
84
75
|
prerelease: false
|
85
76
|
version_requirements: !ruby/object:Gem::Requirement
|
86
77
|
requirements:
|
87
78
|
- - "~>"
|
88
79
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 4.2.1
|
80
|
+
version: '5.0'
|
93
81
|
- !ruby/object:Gem::Dependency
|
94
82
|
name: bundler
|
95
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -269,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
257
|
version: '0'
|
270
258
|
requirements: []
|
271
259
|
rubyforge_project:
|
272
|
-
rubygems_version: 2.5.
|
260
|
+
rubygems_version: 2.5.2
|
273
261
|
signing_key:
|
274
262
|
specification_version: 4
|
275
263
|
summary: AdminLTE Bootstrap template.
|