ui_bibz 2.0.0.alpha10 → 2.0.0.alpha11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +9 -7
  3. data/app/assets/stylesheets/table.sass +2 -0
  4. data/app/assets/stylesheets/ui_bibz.sass +0 -2
  5. data/lib/ui_bibz/ui/core/alert.rb +4 -4
  6. data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +2 -2
  7. data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -2
  8. data/lib/ui_bibz/ui/core/button/button.rb +10 -10
  9. data/lib/ui_bibz/ui/core/button/button_choice.rb +5 -5
  10. data/lib/ui_bibz/ui/core/button/button_dropdown.rb +3 -3
  11. data/lib/ui_bibz/ui/core/button/button_group.rb +5 -1
  12. data/lib/ui_bibz/ui/core/button/button_link.rb +2 -2
  13. data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +5 -5
  14. data/lib/ui_bibz/ui/core/card/card.rb +4 -4
  15. data/lib/ui_bibz/ui/core/card/components/block/card_block_text.rb +1 -1
  16. data/lib/ui_bibz/ui/core/component.rb +7 -7
  17. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +2 -2
  18. data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +6 -6
  19. data/lib/ui_bibz/ui/core/glyph.rb +3 -3
  20. data/lib/ui_bibz/ui/core/input/autocomplete_field.rb +7 -1
  21. data/lib/ui_bibz/ui/core/input/dropdown_select_field.rb +2 -2
  22. data/lib/ui_bibz/ui/core/input/formula_field.rb +1 -1
  23. data/lib/ui_bibz/ui/core/input/multi_select_field.rb +2 -2
  24. data/lib/ui_bibz/ui/core/input/surround_field.rb +9 -1
  25. data/lib/ui_bibz/ui/core/input/switch_field.rb +4 -4
  26. data/lib/ui_bibz/ui/core/label.rb +4 -4
  27. data/lib/ui_bibz/ui/core/list/components/list.rb +7 -7
  28. data/lib/ui_bibz/ui/core/list/list_group.rb +5 -5
  29. data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +2 -2
  30. data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +3 -3
  31. data/lib/ui_bibz/ui/core/nav/components/nav_link_link.rb +1 -1
  32. data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -1
  33. data/lib/ui_bibz/ui/core/nav/nav.rb +1 -1
  34. data/lib/ui_bibz/ui/core/nav/navbar.rb +3 -3
  35. data/lib/ui_bibz/ui/core/progress.rb +5 -5
  36. data/lib/ui_bibz/ui/core/stars.rb +3 -3
  37. data/lib/ui_bibz/ui/ux/table/components/actions.rb +4 -0
  38. data/lib/ui_bibz/ui/ux/table/components/as.rb +8 -4
  39. data/lib/ui_bibz/ui/ux/table/components/column.rb +17 -16
  40. data/lib/ui_bibz/ui/ux/table/components/thead.rb +4 -4
  41. data/lib/ui_bibz/ui/ux/table/table.rb +8 -8
  42. data/lib/ui_bibz/ui/ux/table/table_card.rb +4 -4
  43. data/lib/ui_bibz/version.rb +1 -1
  44. data/test/dummy/db/schema.rb +1 -1
  45. data/test/ui/breadcrumb_test.rb +2 -2
  46. data/test/ui/button_test.rb +24 -24
  47. data/test/ui/card_test.rb +5 -5
  48. data/test/ui/component_test.rb +2 -2
  49. data/test/ui/dropdown_test.rb +1 -1
  50. data/test/ui/input_switch_field_test.rb +3 -3
  51. data/test/ui/inputs_test.rb +5 -5
  52. data/test/ui/list_group_test.rb +5 -5
  53. data/test/ui/nav_test.rb +3 -3
  54. data/test/ui/stars_test.rb +2 -2
  55. data/test/ui/table_test.rb +7 -7
  56. data/test/ui_helper_test.rb +16 -16
  57. data/ui_bibz.gemspec +2 -2
  58. metadata +5 -109
  59. data/doc/UiBibz.html +0 -129
  60. data/doc/UiBibz/Concerns.html +0 -115
  61. data/doc/UiBibz/Concerns/Models.html +0 -115
  62. data/doc/UiBibz/Concerns/Models/Searchable.html +0 -120
  63. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +0 -174
  64. data/doc/UiBibz/Helpers.html +0 -115
  65. data/doc/UiBibz/Helpers/MetaHelper.html +0 -273
  66. data/doc/UiBibz/Helpers/UiCoreHelper.html +0 -1234
  67. data/doc/UiBibz/Helpers/UiUxHelper.html +0 -463
  68. data/doc/UiBibz/Helpers/UtilsHelper.html +0 -187
  69. data/doc/UiBibz/Rails.html +0 -115
  70. data/doc/UiBibz/Rails/Engine.html +0 -123
  71. data/doc/UiBibz/Ui.html +0 -119
  72. data/doc/UiBibz/Ui/Base.html +0 -304
  73. data/doc/UiBibz/Ui/Core.html +0 -128
  74. data/doc/UiBibz/Ui/Core/Alert.html +0 -383
  75. data/doc/UiBibz/Ui/Core/Bar.html +0 -372
  76. data/doc/UiBibz/Ui/Core/Breadcrumb.html +0 -442
  77. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +0 -369
  78. data/doc/UiBibz/Ui/Core/Button.html +0 -380
  79. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +0 -401
  80. data/doc/UiBibz/Ui/Core/ButtonGroup.html +0 -372
  81. data/doc/UiBibz/Ui/Core/ButtonLink.html +0 -382
  82. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +0 -403
  83. data/doc/UiBibz/Ui/Core/Col.html +0 -373
  84. data/doc/UiBibz/Ui/Core/Component.html +0 -1087
  85. data/doc/UiBibz/Ui/Core/Dropdown.html +0 -663
  86. data/doc/UiBibz/Ui/Core/DropdownDivider.html +0 -301
  87. data/doc/UiBibz/Ui/Core/DropdownHeader.html +0 -355
  88. data/doc/UiBibz/Ui/Core/DropdownLink.html +0 -376
  89. data/doc/UiBibz/Ui/Core/DropdownList.html +0 -382
  90. data/doc/UiBibz/Ui/Core/Glyph.html +0 -385
  91. data/doc/UiBibz/Ui/Core/Jumbotron.html +0 -379
  92. data/doc/UiBibz/Ui/Core/Label.html +0 -379
  93. data/doc/UiBibz/Ui/Core/List.html +0 -528
  94. data/doc/UiBibz/Ui/Core/ListGroup.html +0 -474
  95. data/doc/UiBibz/Ui/Core/Modal.html +0 -543
  96. data/doc/UiBibz/Ui/Core/ModalBody.html +0 -353
  97. data/doc/UiBibz/Ui/Core/ModalFooter.html +0 -353
  98. data/doc/UiBibz/Ui/Core/ModalHeader.html +0 -359
  99. data/doc/UiBibz/Ui/Core/Nav.html +0 -515
  100. data/doc/UiBibz/Ui/Core/NavDropdown.html +0 -391
  101. data/doc/UiBibz/Ui/Core/NavLink.html +0 -364
  102. data/doc/UiBibz/Ui/Core/Navbar.html +0 -646
  103. data/doc/UiBibz/Ui/Core/NavbarForm.html +0 -364
  104. data/doc/UiBibz/Ui/Core/NavbarNav.html +0 -302
  105. data/doc/UiBibz/Ui/Core/NavbarText.html +0 -355
  106. data/doc/UiBibz/Ui/Core/Panel.html +0 -617
  107. data/doc/UiBibz/Ui/Core/ProgressBar.html +0 -462
  108. data/doc/UiBibz/Ui/Core/Row.html +0 -350
  109. data/doc/UiBibz/Ui/Core/Stars.html +0 -371
  110. data/doc/UiBibz/Ui/Ux.html +0 -128
  111. data/doc/UiBibz/Ui/Ux/Actionable.html +0 -478
  112. data/doc/UiBibz/Ui/Ux/Actions.html +0 -602
  113. data/doc/UiBibz/Ui/Ux/Column.html +0 -1249
  114. data/doc/UiBibz/Ui/Ux/Columns.html +0 -338
  115. data/doc/UiBibz/Ui/Ux/Grid.html +0 -485
  116. data/doc/UiBibz/Ui/Ux/Paginable.html +0 -381
  117. data/doc/UiBibz/Ui/Ux/Searchable.html +0 -376
  118. data/doc/UiBibz/Ui/Ux/Sortable.html +0 -300
  119. data/doc/UiBibz/Ui/Ux/Store.html +0 -1176
  120. data/doc/UiBibz/Ui/Ux/Table.html +0 -694
  121. data/doc/UiBibz/Ui/Ux/TableAction.html +0 -309
  122. data/doc/UiBibz/Ui/Ux/TablePagination.html +0 -342
  123. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +0 -348
  124. data/doc/UiBibz/Ui/Ux/TablePanel.html +0 -680
  125. data/doc/UiBibz/Ui/Ux/TableSearchField.html +0 -304
  126. data/doc/UiBibz/Utils.html +0 -115
  127. data/doc/UiBibz/Utils/Internationalization.html +0 -262
  128. data/doc/_index.html +0 -706
  129. data/doc/class_list.html +0 -58
  130. data/doc/css/common.css +0 -1
  131. data/doc/css/full_list.css +0 -57
  132. data/doc/css/style.css +0 -339
  133. data/doc/file.README.html +0 -1261
  134. data/doc/file_list.html +0 -60
  135. data/doc/frames.html +0 -26
  136. data/doc/images/alert.png +0 -0
  137. data/doc/images/breadcrumb.png +0 -0
  138. data/doc/images/button.png +0 -0
  139. data/doc/images/button_dropdown.png +0 -0
  140. data/doc/images/button_group.png +0 -0
  141. data/doc/images/button_link.png +0 -0
  142. data/doc/images/button_split_dropdown.png +0 -0
  143. data/doc/images/etiquette.png +0 -0
  144. data/doc/images/glyph.png +0 -0
  145. data/doc/images/list.png +0 -0
  146. data/doc/images/modal.png +0 -0
  147. data/doc/images/nav.png +0 -0
  148. data/doc/images/navbar.png +0 -0
  149. data/doc/images/panel.png +0 -0
  150. data/doc/images/progress_bar.png +0 -0
  151. data/doc/images/stars.png +0 -0
  152. data/doc/images/table.png +0 -0
  153. data/doc/images/table_pagination_per_page.png +0 -0
  154. data/doc/images/table_panel.png +0 -0
  155. data/doc/images/table_search_field.png +0 -0
  156. data/doc/images/ui-bibz-logo-without-border.gif +0 -0
  157. data/doc/images/ui-bibz-logo.gif +0 -0
  158. data/doc/index.html +0 -1261
  159. data/doc/js/app.js +0 -219
  160. data/doc/js/full_list.js +0 -181
  161. data/doc/js/jquery.js +0 -4
  162. data/doc/method_list.html +0 -1329
  163. data/doc/top-level-namespace.html +0 -112
@@ -1,364 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: UiBibz::Ui::Core::NavbarForm
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../../';
20
- framesUrl = "../../../frames.html#!UiBibz/Ui/Core/NavbarForm.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../../_index.html">Index (N)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="UiBibz::Ui::Core (module)">Core</a></span></span>
36
- &raquo;
37
- <span class="title">NavbarForm</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: UiBibz::Ui::Core::NavbarForm
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></li>
82
-
83
- <li class="next">UiBibz::Ui::Core::NavbarForm</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dt class="r2">Includes:</dt>
96
- <dd class="r2">ActionView::Helpers, Haml::Helpers</dd>
97
-
98
-
99
-
100
-
101
-
102
- <dt class="r1 last">Defined in:</dt>
103
- <dd class="r1 last">lib/ui_bibz/ui/core/nav/components/navbar_form.rb</dd>
104
-
105
- </dl>
106
- <div class="clear"></div>
107
-
108
- <h2>Overview</h2><div class="docstring">
109
- <div class="discussion">
110
-
111
- <p>Create a NavbarForm</p>
112
-
113
- <p>This element is an extend of ActionView::Helpers::FormHelper::FormFor to
114
- Rails</p>
115
-
116
- <h4 id="label-Attributes">Attributes</h4>
117
- <ul><li>
118
- <p><code>content</code> - Content of element</p>
119
- </li><li>
120
- <p><code>options</code> - Options of element</p>
121
- </li><li>
122
- <p><code>html_options</code> - Html Options of element</p>
123
- </li></ul>
124
-
125
- <h4 id="label-Options">Options</h4>
126
-
127
- <p>You can add HTML attributes using the <code>html_options</code>. You can
128
- pass arguments in options attribute:</p>
129
-
130
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_http'>http</span><span class='symbol'>:/</span><span class='op'>/</span><span class='id identifier rubyid_api'>api</span><span class='period'>.</span><span class='id identifier rubyid_rubyonrails'>rubyonrails</span><span class='period'>.</span><span class='id identifier rubyid_org'>org</span><span class='op'>/</span><span class='id identifier rubyid_classes'>classes</span><span class='op'>/</span><span class='const'>ActionView</span><span class='op'>/</span><span class='const'>Helpers</span><span class='op'>/</span><span class='const'>FormHelper</span><span class='period'>.</span><span class='id identifier rubyid_html'>html</span><span class='comment'>#method-i-form_for
131
- </span><span class='comment'># and
132
- </span><span class='id identifier rubyid_http'>http</span><span class='symbol'>:/</span><span class='op'>/</span><span class='id identifier rubyid_api'>api</span><span class='period'>.</span><span class='id identifier rubyid_rubyonrails'>rubyonrails</span><span class='period'>.</span><span class='id identifier rubyid_org'>org</span><span class='op'>/</span><span class='id identifier rubyid_classes'>classes</span><span class='op'>/</span><span class='const'>ActionView</span><span class='op'>/</span><span class='const'>Helpers</span><span class='op'>/</span><span class='const'>FormTagHelper</span><span class='period'>.</span><span class='id identifier rubyid_html'>html</span><span class='comment'>#method-i-form_tag
133
- </span></code></pre>
134
-
135
- <h4 id="label-Signatures">Signatures</h4>
136
-
137
- <pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</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='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span>
138
- <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_text_field'>text_field</span> <span class='symbol'>:field</span>
139
- <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_submit'>submit</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Submit</span><span class='tstring_end'>&#39;</span></span>
140
- <span class='kw'>end</span>
141
- </code></pre>
142
-
143
- <h4 id="label-Examples">Examples</h4>
144
-
145
- <pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>position:</span> <span class='symbol'>:right</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span>
146
- <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_text_field'>text_field</span> <span class='symbol'>:field</span>
147
- <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_submit'>submit</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Submit</span><span class='tstring_end'>&#39;</span></span>
148
- <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
149
-
150
- <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/search</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:form_tag</span><span class='rparen'>)</span> <span class='kw'>do</span>
151
- <span class='id identifier rubyid_text_field_tag'>text_field_tag</span> <span class='symbol'>:field</span>
152
- <span class='id identifier rubyid_submit_tag'>submit_tag</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Submit</span><span class='tstring_end'>&#39;</span></span>
153
- <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
154
- </code></pre>
155
-
156
-
157
- </div>
158
- </div>
159
- <div class="tags">
160
-
161
-
162
- </div>
163
-
164
-
165
-
166
-
167
-
168
- <h2>Instance Attribute Summary</h2>
169
-
170
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
171
- <p class="inherited"><span class='object_link'><a href="../Base.html#output_buffer-instance_method" title="UiBibz::Ui::Base#output_buffer (method)">#output_buffer</a></span></p>
172
-
173
-
174
-
175
- <h2>
176
- Instance Method Summary
177
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
178
- </h2>
179
-
180
- <ul class="summary">
181
-
182
- <li class="public ">
183
- <span class="summary_signature">
184
-
185
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (NavbarForm) <strong>initialize</strong>(model_or_url, options = {}, &amp;block) </a>
186
-
187
-
188
-
189
- </span>
190
-
191
-
192
- <span class="note title constructor">constructor</span>
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
- <span class="summary_desc"><div class='inline'>
202
- <p>See UiBibz::Ui::Core::Component.initialize.</p>
203
- </div></span>
204
-
205
- </li>
206
-
207
-
208
- <li class="public ">
209
- <span class="summary_signature">
210
-
211
- <a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
212
-
213
-
214
-
215
- </span>
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
- <span class="summary_desc"><div class='inline'>
226
- <p>Render html tag.</p>
227
- </div></span>
228
-
229
- </li>
230
-
231
-
232
- </ul>
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
247
- <p class="inherited"><span class='object_link'><a href="../Base.html#i18n_set%3F-instance_method" title="UiBibz::Ui::Base#i18n_set? (method)">#i18n_set?</a></span></p>
248
-
249
- <div id="constructor_details" class="method_details_list">
250
- <h2>Constructor Details</h2>
251
-
252
- <div class="method_details first">
253
- <h3 class="signature first" id="initialize-instance_method">
254
-
255
- - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span></tt>) <strong>initialize</strong>(model_or_url, options = {}, &amp;block)
256
-
257
-
258
-
259
-
260
-
261
- </h3><div class="docstring">
262
- <div class="discussion">
263
-
264
- <p>See UiBibz::Ui::Core::Component.initialize</p>
265
-
266
-
267
- </div>
268
- </div>
269
- <div class="tags">
270
-
271
-
272
- </div><table class="source_code">
273
- <tr>
274
- <td>
275
- <pre class="lines">
276
-
277
-
278
- 47
279
- 48
280
- 49
281
- 50
282
- 51
283
- 52
284
- 53
285
- 54
286
- 55</pre>
287
- </td>
288
- <td>
289
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_form.rb', line 47</span>
290
-
291
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
292
- <span class='id identifier rubyid_init_haml_helpers'>init_haml_helpers</span>
293
- <span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
294
- <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:form_for</span>
295
- <span class='ivar'>@form</span> <span class='op'>=</span> <span class='id identifier rubyid_form_for'>form_for</span><span class='lparen'>(</span><span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
296
- <span class='kw'>else</span>
297
- <span class='ivar'>@form</span> <span class='op'>=</span> <span class='id identifier rubyid_form_tag'>form_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>navbar-form </span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_position'>position</span> <span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
298
- <span class='kw'>end</span>
299
- <span class='kw'>end</span></pre>
300
- </td>
301
- </tr>
302
- </table>
303
- </div>
304
-
305
- </div>
306
-
307
-
308
- <div id="instance_method_details" class="method_details_list">
309
- <h2>Instance Method Details</h2>
310
-
311
-
312
- <div class="method_details first">
313
- <h3 class="signature first" id="render-instance_method">
314
-
315
- - (<tt>Object</tt>) <strong>render</strong>
316
-
317
-
318
-
319
-
320
-
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">
333
- <tr>
334
- <td>
335
- <pre class="lines">
336
-
337
-
338
- 58
339
- 59
340
- 60</pre>
341
- </td>
342
- <td>
343
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_form.rb', line 58</span>
344
-
345
- <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
346
- <span class='ivar'>@form</span>
347
- <span class='kw'>end</span></pre>
348
- </td>
349
- </tr>
350
- </table>
351
- </div>
352
-
353
- </div>
354
-
355
- </div>
356
-
357
- <div id="footer">
358
- Generated on Mon Oct 19 15:25:16 2015 by
359
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
360
- 0.8.7.6 (ruby-2.2.3).
361
- </div>
362
-
363
- </body>
364
- </html>
@@ -1,302 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: UiBibz::Ui::Core::NavbarNav
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../../';
20
- framesUrl = "../../../frames.html#!UiBibz/Ui/Core/NavbarNav.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../../_index.html">Index (N)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="UiBibz::Ui::Core (module)">Core</a></span></span>
36
- &raquo;
37
- <span class="title">NavbarNav</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: UiBibz::Ui::Core::NavbarNav
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName"><span class='object_link'><a href="Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span></span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></li>
82
-
83
- <li class="next"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></li>
84
-
85
- <li class="next"><span class='object_link'><a href="Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span></li>
86
-
87
- <li class="next">UiBibz::Ui::Core::NavbarNav</li>
88
-
89
- </ul>
90
- <a href="#" class="inheritanceTree">show all</a>
91
-
92
- </dd>
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
- <dt class="r2 last">Defined in:</dt>
103
- <dd class="r2 last">lib/ui_bibz/ui/core/nav/components/navbar_nav.rb</dd>
104
-
105
- </dl>
106
- <div class="clear"></div>
107
-
108
- <h2>Overview</h2><div class="docstring">
109
- <div class="discussion">
110
-
111
- <p>Create a NavbarNav</p>
112
-
113
- <p>This element is an extend of UiBibz::Ui::Core::Nav.</p>
114
-
115
- <h4 id="label-Attributes">Attributes</h4>
116
- <ul><li>
117
- <p><code>content</code> - Content of element</p>
118
- </li><li>
119
- <p><code>options</code> - Options of element</p>
120
- </li><li>
121
- <p><code>html_options</code> - Html Options of element</p>
122
- </li></ul>
123
-
124
- <h4 id="label-Options">Options</h4>
125
-
126
- <p>You can add HTML attributes using the <code>html_options</code>. You can
127
- pass arguments in options attribute:</p>
128
- <ul><li>
129
- <p><code>type</code> - Symbol (<code>:pills</code>, <code>:tab</code>)</p>
130
- </li><li>
131
- <p><code>position</code> - Symbol (<code>:right</code>, <code>:left</code>)</p>
132
- </li></ul>
133
-
134
- <h4 id="label-Signatures">Signatures</h4>
135
-
136
- <pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::NavbarNav.new(content, options = nil, html_options = nil)
137
-
138
- UiBibz::Ui::Core::NavbarNav.new(options = nil, html_options = nil).tap do |n|
139
- ...
140
- n.link content = nil, options = nil, html_options = nil, block
141
- ...
142
- end</code></pre>
143
-
144
- <h4 id="label-Examples">Examples</h4>
145
-
146
- <pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarNav</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_n'>n</span><span class='op'>|</span>
147
- <span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Test</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>#test</span><span class='tstring_end'>&#39;</span></span>
148
- <span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Test2</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>#test2</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>status:</span> <span class='symbol'>:active</span>
149
- <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
150
- </code></pre>
151
-
152
-
153
- </div>
154
- </div>
155
- <div class="tags">
156
-
157
-
158
- </div>
159
-
160
-
161
-
162
-
163
-
164
- <h2>Instance Attribute Summary</h2>
165
-
166
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
167
- <p class="inherited"><span class='object_link'><a href="Component.html#content-instance_method" title="UiBibz::Ui::Core::Component#content (method)">#content</a></span>, <span class='object_link'><a href="Component.html#html_options-instance_method" title="UiBibz::Ui::Core::Component#html_options (method)">#html_options</a></span>, <span class='object_link'><a href="Component.html#options-instance_method" title="UiBibz::Ui::Core::Component#options (method)">#options</a></span></p>
168
-
169
-
170
-
171
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
172
- <p class="inherited"><span class='object_link'><a href="../Base.html#output_buffer-instance_method" title="UiBibz::Ui::Base#output_buffer (method)">#output_buffer</a></span></p>
173
-
174
-
175
-
176
- <h2>
177
- Instance Method Summary
178
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
179
- </h2>
180
-
181
- <ul class="summary">
182
-
183
- <li class="public ">
184
- <span class="summary_signature">
185
-
186
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (NavbarNav) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
187
-
188
-
189
-
190
- </span>
191
-
192
-
193
- <span class="note title constructor">constructor</span>
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
- <span class="summary_desc"><div class='inline'>
203
- <p>See UiBibz::Ui::Core::Component.initialize.</p>
204
- </div></span>
205
-
206
- </li>
207
-
208
-
209
- </ul>
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span></h3>
222
- <p class="inherited"><span class='object_link'><a href="Nav.html#dropdown-instance_method" title="UiBibz::Ui::Core::Nav#dropdown (method)">#dropdown</a></span>, <span class='object_link'><a href="Nav.html#link-instance_method" title="UiBibz::Ui::Core::Nav#link (method)">#link</a></span>, <span class='object_link'><a href="Nav.html#render-instance_method" title="UiBibz::Ui::Core::Nav#render (method)">#render</a></span></p>
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
233
- <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#render-instance_method" title="UiBibz::Ui::Core::Component#render (method)">#render</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
244
- <p class="inherited"><span class='object_link'><a href="../Base.html#i18n_set%3F-instance_method" title="UiBibz::Ui::Base#i18n_set? (method)">#i18n_set?</a></span></p>
245
-
246
- <div id="constructor_details" class="method_details_list">
247
- <h2>Constructor Details</h2>
248
-
249
- <div class="method_details first">
250
- <h3 class="signature first" id="initialize-instance_method">
251
-
252
- - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::NavbarNav (class)">NavbarNav</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block)
253
-
254
-
255
-
256
-
257
-
258
- </h3><div class="docstring">
259
- <div class="discussion">
260
-
261
- <p>See UiBibz::Ui::Core::Component.initialize</p>
262
-
263
-
264
- </div>
265
- </div>
266
- <div class="tags">
267
-
268
-
269
- </div><table class="source_code">
270
- <tr>
271
- <td>
272
- <pre class="lines">
273
-
274
-
275
- 42
276
- 43
277
- 44</pre>
278
- </td>
279
- <td>
280
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_nav.rb', line 42</span>
281
-
282
- <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'>&amp;</span><span class='id identifier rubyid_block'>block</span>
283
- <span class='kw'>super</span>
284
- <span class='kw'>end</span></pre>
285
- </td>
286
- </tr>
287
- </table>
288
- </div>
289
-
290
- </div>
291
-
292
-
293
- </div>
294
-
295
- <div id="footer">
296
- Generated on Mon Oct 19 15:25:16 2015 by
297
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
- 0.8.7.6 (ruby-2.2.3).
299
- </div>
300
-
301
- </body>
302
- </html>