ui_bibz 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.yardoc/checksums +49 -46
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +69 -56
- data/README.md +156 -61
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +6 -6
- data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
- data/doc/UiBibz/Concerns/Models.html +115 -0
- data/doc/UiBibz/Concerns.html +115 -0
- data/doc/UiBibz/Helpers/MetaHelper.html +75 -9
- data/doc/UiBibz/Helpers/UiCoreHelper.html +120 -68
- data/doc/UiBibz/Helpers/UiUxHelper.html +2 -2
- data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
- data/doc/UiBibz/Helpers.html +115 -0
- data/doc/UiBibz/Rails/Engine.html +1 -1
- data/doc/UiBibz/Rails.html +1 -1
- data/doc/UiBibz/Ui/Base.html +2 -2
- data/doc/UiBibz/Ui/Core/Alert.html +26 -13
- data/doc/UiBibz/Ui/Core/Bar.html +26 -13
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +32 -19
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +26 -13
- data/doc/UiBibz/Ui/Core/Button.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +31 -18
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonLink.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +27 -14
- data/doc/UiBibz/Ui/Core/Col.html +26 -13
- data/doc/UiBibz/Ui/Core/Component.html +166 -225
- data/doc/UiBibz/Ui/Core/Dropdown.html +61 -410
- data/doc/UiBibz/Ui/Core/DropdownLink.html +373 -0
- data/doc/UiBibz/Ui/Core/DropdownList.html +26 -13
- data/doc/UiBibz/Ui/Core/Glyph.html +26 -386
- data/doc/UiBibz/Ui/Core/Jumbotron.html +26 -13
- data/doc/UiBibz/Ui/Core/Label.html +29 -15
- data/doc/UiBibz/Ui/Core/List.html +64 -25
- data/doc/UiBibz/Ui/Core/ListGroup.html +47 -21
- data/doc/UiBibz/Ui/Core/Nav.html +64 -25
- data/doc/UiBibz/Ui/Core/NavDropdown.html +29 -16
- data/doc/UiBibz/Ui/Core/NavLink.html +30 -15
- data/doc/UiBibz/Ui/Core/Navbar.html +154 -45
- data/doc/UiBibz/Ui/Core/NavbarForm.html +58 -38
- data/doc/UiBibz/Ui/Core/NavbarNav.html +7 -7
- data/doc/UiBibz/Ui/Core/NavbarText.html +26 -13
- data/doc/UiBibz/Ui/Core/Panel.html +38 -237
- data/doc/UiBibz/Ui/Core/ProgressBar.html +45 -19
- data/doc/UiBibz/Ui/Core/Row.html +26 -13
- data/doc/UiBibz/Ui/Core/Stars.html +367 -0
- data/doc/UiBibz/Ui/Core.html +16 -5
- data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Actions.html +198 -14
- data/doc/UiBibz/Ui/Ux/Column.html +4 -4
- data/doc/UiBibz/Ui/Ux/Columns.html +42 -16
- data/doc/UiBibz/Ui/Ux/Grid.html +31 -371
- data/doc/UiBibz/Ui/Ux/Paginable.html +22 -9
- data/doc/UiBibz/Ui/Ux/Searchable.html +22 -9
- data/doc/UiBibz/Ui/Ux/Sortable.html +18 -7
- data/doc/UiBibz/Ui/Ux/Store.html +160 -56
- data/doc/UiBibz/Ui/Ux/Table.html +109 -374
- data/doc/UiBibz/Ui/Ux/TableAction.html +2 -2
- data/doc/UiBibz/Ui/Ux/TablePagination.html +33 -14
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +30 -15
- data/doc/UiBibz/Ui/Ux/TablePanel.html +139 -43
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +26 -13
- data/doc/UiBibz/Ui/Ux.html +15 -4
- data/doc/UiBibz/Ui.html +4 -2
- data/doc/UiBibz/Utils/Internationalization.html +1 -1
- data/doc/UiBibz/Utils.html +1 -1
- data/doc/UiBibz.html +5 -5
- data/doc/_index.html +50 -7
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +155 -63
- data/doc/images/stars.png +0 -0
- data/doc/index.html +155 -63
- data/doc/method_list.html +278 -398
- data/doc/top-level-namespace.html +1 -1
- data/lib/ui_bibz/concerns/models/searchable.rb +36 -13
- data/lib/ui_bibz/helpers/meta_helper.rb +22 -3
- data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
- data/lib/ui_bibz/ui/core/alert.rb +2 -0
- data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +3 -0
- data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_dropdown.rb +6 -4
- data/lib/ui_bibz/ui/core/button/button_group.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_link.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +2 -0
- data/lib/ui_bibz/ui/core/col.rb +2 -0
- data/lib/ui_bibz/ui/core/component.rb +23 -25
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +57 -0
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb +2 -0
- data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +22 -9
- data/lib/ui_bibz/ui/core/glyph.rb +10 -0
- data/lib/ui_bibz/ui/core/jumbotron.rb +2 -0
- data/lib/ui_bibz/ui/core/label.rb +3 -0
- data/lib/ui_bibz/ui/core/list/components/list.rb +4 -0
- data/lib/ui_bibz/ui/core/list/list_group.rb +4 -0
- data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +4 -2
- data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +4 -1
- data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +39 -3
- data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -0
- data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +8 -0
- data/lib/ui_bibz/ui/core/nav/nav.rb +6 -0
- data/lib/ui_bibz/ui/core/nav/navbar.rb +31 -4
- data/lib/ui_bibz/ui/core/panel.rb +7 -5
- data/lib/ui_bibz/ui/core/progress_bar/components/bar.rb +2 -0
- data/lib/ui_bibz/ui/core/progress_bar/progress_bar.rb +4 -0
- data/lib/ui_bibz/ui/core/row.rb +2 -0
- data/lib/ui_bibz/ui/core/stars.rb +88 -0
- data/lib/ui_bibz/ui/ux/grid.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +17 -2
- data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -2
- data/lib/ui_bibz/ui/ux/table/components/columns.rb +4 -2
- data/lib/ui_bibz/ui/ux/table/components/store.rb +10 -1
- data/lib/ui_bibz/ui/ux/table/extensions/actionable.rb +3 -1
- data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +1 -0
- data/lib/ui_bibz/ui/ux/table/extensions/searchable.rb +1 -0
- data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +8 -2
- data/lib/ui_bibz/ui/ux/table/table.rb +19 -8
- data/lib/ui_bibz/ui/ux/table/table_pagination.rb +8 -1
- data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
- data/lib/ui_bibz/ui/ux/table/table_panel.rb +28 -13
- data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
- data/lib/ui_bibz/version.rb +1 -1
- data/lib/ui_bibz.rb +1 -0
- data/test/test_helper.rb +5 -0
- data/test/ui/dropdown_test.rb +4 -4
- data/test/ui/stars_test.rb +42 -0
- data/test/ui/table_test.rb +25 -6
- data/ui_bibz.gemspec +4 -1
- data/vendor/assets/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +640 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/javascripts/bootstrap-datepicker.min.js +8 -0
- data/vendor/assets/javascripts/bootstrap-select.min.js +8 -0
- data/vendor/assets/javascripts/bootstrap-switch.min.js +22 -0
- data/vendor/assets/javascripts/bootstrap.min.js +7 -0
- data/vendor/assets/javascripts/jquery-2.1.4.min.js +4 -0
- data/vendor/assets/javascripts/ui_bibz.js.coffee +8 -0
- data/vendor/assets/stylesheets/bootstrap-datepicker3.min.css +8 -0
- data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -0
- data/vendor/assets/stylesheets/bootstrap-switch.min.css +22 -0
- data/vendor/assets/stylesheets/bootstrap-theme.min.css +5 -0
- data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
- data/vendor/assets/stylesheets/font-awesome.min.css +4 -0
- data/vendor/assets/stylesheets/ui_bibz.sass +23 -0
- metadata +71 -2
@@ -129,6 +129,9 @@ arguments in options attribute:</p>
|
|
129
129
|
<p><tt>size</tt> - Integer</p>
|
130
130
|
</li><li>
|
131
131
|
<p><tt>type</tt> - Symbol</p>
|
132
|
+
</li><li>
|
133
|
+
<p><tt>state</tt> - Symbol (<tt>:default</tt>, <tt>:primary</tt>,
|
134
|
+
<tt>:info</tt>, <tt>:warning</tt>, <tt>:danger</tt>)</p>
|
132
135
|
</li></ul>
|
133
136
|
|
134
137
|
<h4>Signatures</h4>
|
@@ -200,72 +203,6 @@ arguments in options attribute:</p>
|
|
200
203
|
<li class="public ">
|
201
204
|
<span class="summary_signature">
|
202
205
|
|
203
|
-
<a href="#classes-instance_method" title="#classes (instance method)">- (Object) <strong>classes</strong> </a>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
</span>
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
218
|
-
|
219
|
-
</li>
|
220
|
-
|
221
|
-
|
222
|
-
<li class="public ">
|
223
|
-
<span class="summary_signature">
|
224
|
-
|
225
|
-
<a href="#content-instance_method" title="#content (instance method)">- (Object) <strong>content</strong> </a>
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
</span>
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
240
|
-
|
241
|
-
</li>
|
242
|
-
|
243
|
-
|
244
|
-
<li class="public ">
|
245
|
-
<span class="summary_signature">
|
246
|
-
|
247
|
-
<a href="#flip-instance_method" title="#flip (instance method)">- (Object) <strong>flip</strong> </a>
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
</span>
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
262
|
-
|
263
|
-
</li>
|
264
|
-
|
265
|
-
|
266
|
-
<li class="public ">
|
267
|
-
<span class="summary_signature">
|
268
|
-
|
269
206
|
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Glyph) <strong>initialize</strong>(content, options = nil, html_options = nil, &block) </a>
|
270
207
|
|
271
208
|
|
@@ -283,7 +220,7 @@ arguments in options attribute:</p>
|
|
283
220
|
|
284
221
|
|
285
222
|
<span class="summary_desc"><div class='inline'>
|
286
|
-
<p>
|
223
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
287
224
|
</div></span>
|
288
225
|
|
289
226
|
</li>
|
@@ -306,95 +243,9 @@ arguments in options attribute:</p>
|
|
306
243
|
|
307
244
|
|
308
245
|
|
309
|
-
<span class="summary_desc"><div class='inline'
|
310
|
-
|
311
|
-
</
|
312
|
-
|
313
|
-
|
314
|
-
<li class="public ">
|
315
|
-
<span class="summary_signature">
|
316
|
-
|
317
|
-
<a href="#rotate-instance_method" title="#rotate (instance method)">- (Object) <strong>rotate</strong> </a>
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
</span>
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
332
|
-
|
333
|
-
</li>
|
334
|
-
|
335
|
-
|
336
|
-
<li class="public ">
|
337
|
-
<span class="summary_signature">
|
338
|
-
|
339
|
-
<a href="#size-instance_method" title="#size (instance method)">- (Object) <strong>size</strong> </a>
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
</span>
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
354
|
-
|
355
|
-
</li>
|
356
|
-
|
357
|
-
|
358
|
-
<li class="public ">
|
359
|
-
<span class="summary_signature">
|
360
|
-
|
361
|
-
<a href="#stack-instance_method" title="#stack (instance method)">- (Object) <strong>stack</strong> </a>
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
</span>
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
376
|
-
|
377
|
-
</li>
|
378
|
-
|
379
|
-
|
380
|
-
<li class="public ">
|
381
|
-
<span class="summary_signature">
|
382
|
-
|
383
|
-
<a href="#type-instance_method" title="#type (instance method)">- (Object) <strong>type</strong> </a>
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
</span>
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
246
|
+
<span class="summary_desc"><div class='inline'>
|
247
|
+
<p>Render html tag.</p>
|
248
|
+
</div></span>
|
398
249
|
|
399
250
|
</li>
|
400
251
|
|
@@ -412,7 +263,7 @@ arguments in options attribute:</p>
|
|
412
263
|
|
413
264
|
|
414
265
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
415
|
-
<p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span
|
266
|
+
<p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span></p>
|
416
267
|
|
417
268
|
|
418
269
|
|
@@ -440,7 +291,7 @@ arguments in options attribute:</p>
|
|
440
291
|
</h3><div class="docstring">
|
441
292
|
<div class="discussion">
|
442
293
|
|
443
|
-
<p>
|
294
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
444
295
|
|
445
296
|
|
446
297
|
</div>
|
@@ -454,12 +305,12 @@ arguments in options attribute:</p>
|
|
454
305
|
<pre class="lines">
|
455
306
|
|
456
307
|
|
457
|
-
|
458
|
-
|
459
|
-
|
308
|
+
60
|
309
|
+
61
|
310
|
+
62</pre>
|
460
311
|
</td>
|
461
312
|
<td>
|
462
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line
|
313
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 60</span>
|
463
314
|
|
464
315
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
465
316
|
<span class='kw'>super</span>
|
@@ -477,128 +328,37 @@ arguments in options attribute:</p>
|
|
477
328
|
|
478
329
|
|
479
330
|
<div class="method_details first">
|
480
|
-
<h3 class="signature first" id="
|
481
|
-
|
482
|
-
- (<tt>Object</tt>) <strong>classes</strong>
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
331
|
+
<h3 class="signature first" id="render-instance_method">
|
487
332
|
|
488
|
-
</
|
489
|
-
<tr>
|
490
|
-
<td>
|
491
|
-
<pre class="lines">
|
492
|
-
|
493
|
-
|
494
|
-
65
|
495
|
-
66
|
496
|
-
67
|
497
|
-
68
|
498
|
-
69
|
499
|
-
70
|
500
|
-
71
|
501
|
-
72
|
502
|
-
73</pre>
|
503
|
-
</td>
|
504
|
-
<td>
|
505
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 65</span>
|
506
|
-
|
507
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_classes'>classes</span>
|
508
|
-
<span class='id identifier rubyid_cls'>cls</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>glyph</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_content'>content</span> <span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
509
|
-
<span class='id identifier rubyid_cls'>cls</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_size'>size</span> <span class='rbrace'>}</span><span class='tstring_content'>x</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_size'>size</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
510
|
-
<span class='id identifier rubyid_cls'>cls</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa-rotate-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_rotate'>rotate</span> <span class='rbrace'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_rotate'>rotate</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
511
|
-
<span class='id identifier rubyid_cls'>cls</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa-flip-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_flip'>flip</span> <span class='rbrace'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_flip'>flip</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
512
|
-
<span class='id identifier rubyid_cls'>cls</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa-stack-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_stack'>stack</span> <span class='rbrace'>}</span><span class='tstring_content'>x</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_stack'>stack</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
513
|
-
<span class='id identifier rubyid_cls'>cls</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fa-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
514
|
-
<span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
515
|
-
<span class='kw'>end</span></pre>
|
516
|
-
</td>
|
517
|
-
</tr>
|
518
|
-
</table>
|
519
|
-
</div>
|
520
|
-
|
521
|
-
<div class="method_details ">
|
522
|
-
<h3 class="signature " id="content-instance_method">
|
523
|
-
|
524
|
-
- (<tt>Object</tt>) <strong>content</strong>
|
333
|
+
- (<tt>Object</tt>) <strong>render</strong>
|
525
334
|
|
526
335
|
|
527
336
|
|
528
337
|
|
529
338
|
|
530
|
-
</h3><
|
531
|
-
<
|
532
|
-
<td>
|
533
|
-
<pre class="lines">
|
534
|
-
|
535
|
-
|
536
|
-
95
|
537
|
-
96
|
538
|
-
97</pre>
|
539
|
-
</td>
|
540
|
-
<td>
|
541
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 95</span>
|
542
|
-
|
543
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span>
|
544
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='ivar'>@content</span>
|
545
|
-
<span class='kw'>end</span></pre>
|
546
|
-
</td>
|
547
|
-
</tr>
|
548
|
-
</table>
|
549
|
-
</div>
|
339
|
+
</h3><div class="docstring">
|
340
|
+
<div class="discussion">
|
550
341
|
|
551
|
-
|
552
|
-
<h3 class="signature " id="flip-instance_method">
|
553
|
-
|
554
|
-
- (<tt>Object</tt>) <strong>flip</strong>
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
</h3><table class="source_code">
|
561
|
-
<tr>
|
562
|
-
<td>
|
563
|
-
<pre class="lines">
|
342
|
+
<p>Render html tag</p>
|
564
343
|
|
565
344
|
|
566
|
-
|
567
|
-
88
|
568
|
-
89</pre>
|
569
|
-
</td>
|
570
|
-
<td>
|
571
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 87</span>
|
572
|
-
|
573
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_flip'>flip</span>
|
574
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:flip</span><span class='rbracket'>]</span>
|
575
|
-
<span class='kw'>end</span></pre>
|
576
|
-
</td>
|
577
|
-
</tr>
|
578
|
-
</table>
|
345
|
+
</div>
|
579
346
|
</div>
|
580
|
-
|
581
|
-
<div class="method_details ">
|
582
|
-
<h3 class="signature " id="render-instance_method">
|
583
|
-
|
584
|
-
- (<tt>Object</tt>) <strong>render</strong>
|
585
|
-
|
586
|
-
|
347
|
+
<div class="tags">
|
587
348
|
|
588
349
|
|
589
|
-
|
590
|
-
</h3><table class="source_code">
|
350
|
+
</div><table class="source_code">
|
591
351
|
<tr>
|
592
352
|
<td>
|
593
353
|
<pre class="lines">
|
594
354
|
|
595
355
|
|
596
|
-
|
597
|
-
|
598
|
-
|
356
|
+
65
|
357
|
+
66
|
358
|
+
67</pre>
|
599
359
|
</td>
|
600
360
|
<td>
|
601
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line
|
361
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 65</span>
|
602
362
|
|
603
363
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
604
364
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:i</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='id identifier rubyid_classes'>classes</span><span class='rparen'>)</span>
|
@@ -606,126 +366,6 @@ arguments in options attribute:</p>
|
|
606
366
|
</td>
|
607
367
|
</tr>
|
608
368
|
</table>
|
609
|
-
</div>
|
610
|
-
|
611
|
-
<div class="method_details ">
|
612
|
-
<h3 class="signature " id="rotate-instance_method">
|
613
|
-
|
614
|
-
- (<tt>Object</tt>) <strong>rotate</strong>
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
</h3><table class="source_code">
|
621
|
-
<tr>
|
622
|
-
<td>
|
623
|
-
<pre class="lines">
|
624
|
-
|
625
|
-
|
626
|
-
83
|
627
|
-
84
|
628
|
-
85</pre>
|
629
|
-
</td>
|
630
|
-
<td>
|
631
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 83</span>
|
632
|
-
|
633
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_rotate'>rotate</span>
|
634
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:rotate</span><span class='rbracket'>]</span>
|
635
|
-
<span class='kw'>end</span></pre>
|
636
|
-
</td>
|
637
|
-
</tr>
|
638
|
-
</table>
|
639
|
-
</div>
|
640
|
-
|
641
|
-
<div class="method_details ">
|
642
|
-
<h3 class="signature " id="size-instance_method">
|
643
|
-
|
644
|
-
- (<tt>Object</tt>) <strong>size</strong>
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
</h3><table class="source_code">
|
651
|
-
<tr>
|
652
|
-
<td>
|
653
|
-
<pre class="lines">
|
654
|
-
|
655
|
-
|
656
|
-
75
|
657
|
-
76
|
658
|
-
77</pre>
|
659
|
-
</td>
|
660
|
-
<td>
|
661
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 75</span>
|
662
|
-
|
663
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
|
664
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span>
|
665
|
-
<span class='kw'>end</span></pre>
|
666
|
-
</td>
|
667
|
-
</tr>
|
668
|
-
</table>
|
669
|
-
</div>
|
670
|
-
|
671
|
-
<div class="method_details ">
|
672
|
-
<h3 class="signature " id="stack-instance_method">
|
673
|
-
|
674
|
-
- (<tt>Object</tt>) <strong>stack</strong>
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
</h3><table class="source_code">
|
681
|
-
<tr>
|
682
|
-
<td>
|
683
|
-
<pre class="lines">
|
684
|
-
|
685
|
-
|
686
|
-
79
|
687
|
-
80
|
688
|
-
81</pre>
|
689
|
-
</td>
|
690
|
-
<td>
|
691
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 79</span>
|
692
|
-
|
693
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_stack'>stack</span>
|
694
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:stack</span><span class='rbracket'>]</span>
|
695
|
-
<span class='kw'>end</span></pre>
|
696
|
-
</td>
|
697
|
-
</tr>
|
698
|
-
</table>
|
699
|
-
</div>
|
700
|
-
|
701
|
-
<div class="method_details ">
|
702
|
-
<h3 class="signature " id="type-instance_method">
|
703
|
-
|
704
|
-
- (<tt>Object</tt>) <strong>type</strong>
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
</h3><table class="source_code">
|
711
|
-
<tr>
|
712
|
-
<td>
|
713
|
-
<pre class="lines">
|
714
|
-
|
715
|
-
|
716
|
-
91
|
717
|
-
92
|
718
|
-
93</pre>
|
719
|
-
</td>
|
720
|
-
<td>
|
721
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 91</span>
|
722
|
-
|
723
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
724
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:type</span><span class='rbracket'>]</span>
|
725
|
-
<span class='kw'>end</span></pre>
|
726
|
-
</td>
|
727
|
-
</tr>
|
728
|
-
</table>
|
729
369
|
</div>
|
730
370
|
|
731
371
|
</div>
|
@@ -733,7 +373,7 @@ arguments in options attribute:</p>
|
|
733
373
|
</div>
|
734
374
|
|
735
375
|
<div id="footer">
|
736
|
-
Generated on
|
376
|
+
Generated on Mon Aug 31 14:08:52 2015 by
|
737
377
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
738
378
|
0.8.7.6 (ruby-1.9.3).
|
739
379
|
</div>
|
@@ -202,7 +202,7 @@ arguments in options attribute:</p>
|
|
202
202
|
|
203
203
|
|
204
204
|
<span class="summary_desc"><div class='inline'>
|
205
|
-
<p>
|
205
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
206
206
|
</div></span>
|
207
207
|
|
208
208
|
</li>
|
@@ -225,7 +225,9 @@ arguments in options attribute:</p>
|
|
225
225
|
|
226
226
|
|
227
227
|
|
228
|
-
<span class="summary_desc"><div class='inline'
|
228
|
+
<span class="summary_desc"><div class='inline'>
|
229
|
+
<p>Render html tag.</p>
|
230
|
+
</div></span>
|
229
231
|
|
230
232
|
</li>
|
231
233
|
|
@@ -243,7 +245,7 @@ arguments in options attribute:</p>
|
|
243
245
|
|
244
246
|
|
245
247
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
246
|
-
<p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#
|
248
|
+
<p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
|
247
249
|
|
248
250
|
|
249
251
|
|
@@ -271,7 +273,7 @@ arguments in options attribute:</p>
|
|
271
273
|
</h3><div class="docstring">
|
272
274
|
<div class="discussion">
|
273
275
|
|
274
|
-
<p>
|
276
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
275
277
|
|
276
278
|
|
277
279
|
</div>
|
@@ -285,12 +287,12 @@ arguments in options attribute:</p>
|
|
285
287
|
<pre class="lines">
|
286
288
|
|
287
289
|
|
288
|
-
45
|
289
290
|
46
|
290
|
-
47
|
291
|
+
47
|
292
|
+
48</pre>
|
291
293
|
</td>
|
292
294
|
<td>
|
293
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/jumbotron.rb', line
|
295
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/jumbotron.rb', line 46</span>
|
294
296
|
|
295
297
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
296
298
|
<span class='kw'>super</span>
|
@@ -316,24 +318,35 @@ arguments in options attribute:</p>
|
|
316
318
|
|
317
319
|
|
318
320
|
|
319
|
-
</h3><
|
321
|
+
</h3><div class="docstring">
|
322
|
+
<div class="discussion">
|
323
|
+
|
324
|
+
<p>Render html tag</p>
|
325
|
+
|
326
|
+
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
<div class="tags">
|
330
|
+
|
331
|
+
|
332
|
+
</div><table class="source_code">
|
320
333
|
<tr>
|
321
334
|
<td>
|
322
335
|
<pre class="lines">
|
323
336
|
|
324
337
|
|
325
|
-
49
|
326
|
-
50
|
327
338
|
51
|
328
339
|
52
|
329
340
|
53
|
330
341
|
54
|
331
342
|
55
|
332
343
|
56
|
333
|
-
57
|
344
|
+
57
|
345
|
+
58
|
346
|
+
59</pre>
|
334
347
|
</td>
|
335
348
|
<td>
|
336
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/jumbotron.rb', line
|
349
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/jumbotron.rb', line 51</span>
|
337
350
|
|
338
351
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
339
352
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>jumbotron</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span>
|
@@ -354,7 +367,7 @@ arguments in options attribute:</p>
|
|
354
367
|
</div>
|
355
368
|
|
356
369
|
<div id="footer">
|
357
|
-
Generated on
|
370
|
+
Generated on Mon Aug 31 14:08:53 2015 by
|
358
371
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
359
372
|
0.8.7.6 (ruby-1.9.3).
|
360
373
|
</div>
|