ui_bibz 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.yardoc/checksums +4 -4
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +3 -3
- data/README.md +46 -45
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +1 -1
- data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
- data/doc/UiBibz/Concerns/Models.html +1 -1
- data/doc/UiBibz/Concerns.html +1 -1
- data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
- data/doc/UiBibz/Helpers/UiCoreHelper.html +1 -1
- data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
- data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
- data/doc/UiBibz/Helpers.html +1 -1
- data/doc/UiBibz/Rails/Engine.html +1 -1
- data/doc/UiBibz/Rails.html +1 -1
- data/doc/UiBibz/Ui/Base.html +1 -1
- data/doc/UiBibz/Ui/Core/Alert.html +1 -1
- data/doc/UiBibz/Ui/Core/Bar.html +1 -1
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
- data/doc/UiBibz/Ui/Core/Button.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/Col.html +1 -1
- data/doc/UiBibz/Ui/Core/Component.html +1 -1
- data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
- data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
- data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
- data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
- data/doc/UiBibz/Ui/Core/Label.html +1 -1
- data/doc/UiBibz/Ui/Core/List.html +1 -1
- data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
- data/doc/UiBibz/Ui/Core/Modal.html +1 -1
- data/doc/UiBibz/Ui/Core/ModalBody.html +1 -1
- data/doc/UiBibz/Ui/Core/ModalFooter.html +1 -1
- data/doc/UiBibz/Ui/Core/ModalHeader.html +1 -1
- data/doc/UiBibz/Ui/Core/Nav.html +1 -1
- data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
- data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
- data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
- data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
- data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
- data/doc/UiBibz/Ui/Core/Panel.html +1 -1
- data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
- data/doc/UiBibz/Ui/Core/Row.html +1 -1
- data/doc/UiBibz/Ui/Core/Stars.html +1 -1
- data/doc/UiBibz/Ui/Core.html +1 -1
- data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
- data/doc/UiBibz/Ui/Ux/Column.html +1 -1
- data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
- data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
- data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Store.html +1 -1
- data/doc/UiBibz/Ui/Ux/Table.html +1 -1
- data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
- data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
- data/doc/UiBibz/Ui/Ux.html +1 -1
- data/doc/UiBibz/Ui.html +1 -1
- data/doc/UiBibz/Utils/Internationalization.html +1 -1
- data/doc/UiBibz/Utils.html +1 -1
- data/doc/UiBibz.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +47 -46
- data/doc/index.html +47 -46
- data/doc/top-level-namespace.html +1 -1
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +1 -1
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +1 -1
- data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +1 -1
- data/lib/ui_bibz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTI5YWQzMDkyMmY1NGU1YjNjODVlOTM3OWU4MzgwNmQ0NGI1MWU5Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGJjZTlmNjczNDk0YWRkY2NhNTYzMmEzMjEwOWY0YmQ1ZmRmZjRlYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzExNDI2OTdiMjllNWJlNWUwYTAxNTdiZWI5N2IyN2VkNmQ0YTU4MTc1ZDI5
|
10
|
+
OTU4ZGQyZjgyNTMyZDVjOGNkMTNjYmRiMmZiNDRiYzM0ZGZhOWI2MjRhNjA5
|
11
|
+
MGNmM2JkMjE5NWE1ZTJlNThhNGNhZjEzM2YwNjE2MDE2ZDUwYWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDllMmZjNDMxN2NhMDIyODQ2MjgxOTI1MDVkMmM2YjU4YWE1OGNmMjFkNWE1
|
14
|
+
NWM5YTE1MjgxY2JmZTExZGIwMzYzYjUxMmQzYjA2NDRlOWIwODljY2NhNmYy
|
15
|
+
OWMyZmQ4MjM0N2UyOGJjNDExMTY3OTFjNDhlMjMyNDU0MjE1MTU=
|
data/.yardoc/checksums
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
lib/ui_bibz.rb b86436b727c765b1fa18a5351ab42dc288747540
|
2
2
|
lib/ui_bibz/ui/base.rb a0840e2ee2d49117ac28b51dc89d3d724cfb6747
|
3
|
-
lib/ui_bibz/version.rb
|
3
|
+
lib/ui_bibz/version.rb 814ef32a0d9a8ed27c8eea282b2259c2975c5ee9
|
4
4
|
lib/ui_bibz/ui/ux/grid.rb 079a9b94c43980e5ae86b9e4c50499f0153aa345
|
5
5
|
lib/ui_bibz/ui/core/col.rb 657fd5aeed007c9d2848f99f3d7bb4f642bf756c
|
6
6
|
lib/ui_bibz/ui/core/row.rb 539ef1d6caf28cb460671cf3877313b3fc3fd74c
|
@@ -35,10 +35,10 @@ lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb 60ca3ffd3ce3f484249bc5d49bcde53b407
|
|
35
35
|
lib/ui_bibz/ui/ux/table/components/column.rb 9055ce20a2e1a8868502dc5d0735d422babdf73a
|
36
36
|
lib/ui_bibz/ui/ux/table/components/columns.rb ad81e6a9ce7e30e2a9b6491132ce428f710f056f
|
37
37
|
lib/ui_bibz/ui/ux/table/table_search_field.rb 316b44d19cf88e780ba0cfdefcab8c12806e8fa0
|
38
|
-
lib/ui_bibz/ui/ux/table/components/actions.rb
|
38
|
+
lib/ui_bibz/ui/ux/table/components/actions.rb 30019fda78933ff7549815433b0aef570948f661
|
39
39
|
lib/ui_bibz/ui/core/button/button_dropdown.rb 49f453e7024956cf7b5e0ad9989ecac53c7216b2
|
40
40
|
lib/ui_bibz/ui/core/nav/components/nav_link.rb 27fbcf7b456c64178e238e63b3b4e641737635c7
|
41
|
-
lib/ui_bibz/ui/ux/table/extensions/sortable.rb
|
41
|
+
lib/ui_bibz/ui/ux/table/extensions/sortable.rb bef27f0bcec20971dc7a68e22c4be551a8ff3171
|
42
42
|
lib/ui_bibz/ui/ux/table/extensions/paginable.rb 89dd34ccca0c0acaec94e21c32720ce9e3a929e4
|
43
43
|
lib/ui_bibz/ui/ux/table/extensions/searchable.rb 2ab1b29fd7cb5335cb7177a93187729f728726d0
|
44
44
|
lib/ui_bibz/ui/ux/table/extensions/actionable.rb 7ba002df2a38b1e4ea185a63b4aeab9127a72e0d
|
@@ -49,7 +49,7 @@ lib/ui_bibz/ui/core/nav/components/navbar_form.rb 72a4dee1c6fd0d27f6adf62181e740
|
|
49
49
|
lib/ui_bibz/ui/core/modal/components/modal_body.rb 1fa19a7cf70301b89c0fb452dbf5e436d0db5d02
|
50
50
|
lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb 3f592f3bf71c45773280ecc7f0dcec90b8811308
|
51
51
|
lib/ui_bibz/ui/core/progress_bar/components/bar.rb e02355fef5a6b683b9495891e9217b594b27a024
|
52
|
-
lib/ui_bibz/ui/core/button/button_split_dropdown.rb
|
52
|
+
lib/ui_bibz/ui/core/button/button_split_dropdown.rb d6dc0b3cc7170a96a73038ebd033a5334ff50e09
|
53
53
|
lib/ui_bibz/ui/core/modal/components/modal_header.rb f6def330962ffb9ada1146154aed617458115279
|
54
54
|
lib/ui_bibz/ui/core/modal/components/modal_footer.rb 13256ab30019589f28dc28d96dabe6403b54ad52
|
55
55
|
lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb c7e2cf5665b29bc05df096e537fb7ce1056ed908
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ui_bibz (1.2.
|
4
|
+
ui_bibz (1.2.1)
|
5
5
|
bootstrap-sass (~> 3.3.5)
|
6
6
|
font-awesome-sass
|
7
7
|
haml
|
@@ -51,7 +51,7 @@ GEM
|
|
51
51
|
thread_safe (~> 0.3, >= 0.3.4)
|
52
52
|
tzinfo (~> 1.1)
|
53
53
|
arel (6.0.3)
|
54
|
-
autoprefixer-rails (6.0.
|
54
|
+
autoprefixer-rails (6.0.3)
|
55
55
|
execjs
|
56
56
|
json
|
57
57
|
awesome_print (1.6.1)
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
mime-types (>= 1.16, < 3)
|
95
95
|
mime-types (2.6.2)
|
96
96
|
mini_portile (0.6.2)
|
97
|
-
minitest (5.8.
|
97
|
+
minitest (5.8.1)
|
98
98
|
nokogiri (1.6.6.2)
|
99
99
|
mini_portile (~> 0.6.0)
|
100
100
|
rack (1.6.4)
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
![Ui Bibz logo](http://hummel.link/Ui-Bibz/1.2.
|
1
|
+
![Ui Bibz logo](http://hummel.link/Ui-Bibz/1.2.1/images/ui-bibz-logo-without-border.gif)
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/ui_bibz.svg)](http://badge.fury.io/rb/ui_bibz)
|
4
4
|
[![Build Status](https://travis-ci.org/thooams/Ui-Bibz.svg)](https://travis-ci.org/thooams/Ui-Bibz)
|
@@ -67,7 +67,7 @@ dans ```options``` et ```html_options```.
|
|
67
67
|
Ajouter la gem dans Rails :
|
68
68
|
|
69
69
|
```
|
70
|
-
gem "ui_bibz", '~> 1.2.
|
70
|
+
gem "ui_bibz", '~> 1.2.1'
|
71
71
|
```
|
72
72
|
|
73
73
|
Lancer la command suivante :
|
@@ -126,7 +126,7 @@ _Ps: Vous pouvez utiliser les variables sass présentes dans boostrap._
|
|
126
126
|
|
127
127
|
### Alert
|
128
128
|
|
129
|
-
![alert](http://hummel.link/Ui-Bibz/1.2.
|
129
|
+
![alert](http://hummel.link/Ui-Bibz/1.2.1/images/alert.png)
|
130
130
|
|
131
131
|
L'élément ```notify``` à pour ```options``` un Hash acceptant les clefs :
|
132
132
|
|
@@ -137,11 +137,11 @@ L'élément ```notify``` à pour ```options``` un Hash acceptant les clefs :
|
|
137
137
|
notify 'Alert', state: :info, glyph: 'eye'
|
138
138
|
```
|
139
139
|
|
140
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
140
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Alert.html)
|
141
141
|
|
142
142
|
### Breadcrumb (fil d'ariane)
|
143
143
|
|
144
|
-
![breadcrumb](http://hummel.link/Ui-Bibz/1.2.
|
144
|
+
![breadcrumb](http://hummel.link/Ui-Bibz/1.2.1/images/breadcrumb.png)
|
145
145
|
|
146
146
|
L'élément ```breadcrumb``` à pour enfant l'élément ```link``` qui accepte pour option un Hash avec les clefs :
|
147
147
|
|
@@ -159,13 +159,13 @@ breadcrumb do |b|
|
|
159
159
|
end
|
160
160
|
```
|
161
161
|
|
162
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
162
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Breadcrumb.html)
|
163
163
|
|
164
164
|
### Buttons (Boutons)
|
165
165
|
|
166
166
|
#### Button
|
167
167
|
|
168
|
-
![button](http://hummel.link/Ui-Bibz/1.2.
|
168
|
+
![button](http://hummel.link/Ui-Bibz/1.2.1/images/button.png)
|
169
169
|
|
170
170
|
L'élément ```button``` à pour ```options``` un Hash acceptant les clefs :
|
171
171
|
|
@@ -178,14 +178,14 @@ L'élément ```button``` à pour ```options``` un Hash acceptant les clefs :
|
|
178
178
|
button 'Button', { state: :danger, size: :xs, glyph: 'star' } , { class: 'my-button' }
|
179
179
|
```
|
180
180
|
|
181
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
181
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Button.html)
|
182
182
|
|
183
183
|
#### Button Dropdown
|
184
184
|
|
185
185
|
L'élément ```button_dropdown``` accepte pour options les mêmes clefs que l'élément
|
186
186
|
[dropdown](#dropdown).
|
187
187
|
|
188
|
-
![button_link](http://hummel.link/Ui-Bibz/1.2.
|
188
|
+
![button_link](http://hummel.link/Ui-Bibz/1.2.1/images/button_dropdown.png)
|
189
189
|
|
190
190
|
```
|
191
191
|
button_dropdown 'Button Dropdown' do |bd|
|
@@ -198,11 +198,11 @@ button_dropdown 'Button Dropdown' do |bd|
|
|
198
198
|
end
|
199
199
|
```
|
200
200
|
|
201
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
201
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonLink.html)
|
202
202
|
|
203
203
|
#### Button group
|
204
204
|
|
205
|
-
![button_group](http://hummel.link/Ui-Bibz/1.2.
|
205
|
+
![button_group](http://hummel.link/Ui-Bibz/1.2.1/images/button_group.png)
|
206
206
|
|
207
207
|
L'élément ```button_group``` à pour ```options``` un Hash acceptant les clefs :
|
208
208
|
|
@@ -234,11 +234,11 @@ button_group do
|
|
234
234
|
end
|
235
235
|
```
|
236
236
|
|
237
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
237
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonGroup.html)
|
238
238
|
|
239
239
|
#### Button Link (Lien Bouton)
|
240
240
|
|
241
|
-
![button_link](http://hummel.link/Ui-Bibz/1.2.
|
241
|
+
![button_link](http://hummel.link/Ui-Bibz/1.2.1/images/button_link.png)
|
242
242
|
|
243
243
|
L'élément ```button_link``` à pour ```options``` un Hash acceptant les clefs :
|
244
244
|
|
@@ -246,11 +246,11 @@ L'élément ```button_link``` à pour ```options``` un Hash acceptant les clefs
|
|
246
246
|
button_link 'Button', { url: '#button', state: :primary, glyph: 'star' }, { class: 'my-button' }
|
247
247
|
```
|
248
248
|
|
249
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
249
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonLink.html)
|
250
250
|
|
251
251
|
#### Button Split Dropdown
|
252
252
|
|
253
|
-
![button_group](http://hummel.link/Ui-Bibz/1.2.
|
253
|
+
![button_group](http://hummel.link/Ui-Bibz/1.2.1/images/button_split_dropdown.png)
|
254
254
|
|
255
255
|
L'élément ```button_split_dropdown```accepte pour options les mêmes clefs
|
256
256
|
que l'élément [dropdown](#dropdown).
|
@@ -267,7 +267,7 @@ button_split_dropdown 'Dropdown', state: :primary do |d|
|
|
267
267
|
end
|
268
268
|
```
|
269
269
|
|
270
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
270
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonSplitDropdown.html)
|
271
271
|
|
272
272
|
### Dropdown
|
273
273
|
|
@@ -304,11 +304,11 @@ d.list '--'
|
|
304
304
|
...
|
305
305
|
```
|
306
306
|
|
307
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
307
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Dropdown.html)
|
308
308
|
|
309
309
|
### Progress Bar
|
310
310
|
|
311
|
-
![glyph](http://hummel.link/Ui-Bibz/1.2.
|
311
|
+
![glyph](http://hummel.link/Ui-Bibz/1.2.1/images/progress_bar.png)
|
312
312
|
|
313
313
|
L'élément ```progress_bar``` à pour ```options``` un Hash acceptant les clefs :
|
314
314
|
|
@@ -336,11 +336,11 @@ progress_bar(tap: true) do |pb|
|
|
336
336
|
end
|
337
337
|
```
|
338
338
|
|
339
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
339
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ProgressBar.html)
|
340
340
|
|
341
341
|
### Glyph
|
342
342
|
|
343
|
-
![glyph](http://hummel.link/Ui-Bibz/1.2.
|
343
|
+
![glyph](http://hummel.link/Ui-Bibz/1.2.1/images/glyph.png)
|
344
344
|
|
345
345
|
Les glyphs utilisés proviennent de [Font Awesome](http://fontawesome.io/).
|
346
346
|
L'élément ```glyph``` peut contenir un hash pour ```content```
|
@@ -355,11 +355,11 @@ glyph 'star', { size: 3, type: 'fw' }, class: 'star-exemple'
|
|
355
355
|
glyph { name: 'star', size: 3, type: 'fw' }
|
356
356
|
```
|
357
357
|
|
358
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
358
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Glyph.html)
|
359
359
|
|
360
360
|
### Stars
|
361
361
|
|
362
|
-
![stars](http://hummel.link/Ui-Bibz/1.2.
|
362
|
+
![stars](http://hummel.link/Ui-Bibz/1.2.1/images/stars.png)
|
363
363
|
|
364
364
|
L'élément ```stars``` à pour ```options``` un Hash acceptant les clefs :
|
365
365
|
|
@@ -376,12 +376,12 @@ stars num: 3 do
|
|
376
376
|
end
|
377
377
|
```
|
378
378
|
|
379
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
379
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Stars.html)
|
380
380
|
|
381
381
|
|
382
382
|
### Modal
|
383
383
|
|
384
|
-
![modal](http://hummel.link/Ui-Bibz/1.2.
|
384
|
+
![modal](http://hummel.link/Ui-Bibz/1.2.1/images/modal.png)
|
385
385
|
|
386
386
|
Les éléments ```header```, ```body```, ```footer``` sont des éléments [component](#component).
|
387
387
|
|
@@ -398,11 +398,11 @@ modal do |m|
|
|
398
398
|
end
|
399
399
|
```
|
400
400
|
|
401
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
401
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Modal.html)
|
402
402
|
|
403
403
|
### Panel
|
404
404
|
|
405
|
-
![panel](http://hummel.link/Ui-Bibz/1.2.
|
405
|
+
![panel](http://hummel.link/Ui-Bibz/1.2.1/images/panel.png)
|
406
406
|
|
407
407
|
L'élément ```panel``` à pour ```options``` un Hash acceptant les clefs :
|
408
408
|
|
@@ -429,11 +429,11 @@ panel({ tap: true, state: :danger, table_options: { actionable: true } }, { clas
|
|
429
429
|
end
|
430
430
|
```
|
431
431
|
|
432
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
432
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Panel.html)
|
433
433
|
|
434
434
|
### Table
|
435
435
|
|
436
|
-
![table](http://hummel.link/Ui-Bibz/1.2.
|
436
|
+
![table](http://hummel.link/Ui-Bibz/1.2.1/images/table.png)
|
437
437
|
|
438
438
|
L'élément ```table``` est un tableau composé d'une recherche, une pagination et un trie de colonnes intégrées.
|
439
439
|
Le tableau est compatible [I18n](http://guides.rubyonrails.org/i18n.html).
|
@@ -469,7 +469,7 @@ searchable_attributes :name_fr, :name_en
|
|
469
469
|
|
470
470
|
Un champ recherche est disponible dans la vue :
|
471
471
|
|
472
|
-
![table_search_field](http://hummel.link/Ui-Bibz/1.2.
|
472
|
+
![table_search_field](http://hummel.link/Ui-Bibz/1.2.1/images/table_search_field.png)
|
473
473
|
|
474
474
|
```
|
475
475
|
table_search_field store: @documents
|
@@ -483,7 +483,7 @@ table_pagination store: @documents
|
|
483
483
|
|
484
484
|
Un champs select par page est disponible dans la vue :
|
485
485
|
|
486
|
-
![table_search_field](http://hummel.link/Ui-Bibz/1.2.
|
486
|
+
![table_search_field](http://hummel.link/Ui-Bibz/1.2.1/images/table_pagination_per_page.png)
|
487
487
|
|
488
488
|
```
|
489
489
|
table_pagination_per_page store: @documents
|
@@ -514,7 +514,7 @@ Exemple :
|
|
514
514
|
|
515
515
|
```
|
516
516
|
# app/models/document.rb
|
517
|
-
searchable_attributes :name_fr, :name_en, user: :name
|
517
|
+
searchable_attributes :name_fr, :name_en, { user: :name }
|
518
518
|
```
|
519
519
|
|
520
520
|
Dans la **vue**, insérer la méthode ```table``` qui peut contenir plusieurs arguments :
|
@@ -733,11 +733,11 @@ activerecord:
|
|
733
733
|
...
|
734
734
|
```
|
735
735
|
|
736
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
736
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Ux/Table.html)
|
737
737
|
|
738
738
|
### Table Panel
|
739
739
|
|
740
|
-
![table_panel](http://hummel.link/Ui-Bibz/1.2.
|
740
|
+
![table_panel](http://hummel.link/Ui-Bibz/1.2.1/images/table_panel.png)
|
741
741
|
|
742
742
|
Le composant ```table_panel``` est un [tableau](#table) dans un [panel](#panel).
|
743
743
|
|
@@ -764,11 +764,11 @@ table_panel({ store: @users, tap: true, glyph: 'home', state: :danger }) do |g|
|
|
764
764
|
end
|
765
765
|
```
|
766
766
|
|
767
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
767
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Ux/TablePanel.html)
|
768
768
|
|
769
769
|
### List
|
770
770
|
|
771
|
-
![list](http://hummel.link/Ui-Bibz/1.2.
|
771
|
+
![list](http://hummel.link/Ui-Bibz/1.2.1/images/list.png)
|
772
772
|
|
773
773
|
Par défaut une liste à pour tag ```<li>```.
|
774
774
|
Mais elle peut se transformer en lien ```<a>``` à travers l'option ```type:```.
|
@@ -789,11 +789,11 @@ list_group do |lg|
|
|
789
789
|
end
|
790
790
|
```
|
791
791
|
|
792
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
792
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/List.html)
|
793
793
|
|
794
794
|
### Nav
|
795
795
|
|
796
|
-
![nav](http://hummel.link/Ui-Bibz/1.2.
|
796
|
+
![nav](http://hummel.link/Ui-Bibz/1.2.1/images/nav.png)
|
797
797
|
|
798
798
|
Par défaut la navigation comporte des onglets "tab".
|
799
799
|
L'élément ```nav``` accepte en option les arguments :
|
@@ -813,11 +813,11 @@ nav(type: :pills, position: :justified) do |d|
|
|
813
813
|
end
|
814
814
|
```
|
815
815
|
|
816
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
816
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Nav.html)
|
817
817
|
|
818
818
|
### Navbar
|
819
819
|
|
820
|
-
![navbar](http://hummel.link/Ui-Bibz/1.2.
|
820
|
+
![navbar](http://hummel.link/Ui-Bibz/1.2.1/images/navbar.png)
|
821
821
|
|
822
822
|
Par défaut la navigation comporte des onglets "tab".
|
823
823
|
L'élément ```navbar``` accepte en option les arguments :
|
@@ -848,12 +848,12 @@ navbar(type: :inverse, position: :top) do |nb|
|
|
848
848
|
end
|
849
849
|
```
|
850
850
|
|
851
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
851
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Navbar.html)
|
852
852
|
|
853
853
|
|
854
854
|
### Etiquette
|
855
855
|
|
856
|
-
![list](http://hummel.link/Ui-Bibz/1.2.
|
856
|
+
![list](http://hummel.link/Ui-Bibz/1.2.1/images/etiquette.png)
|
857
857
|
|
858
858
|
|
859
859
|
NB : Les méthodes ```Tag, label``` sont déjà utilisées par Rails.
|
@@ -870,7 +870,7 @@ etiquette 'label 2', state: :success
|
|
870
870
|
etiquette 'label 2', state: :danger
|
871
871
|
```
|
872
872
|
|
873
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
873
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Etiquette.html)
|
874
874
|
|
875
875
|
### Row
|
876
876
|
|
@@ -883,7 +883,7 @@ end
|
|
883
883
|
# => <div class='row toto'>content</div>
|
884
884
|
```
|
885
885
|
|
886
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
886
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Content.html)
|
887
887
|
|
888
888
|
### Col
|
889
889
|
|
@@ -914,7 +914,7 @@ end
|
|
914
914
|
# => <div class='col-xs-offset-1 col-md-3 test'>content</div>
|
915
915
|
```
|
916
916
|
|
917
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
917
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Col.html)
|
918
918
|
|
919
919
|
### Grid
|
920
920
|
|
@@ -980,7 +980,7 @@ grid do |g|
|
|
980
980
|
end
|
981
981
|
```
|
982
982
|
|
983
|
-
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.
|
983
|
+
Voir la [doc](http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Ux/Grid.html)
|
984
984
|
|
985
985
|
### Arguments and Values
|
986
986
|
|
@@ -1040,6 +1040,7 @@ panel 'Exemple', { state: :success }, { class: 'exemple' }
|
|
1040
1040
|
* [Ui Bibz v1.1.6](http://hummel.link/Ui-Bibz/1.1.6/index.html)
|
1041
1041
|
* [Ui Bibz v1.1.7](http://hummel.link/Ui-Bibz/1.1.7/index.html)
|
1042
1042
|
* [Ui Bibz v1.2.0](http://hummel.link/Ui-Bibz/1.2.0/index.html)
|
1043
|
+
* [Ui Bibz v1.2.1](http://hummel.link/Ui-Bibz/1.2.1/index.html)
|
1043
1044
|
|
1044
1045
|
# Roadmap
|
1045
1046
|
|
@@ -165,7 +165,7 @@
|
|
165
165
|
</div>
|
166
166
|
|
167
167
|
<div id="footer">
|
168
|
-
Generated on
|
168
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
169
169
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
170
170
|
0.8.7.6 (ruby-1.9.3).
|
171
171
|
</div>
|
@@ -111,7 +111,7 @@
|
|
111
111
|
</div>
|
112
112
|
|
113
113
|
<div id="footer">
|
114
|
-
Generated on
|
114
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
115
115
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
116
116
|
0.8.7.6 (ruby-1.9.3).
|
117
117
|
</div>
|
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
111
|
0.8.7.6 (ruby-1.9.3).
|
112
112
|
</div>
|
data/doc/UiBibz/Concerns.html
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
111
|
0.8.7.6 (ruby-1.9.3).
|
112
112
|
</div>
|
@@ -263,7 +263,7 @@
|
|
263
263
|
</div>
|
264
264
|
|
265
265
|
<div id="footer">
|
266
|
-
Generated on
|
266
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
267
267
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
268
268
|
0.8.7.6 (ruby-1.9.3).
|
269
269
|
</div>
|
@@ -1225,7 +1225,7 @@ lib/action_view/helpers/form_helper.rb" conflict</p>
|
|
1225
1225
|
</div>
|
1226
1226
|
|
1227
1227
|
<div id="footer">
|
1228
|
-
Generated on
|
1228
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
1229
1229
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1230
1230
|
0.8.7.6 (ruby-1.9.3).
|
1231
1231
|
</div>
|
@@ -454,7 +454,7 @@
|
|
454
454
|
</div>
|
455
455
|
|
456
456
|
<div id="footer">
|
457
|
-
Generated on
|
457
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
458
458
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
459
459
|
0.8.7.6 (ruby-1.9.3).
|
460
460
|
</div>
|
@@ -178,7 +178,7 @@
|
|
178
178
|
</div>
|
179
179
|
|
180
180
|
<div id="footer">
|
181
|
-
Generated on
|
181
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
182
182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
183
183
|
0.8.7.6 (ruby-1.9.3).
|
184
184
|
</div>
|
data/doc/UiBibz/Helpers.html
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
111
|
0.8.7.6 (ruby-1.9.3).
|
112
112
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.8.7.6 (ruby-1.9.3).
|
120
120
|
</div>
|
data/doc/UiBibz/Rails.html
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
111
|
0.8.7.6 (ruby-1.9.3).
|
112
112
|
</div>
|
data/doc/UiBibz/Ui/Base.html
CHANGED
@@ -295,7 +295,7 @@
|
|
295
295
|
</div>
|
296
296
|
|
297
297
|
<div id="footer">
|
298
|
-
Generated on
|
298
|
+
Generated on Thu Sep 24 16:49:47 2015 by
|
299
299
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
300
300
|
0.8.7.6 (ruby-1.9.3).
|
301
301
|
</div>
|
@@ -371,7 +371,7 @@ end.render</code></pre>
|
|
371
371
|
</div>
|
372
372
|
|
373
373
|
<div id="footer">
|
374
|
-
Generated on
|
374
|
+
Generated on Thu Sep 24 16:49:48 2015 by
|
375
375
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
376
376
|
0.8.7.6 (ruby-1.9.3).
|
377
377
|
</div>
|
data/doc/UiBibz/Ui/Core/Bar.html
CHANGED
@@ -360,7 +360,7 @@ arguments in options attribute:</p>
|
|
360
360
|
</div>
|
361
361
|
|
362
362
|
<div id="footer">
|
363
|
-
Generated on
|
363
|
+
Generated on Thu Sep 24 16:49:50 2015 by
|
364
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
365
|
0.8.7.6 (ruby-1.9.3).
|
366
366
|
</div>
|
@@ -431,7 +431,7 @@ end</code></pre>
|
|
431
431
|
</div>
|
432
432
|
|
433
433
|
<div id="footer">
|
434
|
-
Generated on
|
434
|
+
Generated on Thu Sep 24 16:49:49 2015 by
|
435
435
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
436
436
|
0.8.7.6 (ruby-1.9.3).
|
437
437
|
</div>
|
@@ -358,7 +358,7 @@ end.render</code></pre>
|
|
358
358
|
</div>
|
359
359
|
|
360
360
|
<div id="footer">
|
361
|
-
Generated on
|
361
|
+
Generated on Thu Sep 24 16:49:50 2015 by
|
362
362
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
363
|
0.8.7.6 (ruby-1.9.3).
|
364
364
|
</div>
|
@@ -367,7 +367,7 @@ arguments in options attribute:</p>
|
|
367
367
|
</div>
|
368
368
|
|
369
369
|
<div id="footer">
|
370
|
-
Generated on
|
370
|
+
Generated on Thu Sep 24 16:49:48 2015 by
|
371
371
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
372
372
|
0.8.7.6 (ruby-1.9.3).
|
373
373
|
</div>
|
@@ -389,7 +389,7 @@ end</code></pre>
|
|
389
389
|
</div>
|
390
390
|
|
391
391
|
<div id="footer">
|
392
|
-
Generated on
|
392
|
+
Generated on Thu Sep 24 16:49:49 2015 by
|
393
393
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
394
394
|
0.8.7.6 (ruby-1.9.3).
|
395
395
|
</div>
|
@@ -360,7 +360,7 @@ end</code></pre>
|
|
360
360
|
</div>
|
361
361
|
|
362
362
|
<div id="footer">
|
363
|
-
Generated on
|
363
|
+
Generated on Thu Sep 24 16:49:49 2015 by
|
364
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
365
|
0.8.7.6 (ruby-1.9.3).
|
366
366
|
</div>
|
@@ -369,7 +369,7 @@ arguments in options attribute:</p>
|
|
369
369
|
</div>
|
370
370
|
|
371
371
|
<div id="footer">
|
372
|
-
Generated on
|
372
|
+
Generated on Thu Sep 24 16:49:48 2015 by
|
373
373
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
374
374
|
0.8.7.6 (ruby-1.9.3).
|
375
375
|
</div>
|
@@ -391,7 +391,7 @@ end</code></pre>
|
|
391
391
|
</div>
|
392
392
|
|
393
393
|
<div id="footer">
|
394
|
-
Generated on
|
394
|
+
Generated on Thu Sep 24 16:49:50 2015 by
|
395
395
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
396
396
|
0.8.7.6 (ruby-1.9.3).
|
397
397
|
</div>
|