ui_bibz 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.yardoc/checksums +3 -3
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +46 -43
- data/doc/UiBibz.html +2 -2
- data/doc/UiBibz/Concerns.html +1 -1
- data/doc/UiBibz/Concerns/Models.html +1 -1
- data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +5 -5
- data/doc/UiBibz/Helpers.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/Rails.html +1 -1
- data/doc/UiBibz/Rails/Engine.html +1 -1
- data/doc/UiBibz/Ui.html +1 -1
- data/doc/UiBibz/Ui/Base.html +1 -1
- data/doc/UiBibz/Ui/Core.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/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/Ux.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/Utils.html +1 -1
- data/doc/UiBibz/Utils/Internationalization.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +47 -44
- data/doc/index.html +47 -44
- data/doc/top-level-namespace.html +1 -1
- data/lib/ui_bibz/concerns/models/searchable.rb +7 -2
- data/lib/ui_bibz/ui/ux/table/table_search_field.rb +6 -1
- data/lib/ui_bibz/version.rb +1 -1
- metadata +2 -2
@@ -1168,7 +1168,7 @@
|
|
1168
1168
|
</div>
|
1169
1169
|
|
1170
1170
|
<div id="footer">
|
1171
|
-
Generated on
|
1171
|
+
Generated on Mon Sep 7 14:49:05 2015 by
|
1172
1172
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1173
1173
|
0.8.7.6 (ruby-1.9.3).
|
1174
1174
|
</div>
|
@@ -329,7 +329,7 @@
|
|
329
329
|
</div>
|
330
330
|
|
331
331
|
<div id="footer">
|
332
|
-
Generated on
|
332
|
+
Generated on Mon Sep 7 14:49:05 2015 by
|
333
333
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
334
334
|
0.8.7.6 (ruby-1.9.3).
|
335
335
|
</div>
|
data/doc/UiBibz/Ui/Ux/Grid.html
CHANGED
@@ -474,7 +474,7 @@ end</code></pre>
|
|
474
474
|
</div>
|
475
475
|
|
476
476
|
<div id="footer">
|
477
|
-
Generated on
|
477
|
+
Generated on Mon Sep 7 14:49:03 2015 by
|
478
478
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
479
479
|
0.8.7.6 (ruby-1.9.3).
|
480
480
|
</div>
|
@@ -372,7 +372,7 @@
|
|
372
372
|
</div>
|
373
373
|
|
374
374
|
<div id="footer">
|
375
|
-
Generated on
|
375
|
+
Generated on Mon Sep 7 14:49:06 2015 by
|
376
376
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
377
377
|
0.8.7.6 (ruby-1.9.3).
|
378
378
|
</div>
|
@@ -367,7 +367,7 @@
|
|
367
367
|
</div>
|
368
368
|
|
369
369
|
<div id="footer">
|
370
|
-
Generated on
|
370
|
+
Generated on Mon Sep 7 14:49:06 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>
|
@@ -291,7 +291,7 @@
|
|
291
291
|
</div>
|
292
292
|
|
293
293
|
<div id="footer">
|
294
|
-
Generated on
|
294
|
+
Generated on Mon Sep 7 14:49:06 2015 by
|
295
295
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
296
296
|
0.8.7.6 (ruby-1.9.3).
|
297
297
|
</div>
|
data/doc/UiBibz/Ui/Ux/Store.html
CHANGED
@@ -1063,7 +1063,7 @@
|
|
1063
1063
|
</div>
|
1064
1064
|
|
1065
1065
|
<div id="footer">
|
1066
|
-
Generated on
|
1066
|
+
Generated on Mon Sep 7 14:49:05 2015 by
|
1067
1067
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1068
1068
|
0.8.7.6 (ruby-1.9.3).
|
1069
1069
|
</div>
|
data/doc/UiBibz/Ui/Ux/Table.html
CHANGED
@@ -683,7 +683,7 @@ end.render</code></pre>
|
|
683
683
|
</div>
|
684
684
|
|
685
685
|
<div id="footer">
|
686
|
-
Generated on
|
686
|
+
Generated on Mon Sep 7 14:49:04 2015 by
|
687
687
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
688
688
|
0.8.7.6 (ruby-1.9.3).
|
689
689
|
</div>
|
@@ -329,7 +329,7 @@ gem</p>
|
|
329
329
|
</div>
|
330
330
|
|
331
331
|
<div id="footer">
|
332
|
-
Generated on
|
332
|
+
Generated on Mon Sep 7 14:49:05 2015 by
|
333
333
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
334
334
|
0.8.7.6 (ruby-1.9.3).
|
335
335
|
</div>
|
@@ -337,7 +337,7 @@ WillPaginate gem</p>
|
|
337
337
|
</div>
|
338
338
|
|
339
339
|
<div id="footer">
|
340
|
-
Generated on
|
340
|
+
Generated on Mon Sep 7 14:49:06 2015 by
|
341
341
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
342
342
|
0.8.7.6 (ruby-1.9.3).
|
343
343
|
</div>
|
@@ -663,7 +663,7 @@ end.render</code></pre>
|
|
663
663
|
</div>
|
664
664
|
|
665
665
|
<div id="footer">
|
666
|
-
Generated on
|
666
|
+
Generated on Mon Sep 7 14:49:05 2015 by
|
667
667
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
668
668
|
0.8.7.6 (ruby-1.9.3).
|
669
669
|
</div>
|
@@ -295,7 +295,7 @@
|
|
295
295
|
</div>
|
296
296
|
|
297
297
|
<div id="footer">
|
298
|
-
Generated on
|
298
|
+
Generated on Mon Sep 7 14:49:06 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>
|
data/doc/UiBibz/Utils.html
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Mon Sep 7 14:49:03 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>
|
@@ -253,7 +253,7 @@
|
|
253
253
|
</div>
|
254
254
|
|
255
255
|
<div id="footer">
|
256
|
-
Generated on
|
256
|
+
Generated on Mon Sep 7 14:49:05 2015 by
|
257
257
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
258
258
|
0.8.7.6 (ruby-1.9.3).
|
259
259
|
</div>
|
data/doc/_index.html
CHANGED
@@ -669,7 +669,7 @@
|
|
669
669
|
</div>
|
670
670
|
|
671
671
|
<div id="footer">
|
672
|
-
Generated on
|
672
|
+
Generated on Mon Sep 7 14:49:03 2015 by
|
673
673
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
674
674
|
0.8.7.6 (ruby-1.9.3).
|
675
675
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><p><img src="http://hummel.link/Ui-Bibz/1.1.
|
64
|
+
<div id="content"><div id='filecontents'><p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/ui-bibz-logo-without-border.gif" alt="Ui Bibz logo"></p>
|
65
65
|
|
66
66
|
<p><a href="http://badge.fury.io/rb/ui_bibz"><img src="https://badge.fury.io/rb/ui_bibz.svg" alt="Gem Version"></a>
|
67
67
|
<a href="https://travis-ci.org/thooams/Ui-Bibz"><img src="https://travis-ci.org/thooams/Ui-Bibz.svg" alt="Build Status"></a>
|
@@ -193,7 +193,7 @@ application ces 3-4 lignes:</p>
|
|
193
193
|
|
194
194
|
<h3>Alert</h3>
|
195
195
|
|
196
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
196
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/alert.png" alt="alert"></p>
|
197
197
|
|
198
198
|
<p>L'élément <code>notify</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
199
199
|
|
@@ -205,11 +205,11 @@ application ces 3-4 lignes:</p>
|
|
205
205
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_notify'>notify</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Alert</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:info</span><span class='comma'>,</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>eye</span><span class='tstring_end'>'</span></span>
|
206
206
|
</code></pre>
|
207
207
|
|
208
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
208
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Alert.html">doc</a></p>
|
209
209
|
|
210
210
|
<h3>Breadcrumb (fil d'ariane)</h3>
|
211
211
|
|
212
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
212
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/breadcrumb.png" alt="breadcrumb"></p>
|
213
213
|
|
214
214
|
<p>L'élément <code>breadcrumb</code> à pour enfant l'élément <code>link</code> qui accepte pour option un Hash avec les clefs :</p>
|
215
215
|
|
@@ -228,13 +228,13 @@ application ces 3-4 lignes:</p>
|
|
228
228
|
<span class='kw'>end</span>
|
229
229
|
</code></pre>
|
230
230
|
|
231
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
231
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Breadcrumb.html">doc</a></p>
|
232
232
|
|
233
233
|
<h3>Buttons (Boutons)</h3>
|
234
234
|
|
235
235
|
<h4>Button</h4>
|
236
236
|
|
237
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
237
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/button.png" alt="button"></p>
|
238
238
|
|
239
239
|
<p>L'élément <code>button</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
240
240
|
|
@@ -248,14 +248,14 @@ application ces 3-4 lignes:</p>
|
|
248
248
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button'>button</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>state:</span> <span class='symbol'>:danger</span><span class='comma'>,</span> <span class='label'>size:</span> <span class='symbol'>:xs</span><span class='comma'>,</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>star</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span> <span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>my-button</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
249
249
|
</code></pre>
|
250
250
|
|
251
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
251
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Button.html">doc</a></p>
|
252
252
|
|
253
253
|
<h4>Button Dropdown</h4>
|
254
254
|
|
255
255
|
<p>L'élément <code>button_dropdown</code> accepte pour options les mêmes clefs que l'élément
|
256
256
|
<a href="#dropdown">dropdown</a>.</p>
|
257
257
|
|
258
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
258
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/button_dropdown.png" alt="button_link"></p>
|
259
259
|
|
260
260
|
<pre class="code ruby"><code class="ruby">button_dropdown 'Button Dropdown' do |bd|
|
261
261
|
bd.link Link 1', '#'
|
@@ -267,11 +267,11 @@ application ces 3-4 lignes:</p>
|
|
267
267
|
end
|
268
268
|
</code></pre>
|
269
269
|
|
270
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
270
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
|
271
271
|
|
272
272
|
<h4>Button group</h4>
|
273
273
|
|
274
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
274
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/button_group.png" alt="button_group"></p>
|
275
275
|
|
276
276
|
<p>L'élément <code>button_group</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
277
277
|
|
@@ -306,22 +306,22 @@ end
|
|
306
306
|
<span class='kw'>end</span>
|
307
307
|
</code></pre>
|
308
308
|
|
309
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
309
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/ButtonGroup.html">doc</a></p>
|
310
310
|
|
311
311
|
<h4>Button Link (Lien Bouton)</h4>
|
312
312
|
|
313
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
313
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/button_link.png" alt="button_link"></p>
|
314
314
|
|
315
315
|
<p>L'élément <code>button_link</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
316
316
|
|
317
317
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button_link'>button_link</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:primary</span><span class='comma'>,</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>star</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>my-button</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
318
318
|
</code></pre>
|
319
319
|
|
320
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
320
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
|
321
321
|
|
322
322
|
<h4>Button Split Dropdown</h4>
|
323
323
|
|
324
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
324
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/button_split_dropdown.png" alt="button_group"></p>
|
325
325
|
|
326
326
|
<p>L'élément <code>button_split_dropdown</code>accepte pour options les mêmes clefs
|
327
327
|
que l'élément <a href="#dropdown">dropdown</a>.</p>
|
@@ -337,7 +337,7 @@ que l'élément <a href="#dropdown">dropdown</a>.</p>
|
|
337
337
|
<span class='kw'>end</span>
|
338
338
|
</code></pre>
|
339
339
|
|
340
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
340
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/ButtonSplitDropdown.html">doc</a></p>
|
341
341
|
|
342
342
|
<h3>Dropdown</h3>
|
343
343
|
|
@@ -376,11 +376,11 @@ d.list '--'
|
|
376
376
|
...
|
377
377
|
</code></pre>
|
378
378
|
|
379
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
379
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Dropdown.html">doc</a></p>
|
380
380
|
|
381
381
|
<h3>Progress Bar</h3>
|
382
382
|
|
383
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
383
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/progress_bar.png" alt="glyph"></p>
|
384
384
|
|
385
385
|
<p>L'élément <code>progress_bar</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
386
386
|
|
@@ -409,11 +409,11 @@ d.list '--'
|
|
409
409
|
<span class='kw'>end</span>
|
410
410
|
</code></pre>
|
411
411
|
|
412
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
412
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/ProgressBar.html">doc</a></p>
|
413
413
|
|
414
414
|
<h3>Glyph</h3>
|
415
415
|
|
416
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
416
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/glyph.png" alt="glyph"></p>
|
417
417
|
|
418
418
|
<p>Les glyphs utilisés proviennent de <a href="http://fontawesome.io/">Font Awesome</a>.
|
419
419
|
L'élément <code>glyph</code> peut contenir un hash pour <code>content</code>
|
@@ -429,11 +429,11 @@ L'élément <code>glyph</code> à pour <code>options</code> un Hash acceptan
|
|
429
429
|
glyph { name: 'star', size: 3, type: 'fw' }
|
430
430
|
</code></pre>
|
431
431
|
|
432
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
432
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Glyph.html">doc</a></p>
|
433
433
|
|
434
434
|
<h3>Stars</h3>
|
435
435
|
|
436
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
436
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/stars.png" alt="stars"></p>
|
437
437
|
|
438
438
|
<p>L'élément <code>stars</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
439
439
|
|
@@ -451,11 +451,11 @@ glyph { name: 'star', size: 3, type: 'fw' }
|
|
451
451
|
<span class='kw'>end</span>
|
452
452
|
</code></pre>
|
453
453
|
|
454
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
454
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Stars.html">doc</a></p>
|
455
455
|
|
456
456
|
<h3>Panel</h3>
|
457
457
|
|
458
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
458
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/panel.png" alt="panel"></p>
|
459
459
|
|
460
460
|
<p>L'élément <code>panel</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
461
461
|
|
@@ -483,11 +483,11 @@ panel({ tap: true, state: :danger, table_options: { actionable: true } }, { clas
|
|
483
483
|
end
|
484
484
|
</code></pre>
|
485
485
|
|
486
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
486
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Panel.html">doc</a></p>
|
487
487
|
|
488
488
|
<h3>Table</h3>
|
489
489
|
|
490
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
490
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/table.png" alt="table"></p>
|
491
491
|
|
492
492
|
<p>L'élément <code>table</code> est un tableau composé d'une recherche, une pagination et un trie de colonnes intégrées.
|
493
493
|
Le tableau est compatible <a href="http://guides.rubyonrails.org/i18n.html">I18n</a>.
|
@@ -523,7 +523,7 @@ faire une recherche sur les attributs souhaités.</p>
|
|
523
523
|
|
524
524
|
<p>Un champ recherche est disponible dans la vue :</p>
|
525
525
|
|
526
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
526
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/table_search_field.png" alt="table_search_field"></p>
|
527
527
|
|
528
528
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_table_search_field'>table_search_field</span> <span class='label'>store:</span> <span class='ivar'>@documents</span>
|
529
529
|
</code></pre>
|
@@ -535,7 +535,7 @@ faire une recherche sur les attributs souhaités.</p>
|
|
535
535
|
|
536
536
|
<p>Un champs select par page est disponible dans la vue :</p>
|
537
537
|
|
538
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
538
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/table_pagination_per_page.png" alt="table_search_field"></p>
|
539
539
|
|
540
540
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_table_pagination_per_page'>table_pagination_per_page</span> <span class='label'>store:</span> <span class='ivar'>@documents</span>
|
541
541
|
</code></pre>
|
@@ -558,12 +558,14 @@ La méthode <code>table_search_pagination</code> contient 3 arguments :</p>
|
|
558
558
|
</code></pre>
|
559
559
|
|
560
560
|
<p>Dans le <strong>model</strong>, insérer la méthode <code>searchable_attributes</code> afin de pouvoir
|
561
|
-
faire une recherche sur les attributs souhaités
|
561
|
+
faire une recherche sur les attributs souhaités. Vous pouvez même faire une
|
562
|
+
recherche sur une table différente en insérant un hash avec pour clef le nom du model et en valeur le nom
|
563
|
+
de l'attribut recherché.</p>
|
562
564
|
|
563
565
|
<p>Exemple :</p>
|
564
566
|
|
565
567
|
<pre class="code ruby"><code class="ruby"><span class='comment'># app/models/document.rb
|
566
|
-
</span><span class='id identifier rubyid_searchable_attributes'>searchable_attributes</span> <span class='symbol'>:name_fr</span><span class='comma'>,</span> <span class='symbol'>:name_en</span>
|
568
|
+
</span><span class='id identifier rubyid_searchable_attributes'>searchable_attributes</span> <span class='symbol'>:name_fr</span><span class='comma'>,</span> <span class='symbol'>:name_en</span><span class='comma'>,</span> <span class='label'>user:</span> <span class='symbol'>:name</span>
|
567
569
|
</code></pre>
|
568
570
|
|
569
571
|
<p>Dans la <strong>vue</strong>, insérer la méthode <code>table</code> qui peut contenir plusieurs arguments :</p>
|
@@ -783,11 +785,11 @@ activerecord:
|
|
783
785
|
...
|
784
786
|
</code></pre>
|
785
787
|
|
786
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
788
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Ux/Table.html">doc</a></p>
|
787
789
|
|
788
790
|
<h3>Table Panel</h3>
|
789
791
|
|
790
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
792
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/table_panel.png" alt="table_panel"></p>
|
791
793
|
|
792
794
|
<p>Le composant <code>table_panel</code> est un <a href="#table">tableau</a> dans un <a href="#panel">panel</a>.</p>
|
793
795
|
|
@@ -813,11 +815,11 @@ table_panel({ store: @users, tap: true, glyph: 'home', state: :danger }) do |g|
|
|
813
815
|
end
|
814
816
|
</code></pre>
|
815
817
|
|
816
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
818
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Ux/TablePanel.html">doc</a></p>
|
817
819
|
|
818
820
|
<h3>List</h3>
|
819
821
|
|
820
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
822
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/list.png" alt="list"></p>
|
821
823
|
|
822
824
|
<p>Par défaut une liste à pour tag <code><li></code>.
|
823
825
|
Mais elle peut se transformer en lien <code><a></code> à travers l'option <code>type:</code>.
|
@@ -837,11 +839,11 @@ Par défaut le tag <code><li></code> est présent.</p>
|
|
837
839
|
<span class='kw'>end</span>
|
838
840
|
</code></pre>
|
839
841
|
|
840
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
842
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/List.html">doc</a></p>
|
841
843
|
|
842
844
|
<h3>Nav</h3>
|
843
845
|
|
844
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
846
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/nav.png" alt="nav"></p>
|
845
847
|
|
846
848
|
<p>Par défaut la navigation comporte des onglets "tab".
|
847
849
|
L'élément <code>nav</code> accepte en option les arguments :</p>
|
@@ -862,11 +864,11 @@ L'élément <code>nav</code> accepte en option les arguments :</p>
|
|
862
864
|
<span class='kw'>end</span>
|
863
865
|
</code></pre>
|
864
866
|
|
865
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
867
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Nav.html">doc</a></p>
|
866
868
|
|
867
869
|
<h3>Navbar</h3>
|
868
870
|
|
869
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
871
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/navbar.png" alt="navbar"></p>
|
870
872
|
|
871
873
|
<p>Par défaut la navigation comporte des onglets "tab".
|
872
874
|
L'élément <code>navbar</code> accepte en option les arguments :</p>
|
@@ -900,11 +902,11 @@ L'élément <code>navbar</code> accepte en option les arguments :</p>
|
|
900
902
|
<span class='kw'>end</span>
|
901
903
|
</code></pre>
|
902
904
|
|
903
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
905
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Navbar.html">doc</a></p>
|
904
906
|
|
905
907
|
<h3>Etiquette</h3>
|
906
908
|
|
907
|
-
<p><img src="http://hummel.link/Ui-Bibz/1.1.
|
909
|
+
<p><img src="http://hummel.link/Ui-Bibz/1.1.4/images/etiquette.png" alt="list"></p>
|
908
910
|
|
909
911
|
<p>NB : Les méthodes <code>Tag, label</code> sont déjà utilisées par Rails.
|
910
912
|
L'élément <code>etiquette</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
|
@@ -921,7 +923,7 @@ L'élément <code>etiquette</code> à pour <code>options</code> un Hash acce
|
|
921
923
|
<span class='id identifier rubyid_etiquette'>etiquette</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>label 2</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:danger</span>
|
922
924
|
</code></pre>
|
923
925
|
|
924
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
926
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Etiquette.html">doc</a></p>
|
925
927
|
|
926
928
|
<h3>Row</h3>
|
927
929
|
|
@@ -933,7 +935,7 @@ L'élément <code>etiquette</code> à pour <code>options</code> un Hash acce
|
|
933
935
|
<span class='comment'># => <div class='row toto'>content</div>
|
934
936
|
</span></code></pre>
|
935
937
|
|
936
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
938
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Content.html">doc</a></p>
|
937
939
|
|
938
940
|
<h3>Col</h3>
|
939
941
|
|
@@ -966,7 +968,7 @@ col.</p>
|
|
966
968
|
<span class='comment'># => <div class='col-xs-offset-1 col-md-3 test'>content</div>
|
967
969
|
</span></code></pre>
|
968
970
|
|
969
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
971
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Core/Col.html">doc</a></p>
|
970
972
|
|
971
973
|
<h3>Grid</h3>
|
972
974
|
|
@@ -1035,7 +1037,7 @@ le nombre de colonnes occupées par la vue.</p>
|
|
1035
1037
|
<span class='kw'>end</span>
|
1036
1038
|
</code></pre>
|
1037
1039
|
|
1038
|
-
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.
|
1040
|
+
<p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.4/UiBibz/Ui/Ux/Grid.html">doc</a></p>
|
1039
1041
|
|
1040
1042
|
<h3>Arguments and Values</h3>
|
1041
1043
|
|
@@ -1101,6 +1103,7 @@ comme ci-dessous.</p>
|
|
1101
1103
|
<li><a href="http://hummel.link/Ui-Bibz/1.1.1/index.html">Ui Bibz v1.1.1</a></li>
|
1102
1104
|
<li><a href="http://hummel.link/Ui-Bibz/1.1.2/index.html">Ui Bibz v1.1.2</a></li>
|
1103
1105
|
<li><a href="http://hummel.link/Ui-Bibz/1.1.3/index.html">Ui Bibz v1.1.3</a></li>
|
1106
|
+
<li><a href="http://hummel.link/Ui-Bibz/1.1.4/index.html">Ui Bibz v1.1.4</a></li>
|
1104
1107
|
</ul>
|
1105
1108
|
|
1106
1109
|
<h1>Roadmap</h1>
|
@@ -1116,7 +1119,7 @@ comme ci-dessous.</p>
|
|
1116
1119
|
</div></div>
|
1117
1120
|
|
1118
1121
|
<div id="footer">
|
1119
|
-
Generated on
|
1122
|
+
Generated on Mon Sep 7 14:49:03 2015 by
|
1120
1123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1121
1124
|
0.8.7.6 (ruby-1.9.3).
|
1122
1125
|
</div>
|