ui_bibz 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +2 -2
  3. data/.yardoc/objects/root.dat +0 -0
  4. data/Gemfile.lock +18 -7
  5. data/README.md +48 -51
  6. data/{vendor → app}/assets/javascripts/ui_bibz.js.coffee +1 -0
  7. data/{vendor → app}/assets/stylesheets/ui_bibz.sass +19 -9
  8. data/doc/UiBibz.html +1 -1
  9. data/doc/UiBibz/Concerns.html +1 -1
  10. data/doc/UiBibz/Concerns/Models.html +1 -1
  11. data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
  12. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +1 -1
  13. data/doc/UiBibz/Helpers.html +1 -1
  14. data/doc/UiBibz/Helpers/MetaHelper.html +2 -14
  15. data/doc/UiBibz/Helpers/UiCoreHelper.html +1 -1
  16. data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
  17. data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
  18. data/doc/UiBibz/Rails.html +1 -1
  19. data/doc/UiBibz/Rails/Engine.html +1 -1
  20. data/doc/UiBibz/Ui.html +1 -1
  21. data/doc/UiBibz/Ui/Base.html +1 -1
  22. data/doc/UiBibz/Ui/Core.html +1 -1
  23. data/doc/UiBibz/Ui/Core/Alert.html +1 -1
  24. data/doc/UiBibz/Ui/Core/Bar.html +1 -1
  25. data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
  26. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
  27. data/doc/UiBibz/Ui/Core/Button.html +1 -1
  28. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
  29. data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
  30. data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
  31. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
  32. data/doc/UiBibz/Ui/Core/Col.html +1 -1
  33. data/doc/UiBibz/Ui/Core/Component.html +1 -1
  34. data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
  35. data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
  36. data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
  37. data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
  38. data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
  39. data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
  40. data/doc/UiBibz/Ui/Core/Label.html +1 -1
  41. data/doc/UiBibz/Ui/Core/List.html +1 -1
  42. data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
  43. data/doc/UiBibz/Ui/Core/Nav.html +1 -1
  44. data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
  45. data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
  46. data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
  47. data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
  48. data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
  49. data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
  50. data/doc/UiBibz/Ui/Core/Panel.html +1 -1
  51. data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
  52. data/doc/UiBibz/Ui/Core/Row.html +1 -1
  53. data/doc/UiBibz/Ui/Core/Stars.html +1 -1
  54. data/doc/UiBibz/Ui/Ux.html +1 -1
  55. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  56. data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
  57. data/doc/UiBibz/Ui/Ux/Column.html +1 -1
  58. data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
  59. data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
  60. data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
  61. data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
  62. data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
  63. data/doc/UiBibz/Ui/Ux/Store.html +1 -1
  64. data/doc/UiBibz/Ui/Ux/Table.html +1 -1
  65. data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
  66. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
  67. data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
  68. data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
  69. data/doc/UiBibz/Utils.html +1 -1
  70. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  71. data/doc/_index.html +1 -1
  72. data/doc/file.README.html +51 -54
  73. data/doc/index.html +51 -54
  74. data/doc/top-level-namespace.html +1 -1
  75. data/lib/ui_bibz/helpers/meta_helper.rb +0 -14
  76. data/lib/ui_bibz/rails/engine.rb +2 -23
  77. data/lib/ui_bibz/version.rb +1 -1
  78. data/ui_bibz.gemspec +4 -2
  79. metadata +36 -17
  80. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  81. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  82. data/vendor/assets/fonts/fontawesome-webfont.svg +0 -640
  83. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  84. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  85. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  86. data/vendor/assets/javascripts/bootstrap.min.js +0 -7
  87. data/vendor/assets/stylesheets/bootstrap.min.css +0 -5
  88. data/vendor/assets/stylesheets/font-awesome.min.css +0 -4
data/doc/index.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.5/images/ui-bibz-logo-without-border.gif" alt="Ui Bibz logo"></p>
64
+ <div id="content"><div id='filecontents'><p><img src="http://hummel.link/Ui-Bibz/1.1.7/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>
@@ -134,7 +134,7 @@ dans <code>options</code> et <code>html_options</code>.</p>
134
134
 
135
135
  <p>Ajouter la gem dans Rails :</p>
136
136
 
137
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ui_bibz</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~&gt; 1.0.0</span><span class='tstring_end'>'</span></span>
137
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ui_bibz</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~&gt; 1.1.7</span><span class='tstring_end'>'</span></span>
138
138
  </code></pre>
139
139
 
140
140
  <p>Lancer la command suivante :</p>
@@ -161,17 +161,10 @@ dans <code>options</code> et <code>html_options</code>.</p>
161
161
  <p>Ui Bibz chargera les librairies en CDN directement dans votre application.
162
162
  Si vous préférez charger les librairies en locales, utilisez plutôt la méthode <code>ui_bibz_local_meta_links</code>
163
163
  et insérez dans le fichier <code>/config/initializers/assets.rb</code> de votre
164
- application ces 3-4 lignes:</p>
165
-
166
- <pre class="code ruby"><code class="ruby">
167
- <span class='comment'># For awesome-font
168
- </span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_paths'>paths</span> <span class='op'>&lt;&lt;</span> <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>app</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>assets</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>fonts</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
169
- <span class='comment'># For Ui bibz css
170
- </span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_precompile'>precompile</span> <span class='op'>+=</span> <span class='qwords_beg'>%w(</span><span class='tstring_content'>bootstrap.min.css</span><span class='words_sep'> </span><span class='tstring_content'>bootstrap-theme.min.css</span><span class='words_sep'> </span><span class='tstring_content'>font-awesome.min.css</span><span class='words_sep'>)</span>
171
- <span class='comment'># For boostrap-theme (optionel)
172
- </span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_precompile'>precompile</span> <span class='op'>+=</span> <span class='qwords_beg'>%w(</span><span class='tstring_content'>bootstrap-theme.min.css</span><span class='words_sep'>)</span>
173
- <span class='comment'># For Ui bibz js
174
- </span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_precompile'>precompile</span> <span class='op'>+=</span> <span class='qwords_beg'>%w(</span><span class='tstring_content'>jquery-2.1.4.min.js</span><span class='words_sep'> </span><span class='tstring_content'>bootstrap.min.js</span><span class='words_sep'>)</span>
164
+ application cette ligne:</p>
165
+
166
+ <pre class="code ruby"><code class="ruby"><span class='comment'># For Ui bibz js
167
+ </span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_precompile'>precompile</span> <span class='op'>+=</span> <span class='qwords_beg'>%w(</span><span class='tstring_content'>jquery-2.1.4.min.js</span><span class='words_sep'>)</span>
175
168
 
176
169
  </code></pre>
177
170
 
@@ -189,11 +182,13 @@ application ces 3-4 lignes:</p>
189
182
  ...
190
183
  </code></pre>
191
184
 
185
+ <p><em>Ps: Vous pouvez utiliser les variables sass présentes dans boostrap.</em></p>
186
+
192
187
  <h2>Utilisation</h2>
193
188
 
194
189
  <h3>Alert</h3>
195
190
 
196
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/alert.png" alt="alert"></p>
191
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/alert.png" alt="alert"></p>
197
192
 
198
193
  <p>L&#39;élément <code>notify</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
199
194
 
@@ -205,11 +200,11 @@ application ces 3-4 lignes:</p>
205
200
  <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
201
  </code></pre>
207
202
 
208
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Alert.html">doc</a></p>
203
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Alert.html">doc</a></p>
209
204
 
210
205
  <h3>Breadcrumb (fil d&#39;ariane)</h3>
211
206
 
212
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/breadcrumb.png" alt="breadcrumb"></p>
207
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/breadcrumb.png" alt="breadcrumb"></p>
213
208
 
214
209
  <p>L&#39;élément <code>breadcrumb</code> à pour enfant l&#39;élément <code>link</code> qui accepte pour option un Hash avec les clefs :</p>
215
210
 
@@ -228,13 +223,13 @@ application ces 3-4 lignes:</p>
228
223
  <span class='kw'>end</span>
229
224
  </code></pre>
230
225
 
231
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Breadcrumb.html">doc</a></p>
226
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Breadcrumb.html">doc</a></p>
232
227
 
233
228
  <h3>Buttons (Boutons)</h3>
234
229
 
235
230
  <h4>Button</h4>
236
231
 
237
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/button.png" alt="button"></p>
232
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/button.png" alt="button"></p>
238
233
 
239
234
  <p>L&#39;élément <code>button</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
240
235
 
@@ -248,14 +243,14 @@ application ces 3-4 lignes:</p>
248
243
  <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
244
  </code></pre>
250
245
 
251
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Button.html">doc</a></p>
246
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Button.html">doc</a></p>
252
247
 
253
248
  <h4>Button Dropdown</h4>
254
249
 
255
250
  <p>L&#39;élément <code>button_dropdown</code> accepte pour options les mêmes clefs que l&#39;élément
256
251
  <a href="#dropdown">dropdown</a>.</p>
257
252
 
258
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/button_dropdown.png" alt="button_link"></p>
253
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/button_dropdown.png" alt="button_link"></p>
259
254
 
260
255
  <pre class="code ruby"><code class="ruby">button_dropdown 'Button Dropdown' do |bd|
261
256
  bd.link Link 1', '#'
@@ -267,11 +262,11 @@ application ces 3-4 lignes:</p>
267
262
  end
268
263
  </code></pre>
269
264
 
270
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
265
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
271
266
 
272
267
  <h4>Button group</h4>
273
268
 
274
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/button_group.png" alt="button_group"></p>
269
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/button_group.png" alt="button_group"></p>
275
270
 
276
271
  <p>L&#39;élément <code>button_group</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
277
272
 
@@ -306,22 +301,22 @@ end
306
301
  <span class='kw'>end</span>
307
302
  </code></pre>
308
303
 
309
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/ButtonGroup.html">doc</a></p>
304
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonGroup.html">doc</a></p>
310
305
 
311
306
  <h4>Button Link (Lien Bouton)</h4>
312
307
 
313
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/button_link.png" alt="button_link"></p>
308
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/button_link.png" alt="button_link"></p>
314
309
 
315
310
  <p>L&#39;élément <code>button_link</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
316
311
 
317
312
  <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
313
  </code></pre>
319
314
 
320
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
315
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
321
316
 
322
317
  <h4>Button Split Dropdown</h4>
323
318
 
324
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/button_split_dropdown.png" alt="button_group"></p>
319
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/button_split_dropdown.png" alt="button_group"></p>
325
320
 
326
321
  <p>L&#39;élément <code>button_split_dropdown</code>accepte pour options les mêmes clefs
327
322
  que l&#39;élément <a href="#dropdown">dropdown</a>.</p>
@@ -337,7 +332,7 @@ que l&#39;élément <a href="#dropdown">dropdown</a>.</p>
337
332
  <span class='kw'>end</span>
338
333
  </code></pre>
339
334
 
340
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/ButtonSplitDropdown.html">doc</a></p>
335
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonSplitDropdown.html">doc</a></p>
341
336
 
342
337
  <h3>Dropdown</h3>
343
338
 
@@ -376,11 +371,11 @@ d.list '--'
376
371
  ...
377
372
  </code></pre>
378
373
 
379
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Dropdown.html">doc</a></p>
374
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Dropdown.html">doc</a></p>
380
375
 
381
376
  <h3>Progress Bar</h3>
382
377
 
383
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/progress_bar.png" alt="glyph"></p>
378
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/progress_bar.png" alt="glyph"></p>
384
379
 
385
380
  <p>L&#39;élément <code>progress_bar</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
386
381
 
@@ -409,11 +404,11 @@ d.list '--'
409
404
  <span class='kw'>end</span>
410
405
  </code></pre>
411
406
 
412
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/ProgressBar.html">doc</a></p>
407
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ProgressBar.html">doc</a></p>
413
408
 
414
409
  <h3>Glyph</h3>
415
410
 
416
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/glyph.png" alt="glyph"></p>
411
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/glyph.png" alt="glyph"></p>
417
412
 
418
413
  <p>Les glyphs utilisés proviennent de <a href="http://fontawesome.io/">Font Awesome</a>.
419
414
  L&#39;élément <code>glyph</code> peut contenir un hash pour <code>content</code>
@@ -429,11 +424,11 @@ L&#39;élément <code>glyph</code> à pour <code>options</code> un Hash acceptan
429
424
  glyph { name: 'star', size: 3, type: 'fw' }
430
425
  </code></pre>
431
426
 
432
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Glyph.html">doc</a></p>
427
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Glyph.html">doc</a></p>
433
428
 
434
429
  <h3>Stars</h3>
435
430
 
436
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/stars.png" alt="stars"></p>
431
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/stars.png" alt="stars"></p>
437
432
 
438
433
  <p>L&#39;élément <code>stars</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
439
434
 
@@ -451,11 +446,11 @@ glyph { name: 'star', size: 3, type: 'fw' }
451
446
  <span class='kw'>end</span>
452
447
  </code></pre>
453
448
 
454
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Stars.html">doc</a></p>
449
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Stars.html">doc</a></p>
455
450
 
456
451
  <h3>Panel</h3>
457
452
 
458
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/panel.png" alt="panel"></p>
453
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/panel.png" alt="panel"></p>
459
454
 
460
455
  <p>L&#39;élément <code>panel</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
461
456
 
@@ -483,11 +478,11 @@ panel({ tap: true, state: :danger, table_options: { actionable: true } }, { clas
483
478
  end
484
479
  </code></pre>
485
480
 
486
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Panel.html">doc</a></p>
481
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Panel.html">doc</a></p>
487
482
 
488
483
  <h3>Table</h3>
489
484
 
490
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/table.png" alt="table"></p>
485
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/table.png" alt="table"></p>
491
486
 
492
487
  <p>L&#39;élément <code>table</code> est un tableau composé d&#39;une recherche, une pagination et un trie de colonnes intégrées.
493
488
  Le tableau est compatible <a href="http://guides.rubyonrails.org/i18n.html">I18n</a>.
@@ -523,7 +518,7 @@ faire une recherche sur les attributs souhaités.</p>
523
518
 
524
519
  <p>Un champ recherche est disponible dans la vue :</p>
525
520
 
526
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/table_search_field.png" alt="table_search_field"></p>
521
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/table_search_field.png" alt="table_search_field"></p>
527
522
 
528
523
  <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
524
  </code></pre>
@@ -535,7 +530,7 @@ faire une recherche sur les attributs souhaités.</p>
535
530
 
536
531
  <p>Un champs select par page est disponible dans la vue :</p>
537
532
 
538
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/table_pagination_per_page.png" alt="table_search_field"></p>
533
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/table_pagination_per_page.png" alt="table_search_field"></p>
539
534
 
540
535
  <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
536
  </code></pre>
@@ -785,11 +780,11 @@ activerecord:
785
780
  ...
786
781
  </code></pre>
787
782
 
788
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Ux/Table.html">doc</a></p>
783
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Ux/Table.html">doc</a></p>
789
784
 
790
785
  <h3>Table Panel</h3>
791
786
 
792
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/table_panel.png" alt="table_panel"></p>
787
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/table_panel.png" alt="table_panel"></p>
793
788
 
794
789
  <p>Le composant <code>table_panel</code> est un <a href="#table">tableau</a> dans un <a href="#panel">panel</a>.</p>
795
790
 
@@ -815,11 +810,11 @@ table_panel({ store: @users, tap: true, glyph: 'home', state: :danger }) do |g|
815
810
  end
816
811
  </code></pre>
817
812
 
818
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Ux/TablePanel.html">doc</a></p>
813
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Ux/TablePanel.html">doc</a></p>
819
814
 
820
815
  <h3>List</h3>
821
816
 
822
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/list.png" alt="list"></p>
817
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/list.png" alt="list"></p>
823
818
 
824
819
  <p>Par défaut une liste à pour tag <code>&lt;li&gt;</code>.
825
820
  Mais elle peut se transformer en lien <code>&lt;a&gt;</code> à travers l&#39;option <code>type:</code>.
@@ -839,11 +834,11 @@ Par défaut le tag <code>&lt;li&gt;</code> est présent.</p>
839
834
  <span class='kw'>end</span>
840
835
  </code></pre>
841
836
 
842
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/List.html">doc</a></p>
837
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/List.html">doc</a></p>
843
838
 
844
839
  <h3>Nav</h3>
845
840
 
846
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/nav.png" alt="nav"></p>
841
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/nav.png" alt="nav"></p>
847
842
 
848
843
  <p>Par défaut la navigation comporte des onglets &quot;tab&quot;.
849
844
  L&#39;élément <code>nav</code> accepte en option les arguments :</p>
@@ -864,11 +859,11 @@ L&#39;élément <code>nav</code> accepte en option les arguments :</p>
864
859
  <span class='kw'>end</span>
865
860
  </code></pre>
866
861
 
867
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Nav.html">doc</a></p>
862
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Nav.html">doc</a></p>
868
863
 
869
864
  <h3>Navbar</h3>
870
865
 
871
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/navbar.png" alt="navbar"></p>
866
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/navbar.png" alt="navbar"></p>
872
867
 
873
868
  <p>Par défaut la navigation comporte des onglets &quot;tab&quot;.
874
869
  L&#39;élément <code>navbar</code> accepte en option les arguments :</p>
@@ -902,11 +897,11 @@ L&#39;élément <code>navbar</code> accepte en option les arguments :</p>
902
897
  <span class='kw'>end</span>
903
898
  </code></pre>
904
899
 
905
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Navbar.html">doc</a></p>
900
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Navbar.html">doc</a></p>
906
901
 
907
902
  <h3>Etiquette</h3>
908
903
 
909
- <p><img src="http://hummel.link/Ui-Bibz/1.1.5/images/etiquette.png" alt="list"></p>
904
+ <p><img src="http://hummel.link/Ui-Bibz/1.1.7/images/etiquette.png" alt="list"></p>
910
905
 
911
906
  <p>NB : Les méthodes <code>Tag, label</code> sont déjà utilisées par Rails.
912
907
  L&#39;élément <code>etiquette</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
@@ -923,7 +918,7 @@ L&#39;élément <code>etiquette</code> à pour <code>options</code> un Hash acce
923
918
  <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>
924
919
  </code></pre>
925
920
 
926
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Etiquette.html">doc</a></p>
921
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Etiquette.html">doc</a></p>
927
922
 
928
923
  <h3>Row</h3>
929
924
 
@@ -935,7 +930,7 @@ L&#39;élément <code>etiquette</code> à pour <code>options</code> un Hash acce
935
930
  <span class='comment'># =&gt; &lt;div class='row toto'&gt;content&lt;/div&gt;
936
931
  </span></code></pre>
937
932
 
938
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Content.html">doc</a></p>
933
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Content.html">doc</a></p>
939
934
 
940
935
  <h3>Col</h3>
941
936
 
@@ -968,7 +963,7 @@ col.</p>
968
963
  <span class='comment'># =&gt; &lt;div class='col-xs-offset-1 col-md-3 test'&gt;content&lt;/div&gt;
969
964
  </span></code></pre>
970
965
 
971
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Core/Col.html">doc</a></p>
966
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Col.html">doc</a></p>
972
967
 
973
968
  <h3>Grid</h3>
974
969
 
@@ -1037,7 +1032,7 @@ le nombre de colonnes occupées par la vue.</p>
1037
1032
  <span class='kw'>end</span>
1038
1033
  </code></pre>
1039
1034
 
1040
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.5/UiBibz/Ui/Ux/Grid.html">doc</a></p>
1035
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Ux/Grid.html">doc</a></p>
1041
1036
 
1042
1037
  <h3>Arguments and Values</h3>
1043
1038
 
@@ -1105,6 +1100,8 @@ comme ci-dessous.</p>
1105
1100
  <li><a href="http://hummel.link/Ui-Bibz/1.1.3/index.html">Ui Bibz v1.1.3</a></li>
1106
1101
  <li><a href="http://hummel.link/Ui-Bibz/1.1.4/index.html">Ui Bibz v1.1.4</a></li>
1107
1102
  <li><a href="http://hummel.link/Ui-Bibz/1.1.5/index.html">Ui Bibz v1.1.5</a></li>
1103
+ <li><a href="http://hummel.link/Ui-Bibz/1.1.6/index.html">Ui Bibz v1.1.6</a></li>
1104
+ <li><a href="http://hummel.link/Ui-Bibz/1.1.7/index.html">Ui Bibz v1.1.7</a></li>
1108
1105
  </ul>
1109
1106
 
1110
1107
  <h1>Roadmap</h1>
@@ -1120,7 +1117,7 @@ comme ci-dessous.</p>
1120
1117
  </div></div>
1121
1118
 
1122
1119
  <div id="footer">
1123
- Generated on Wed Sep 9 15:14:05 2015 by
1120
+ Generated on Mon Sep 14 10:07:34 2015 by
1124
1121
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1125
1122
  0.8.7.6 (ruby-1.9.3).
1126
1123
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Wed Sep 9 15:14:06 2015 by
106
+ Generated on Mon Sep 14 10:07:34 2015 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.6 (ruby-1.9.3).
109
109
  </div>
@@ -24,23 +24,9 @@ module UiBibz::Helpers::MetaHelper
24
24
 
25
25
  def ui_bibz_local_meta_links
26
26
  capture do
27
- # Latest compiled and minified CSS
28
- concat stylesheet_link_tag "bootstrap.min"
29
- # font awesome icons
30
- concat stylesheet_link_tag "font-awesome.min"
31
27
  # Jquery is required for boostrap
32
28
  concat javascript_include_tag 'jquery-2.1.4.min'
33
- # Latest compiled and minified JavaScript
34
- concat javascript_include_tag "bootstrap.min"
35
29
  end
36
30
  end
37
31
 
38
-
39
- #def ui_bibz_meta_links_ext
40
- #capture do
41
- ##concat javascript_include_tag '/vendor/assets/javascripts/moment.js'
42
- ##concat javascript_include_tag 'boostrap-datetimepicker.js'
43
- #end
44
- #end
45
-
46
32
  end
@@ -1,5 +1,7 @@
1
1
  # to load pagination in rails app
2
2
  require 'will_paginate'
3
+ require 'bootstrap-sass'
4
+ require "font-awesome-sass"
3
5
 
4
6
  module UiBibz
5
7
  module Rails
@@ -12,29 +14,6 @@ module UiBibz
12
14
  ActionView::Base.send :include, UiBibz::Helpers::MetaHelper
13
15
  end
14
16
 
15
- #initializer 'ui_bibz.include_concerns' do
16
- # #ActiveRecord::Base.send :include, UiBibz::Concerns::Models
17
- # ActionDispatch::Reloader.to_prepare do
18
- # ActionDispatch::Base.send :include, UiBibz::Concerns::Models
19
- # #ActionDispatch::Base.send :include, UiBibz::Concerns::Models
20
- # end
21
- #end
22
-
23
- # Autoload from lib directory
24
- #config.autoload_paths << File.expand_path('../../', __FILE__)
25
-
26
- # # Maybe remove ?
27
- # initializer "ui_bibz.load_app_instance_data" do |app|
28
- # UiBibz.setup do |config|
29
- # config.app_root = app.root
30
- # end
31
- # end
32
-
33
- # # Maybe remove ?
34
- # initializer "ui_bibz.load_static_assets" do |app|
35
- # app.middleware.use ::ActionDispatch::Static, "#{root}/public"
36
- # end
37
-
38
17
  end
39
18
  end
40
19
  end
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
data/ui_bibz.gemspec CHANGED
@@ -20,13 +20,15 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib", "vendor"]
21
21
 
22
22
  # rails
23
- s.add_dependency 'rails', '~> 4.2.0'
23
+ s.add_dependency 'rails', '~> 4.2.4'
24
24
  s.add_dependency 'will_paginate', '~> 3.0.6'
25
25
  s.add_dependency 'will_paginate-bootstrap'
26
26
  s.add_dependency 'will-paginate-i18n'
27
27
  s.add_dependency 'haml'
28
28
  s.add_dependency 'haml-rails'
29
- s.add_dependency 'sass-rails', '~> 5.0.1'
29
+ s.add_dependency 'sass-rails', '~> 5.0.4'
30
+ s.add_dependency 'font-awesome-sass'
31
+ s.add_dependency 'bootstrap-sass', '~> 3.3.5'
30
32
 
31
33
  s.add_development_dependency "minitest"
32
34
  s.add_development_dependency "minitest-line"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0
19
+ version: 4.2.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.0
26
+ version: 4.2.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: will_paginate
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,42 @@ dependencies:
100
100
  requirements:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: 5.0.1
103
+ version: 5.0.4
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: 5.0.1
110
+ version: 5.0.4
111
+ - !ruby/object:Gem::Dependency
112
+ name: font-awesome-sass
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
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: bootstrap-sass
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 3.3.5
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 3.3.5
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: minitest
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -238,6 +266,8 @@ files:
238
266
  - MIT-LICENSE
239
267
  - README.md
240
268
  - Rakefile
269
+ - app/assets/javascripts/ui_bibz.js.coffee
270
+ - app/assets/stylesheets/ui_bibz.sass
241
271
  - config/locales/en.yml
242
272
  - config/locales/fr.yml
243
273
  - doc/UiBibz.html
@@ -460,25 +490,14 @@ files:
460
490
  - test/ui_bibz_test.rb
461
491
  - test/ui_helper_test.rb
462
492
  - ui_bibz.gemspec
463
- - vendor/assets/fonts/FontAwesome.otf
464
- - vendor/assets/fonts/fontawesome-webfont.eot
465
- - vendor/assets/fonts/fontawesome-webfont.svg
466
- - vendor/assets/fonts/fontawesome-webfont.ttf
467
- - vendor/assets/fonts/fontawesome-webfont.woff
468
- - vendor/assets/fonts/fontawesome-webfont.woff2
469
493
  - vendor/assets/javascripts/bootstrap-datepicker.min.js
470
494
  - vendor/assets/javascripts/bootstrap-select.min.js
471
495
  - vendor/assets/javascripts/bootstrap-switch.min.js
472
- - vendor/assets/javascripts/bootstrap.min.js
473
496
  - vendor/assets/javascripts/jquery-2.1.4.min.js
474
- - vendor/assets/javascripts/ui_bibz.js.coffee
475
497
  - vendor/assets/stylesheets/bootstrap-datepicker3.min.css
476
498
  - vendor/assets/stylesheets/bootstrap-select.min.css
477
499
  - vendor/assets/stylesheets/bootstrap-switch.min.css
478
500
  - vendor/assets/stylesheets/bootstrap-theme.min.css
479
- - vendor/assets/stylesheets/bootstrap.min.css
480
- - vendor/assets/stylesheets/font-awesome.min.css
481
- - vendor/assets/stylesheets/ui_bibz.sass
482
501
  homepage: http://thooams.github.io/Ui-Bibz/
483
502
  licenses:
484
503
  - MIT