hobo 0.7.5 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. data/{hobo_files/plugin/CHANGES.txt → CHANGES.txt} +391 -0
  2. data/Manifest +146 -0
  3. data/{hobo_files/plugin/README → README} +0 -0
  4. data/bin/hobo +13 -26
  5. data/dryml_generators/rapid/cards.dryml.erb +55 -0
  6. data/dryml_generators/rapid/forms.dryml.erb +43 -0
  7. data/dryml_generators/rapid/pages.dryml.erb +284 -0
  8. data/hobo.gemspec +168 -0
  9. data/init.rb +9 -0
  10. data/lib/action_view_extensions/helpers/tag_helper.rb +7 -0
  11. data/lib/active_record/association_collection.rb +54 -0
  12. data/{hobo_files/plugin/lib → lib}/active_record/association_proxy.rb +12 -4
  13. data/{hobo_files/plugin/lib → lib}/active_record/association_reflection.rb +7 -1
  14. data/{hobo_files/plugin/lib → lib}/extensions/test_case.rb +17 -17
  15. data/{hobo_files/plugin/lib → lib}/hobo.rb +193 -100
  16. data/{hobo_files/plugin/lib → lib}/hobo/authentication_support.rb +8 -8
  17. data/{hobo_files/plugin/lib → lib}/hobo/bundle.rb +90 -89
  18. data/{hobo_files/plugin/lib → lib}/hobo/composite_model.rb +21 -21
  19. data/{hobo_files/plugin/lib → lib}/hobo/controller.rb +38 -25
  20. data/{hobo_files/plugin/lib → lib}/hobo/dev_controller.rb +10 -6
  21. data/lib/hobo/dryml.rb +167 -0
  22. data/{hobo_files/plugin/lib → lib}/hobo/dryml/dryml_builder.rb +28 -25
  23. data/lib/hobo/dryml/dryml_generator.rb +210 -0
  24. data/{hobo_files/plugin/lib → lib}/hobo/dryml/dryml_support_controller.rb +1 -1
  25. data/lib/hobo/dryml/parser.rb +3 -0
  26. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/attribute.rb +6 -6
  27. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/base_parser.rb +16 -16
  28. data/lib/hobo/dryml/parser/document.rb +57 -0
  29. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/element.rb +7 -7
  30. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/elements.rb +9 -9
  31. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/source.rb +3 -3
  32. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/text.rb +3 -3
  33. data/{hobo_files/plugin/lib → lib}/hobo/dryml/parser/tree_parser.rb +3 -3
  34. data/{hobo_files/plugin/lib → lib}/hobo/dryml/part_context.rb +26 -26
  35. data/{hobo_files/plugin/lib → lib}/hobo/dryml/scoped_variables.rb +15 -15
  36. data/{hobo_files/plugin/lib → lib}/hobo/dryml/tag_parameters.rb +10 -10
  37. data/{hobo_files/plugin/lib → lib}/hobo/dryml/taglib.rb +43 -37
  38. data/{hobo_files/plugin/lib → lib}/hobo/dryml/template.rb +290 -208
  39. data/{hobo_files/plugin/lib → lib}/hobo/dryml/template_environment.rb +173 -115
  40. data/{hobo_files/plugin/lib → lib}/hobo/dryml/template_handler.rb +19 -24
  41. data/lib/hobo/find_for.rb +95 -0
  42. data/{hobo_files/plugin/lib → lib}/hobo/generator.rb +2 -1
  43. data/{hobo_files/plugin/lib → lib}/hobo/guest.rb +12 -4
  44. data/{hobo_files/plugin/lib → lib}/hobo/hobo_helper.rb +146 -117
  45. data/lib/hobo/include_in_save.rb +43 -0
  46. data/lib/hobo/lifecycles.rb +94 -0
  47. data/lib/hobo/lifecycles/actions.rb +73 -0
  48. data/lib/hobo/lifecycles/creator.rb +76 -0
  49. data/lib/hobo/lifecycles/lifecycle.rb +205 -0
  50. data/lib/hobo/lifecycles/state.rb +23 -0
  51. data/lib/hobo/lifecycles/transition.rb +66 -0
  52. data/{hobo_files/plugin/lib → lib}/hobo/model.rb +306 -217
  53. data/{hobo_files/plugin/lib → lib}/hobo/model_controller.rb +342 -213
  54. data/{hobo_files/plugin/lib → lib}/hobo/model_router.rb +151 -120
  55. data/{hobo_files/plugin/lib → lib}/hobo/model_support.rb +9 -9
  56. data/{hobo_files/plugin/lib → lib}/hobo/rapid_helper.rb +30 -23
  57. data/{hobo_files/plugin/lib → lib}/hobo/scopes.rb +22 -68
  58. data/{hobo_files/plugin/lib → lib}/hobo/scopes/apply_scopes.rb +5 -5
  59. data/lib/hobo/scopes/association_proxy_extensions.rb +47 -0
  60. data/{hobo_files/plugin/lib → lib}/hobo/scopes/automatic_scopes.rb +104 -79
  61. data/lib/hobo/scopes/named_scope_extensions.rb +27 -0
  62. data/{hobo_files/plugin/lib → lib}/hobo/static_tags +1 -11
  63. data/{hobo_files/plugin/lib → lib}/hobo/undefined.rb +1 -1
  64. data/{hobo_files/plugin/lib → lib}/hobo/undefined_access_error.rb +0 -0
  65. data/{hobo_files/plugin/lib → lib}/hobo/user.rb +27 -25
  66. data/{hobo_files/plugin/lib → lib}/hobo/user_controller.rb +80 -34
  67. data/{hobo_files/plugin/generators → rails_generators}/hobo/hobo_generator.rb +7 -7
  68. data/rails_generators/hobo/templates/application.css +0 -0
  69. data/{hobo_files/plugin/generators → rails_generators}/hobo/templates/application.dryml +0 -2
  70. data/{hobo_files/plugin/generators → rails_generators}/hobo/templates/dryml-support.js +0 -0
  71. data/{hobo_files/plugin/generators → rails_generators}/hobo/templates/guest.rb +0 -0
  72. data/rails_generators/hobo/templates/initializer.rb +9 -0
  73. data/{hobo_files/plugin/generators → rails_generators}/hobo_front_controller/USAGE +0 -0
  74. data/{hobo_files/plugin/generators → rails_generators}/hobo_front_controller/hobo_front_controller_generator.rb +1 -3
  75. data/{hobo_files/plugin/generators → rails_generators}/hobo_front_controller/templates/controller.rb +1 -1
  76. data/{hobo_files/plugin/generators → rails_generators}/hobo_front_controller/templates/functional_test.rb +0 -0
  77. data/{hobo_files/plugin/generators → rails_generators}/hobo_front_controller/templates/helper.rb +0 -0
  78. data/rails_generators/hobo_front_controller/templates/index.dryml +25 -0
  79. data/{hobo_files/plugin/generators → rails_generators}/hobo_model/USAGE +0 -0
  80. data/{hobo_files/plugin/generators → rails_generators}/hobo_model/hobo_model_generator.rb +0 -0
  81. data/{hobo_files/plugin/generators → rails_generators}/hobo_model/templates/fixtures.yml +0 -0
  82. data/{hobo_files/plugin/generators → rails_generators}/hobo_model/templates/model.rb +0 -0
  83. data/{hobo_files/plugin/generators → rails_generators}/hobo_model/templates/unit_test.rb +0 -0
  84. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_controller/USAGE +0 -0
  85. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_controller/hobo_model_controller_generator.rb +0 -7
  86. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_controller/templates/controller.rb +0 -0
  87. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_controller/templates/functional_test.rb +0 -0
  88. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_controller/templates/helper.rb +0 -0
  89. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_resource/hobo_model_resource_generator.rb +0 -0
  90. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_resource/templates/controller.rb +0 -0
  91. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_resource/templates/functional_test.rb +0 -0
  92. data/{hobo_files/plugin/generators → rails_generators}/hobo_model_resource/templates/helper.rb +0 -0
  93. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/hobo_rapid_generator.rb +21 -11
  94. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/IE7.js +1 -1
  95. data/rails_generators/hobo_rapid/templates/blank.gif +0 -0
  96. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/hobo-rapid.css +0 -0
  97. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/hobo-rapid.js +175 -104
  98. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/lowpro.js +0 -0
  99. data/rails_generators/hobo_rapid/templates/nicEditorIcons.gif +0 -0
  100. data/rails_generators/hobo_rapid/templates/nicedit.js +91 -0
  101. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/reset.css +0 -0
  102. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/public/images/fieldbg.gif +0 -0
  103. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/public/images/pencil.png +0 -0
  104. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/public/images/small_close.png +0 -0
  105. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/public/images/spinner.gif +0 -0
  106. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/public/stylesheets/clean.css +80 -71
  107. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +6 -1
  108. data/{hobo_files/plugin/generators → rails_generators}/hobo_rapid/templates/themes/clean/views/clean.dryml +4 -4
  109. data/rails_generators/hobo_subsite/hobo_subsite_generator.rb +73 -0
  110. data/rails_generators/hobo_subsite/templates/application.dryml +1 -0
  111. data/rails_generators/hobo_subsite/templates/controller.rb +5 -0
  112. data/rails_generators/hobo_subsite/templates/site_taglib.dryml +13 -0
  113. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_controller/USAGE +0 -0
  114. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_controller/hobo_user_controller_generator.rb +0 -0
  115. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_controller/templates/controller.rb +0 -0
  116. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_controller/templates/functional_test.rb +0 -0
  117. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_controller/templates/helper.rb +0 -0
  118. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_model/USAGE +0 -0
  119. data/rails_generators/hobo_user_model/hobo_user_model_generator.rb +30 -0
  120. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_model/templates/fixtures.yml +0 -0
  121. data/rails_generators/hobo_user_model/templates/forgot_password.erb +10 -0
  122. data/rails_generators/hobo_user_model/templates/mailer.rb +14 -0
  123. data/rails_generators/hobo_user_model/templates/model.rb +55 -0
  124. data/{hobo_files/plugin/generators → rails_generators}/hobo_user_model/templates/unit_test.rb +0 -0
  125. data/script/destroy +14 -0
  126. data/script/generate +14 -0
  127. data/{hobo_files/plugin/taglibs → taglibs}/core.dryml +6 -7
  128. data/{hobo_files/plugin/taglibs → taglibs}/rapid.dryml +36 -67
  129. data/{hobo_files/plugin/taglibs → taglibs}/rapid_document_tags.dryml +7 -24
  130. data/{hobo_files/plugin/taglibs → taglibs}/rapid_editing.dryml +51 -50
  131. data/{hobo_files/plugin/taglibs → taglibs}/rapid_forms.dryml +62 -56
  132. data/taglibs/rapid_generics.dryml +33 -0
  133. data/taglibs/rapid_lifecycles.dryml +43 -0
  134. data/{hobo_files/plugin/taglibs → taglibs}/rapid_navigation.dryml +23 -23
  135. data/taglibs/rapid_pages.dryml +183 -0
  136. data/{hobo_files/plugin/taglibs → taglibs}/rapid_plus.dryml +30 -5
  137. data/{hobo_files/plugin/taglibs → taglibs}/rapid_support.dryml +3 -4
  138. data/taglibs/rapid_user_pages.dryml +179 -0
  139. data/{hobo_files/plugin/tasks → tasks}/environments.rake +0 -0
  140. data/{hobo_files/plugin/tasks → tasks}/fix_dryml.rake +0 -0
  141. data/{hobo_files/plugin/tasks → tasks}/generate_tag_reference.rb +21 -22
  142. data/tasks/hobo_tasks.rake +32 -0
  143. data/test/test_generator_helper.rb +29 -0
  144. data/test/test_helper.rb +1 -0
  145. data/test/test_hobo_model_controller_generator.rb +56 -0
  146. data/{hobo_files/plugin/uninstall.rb → uninstall.rb} +0 -0
  147. metadata +240 -225
  148. data/README.txt +0 -18
  149. data/hobo_files/plugin/LICENSE.txt +0 -22
  150. data/hobo_files/plugin/Rakefile +0 -96
  151. data/hobo_files/plugin/generators/hobo_front_controller/templates/index.dryml +0 -24
  152. data/hobo_files/plugin/generators/hobo_front_controller/templates/search.dryml +0 -19
  153. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/banner.gif +0 -0
  154. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-bodytop.gif +0 -0
  155. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-corner-01.gif +0 -0
  156. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-corner-02.gif +0 -0
  157. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-corner-03.gif +0 -0
  158. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-corner-04.gif +0 -0
  159. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-shadow-bottom.gif +0 -0
  160. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-shadow-left.gif +0 -0
  161. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-shadow-right.gif +0 -0
  162. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/bkg-shadow-top.gif +0 -0
  163. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/header-blue.gif +0 -0
  164. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/header-dblue.gif +0 -0
  165. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/header-green.gif +0 -0
  166. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/header-purple.gif +0 -0
  167. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/header-red.gif +0 -0
  168. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/logo.gif +0 -0
  169. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/plus.png +0 -0
  170. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/spinner.gif +0 -0
  171. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/txt-list-img-dblue.gif +0 -0
  172. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/txt-list-img-green.gif +0 -0
  173. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/txt-list-img-purple.gif +0 -0
  174. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/txt-list-img-red.gif +0 -0
  175. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-corner-01.gif +0 -0
  176. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-corner-02.gif +0 -0
  177. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-corner-03.gif +0 -0
  178. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-corner-04.gif +0 -0
  179. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-shadow-bottom.gif +0 -0
  180. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-shadow-left.gif +0 -0
  181. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-shadow-right.gif +0 -0
  182. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/window-shadow-top.gif +0 -0
  183. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/stylesheets/application.css +0 -400
  184. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/views/application.dryml +0 -96
  185. data/hobo_files/plugin/generators/hobo_user_model/hobo_user_model_generator.rb +0 -25
  186. data/hobo_files/plugin/generators/hobo_user_model/templates/model.rb +0 -56
  187. data/hobo_files/plugin/init.rb +0 -101
  188. data/hobo_files/plugin/lib/action_view_extensions/base.rb +0 -15
  189. data/hobo_files/plugin/lib/active_record/has_many_association.rb +0 -55
  190. data/hobo_files/plugin/lib/active_record/has_many_through_association.rb +0 -20
  191. data/hobo_files/plugin/lib/hobo/dryml.rb +0 -165
  192. data/hobo_files/plugin/lib/hobo/dryml/parser/document.rb +0 -53
  193. data/hobo_files/plugin/lib/hobo/scopes/association_proxy_extensions.rb +0 -33
  194. data/hobo_files/plugin/lib/hobo/scopes/defined_scope_proxy_extender.rb +0 -90
  195. data/hobo_files/plugin/lib/hobo/scopes/scope_reflection.rb +0 -18
  196. data/hobo_files/plugin/lib/hobo/scopes/scoped_proxy.rb +0 -55
  197. data/hobo_files/plugin/taglib-docs/core.markdown +0 -165
  198. data/hobo_files/plugin/taglib-docs/rapid.markdown +0 -677
  199. data/hobo_files/plugin/taglib-docs/rapid_document_tags.markdown +0 -240
  200. data/hobo_files/plugin/taglib-docs/rapid_editing.markdown +0 -418
  201. data/hobo_files/plugin/taglib-docs/rapid_forms.markdown +0 -562
  202. data/hobo_files/plugin/taglib-docs/rapid_generics.markdown +0 -187
  203. data/hobo_files/plugin/taglib-docs/rapid_navigation.markdown +0 -214
  204. data/hobo_files/plugin/taglib-docs/rapid_pages.markdown +0 -530
  205. data/hobo_files/plugin/taglib-docs/rapid_plus.markdown +0 -65
  206. data/hobo_files/plugin/taglib-docs/rapid_support.markdown +0 -50
  207. data/hobo_files/plugin/taglib-docs/rapid_user_pages.markdown +0 -129
  208. data/hobo_files/plugin/taglibs/rapid_generics.dryml +0 -117
  209. data/hobo_files/plugin/taglibs/rapid_pages.dryml +0 -359
  210. data/hobo_files/plugin/taglibs/rapid_user_pages.dryml +0 -104
  211. data/hobo_files/plugin/tasks/dump_fixtures.rake +0 -70
  212. data/hobo_files/plugin/tasks/hobo_tasks.rake +0 -17
@@ -1,187 +0,0 @@
1
- # Rapid Generics
2
-
3
- * [<creation-details>](#creation-details)
4
- * [<primary-content>](#primary-content)
5
- * [<association-count>](#association-count)
6
- * [<base-card>](#base-card)
7
- * [<card>](#card)
8
- * [<search-card>](#search-card)
9
- * [<collection>](#collection)
10
- * [<base-collection>](#base-collection)
11
- * [<collection-preview>](#collection-preview)
12
-
13
-
14
- ---
15
-
16
- <a name="creation-details">&nbsp;</a>
17
- ## &lt;creation-details&gt;
18
-
19
-
20
-
21
- ### Attributes
22
-
23
- None
24
-
25
- ### Parameters
26
-
27
- <ul><li>&lt;by:&gt; (&lt;view&gt;)
28
- </li>
29
- <li>&lt;at:&gt; (&lt;created_at&gt;)
30
- </li>
31
- </ul>
32
-
33
-
34
- ---
35
-
36
- <a name="primary-content">&nbsp;</a>
37
- ## &lt;primary-content&gt;
38
-
39
-
40
-
41
- ### Attributes (merged with [&lt;view&gt;](#view))
42
-
43
- None
44
-
45
- ### Parameters (merged with [&lt;view&gt;](#view))
46
-
47
- None
48
-
49
-
50
- ---
51
-
52
- <a name="association-count">&nbsp;</a>
53
- ## &lt;association-count&gt;
54
-
55
-
56
-
57
- ### Attributes (merged with [&lt;a&gt;](#a))
58
-
59
- None
60
-
61
- ### Parameters (merged with [&lt;a&gt;](#a))
62
-
63
- None
64
-
65
-
66
- ---
67
-
68
- <a name="base-card">&nbsp;</a>
69
- ## &lt;base-card&gt;
70
-
71
-
72
-
73
- ### Attributes (merged with [&lt;div&gt;](#div))
74
-
75
- None
76
-
77
- ### Parameters
78
-
79
- <ul><li>&lt;edit-link:&gt; (&lt;a&gt;)
80
- </li>
81
- <li>&lt;delete-button:&gt;
82
- </li>
83
- <li>&lt;heading:&gt; (&lt;h3&gt;)
84
- </li>
85
- <li>&lt;content:&gt; (&lt;div&gt;)
86
- </li>
87
- <li>&lt;creation-details:&gt;
88
- </li>
89
- <li>&lt;counter:&gt; (&lt;do&gt;)
90
- </li>
91
- </ul>
92
-
93
-
94
- ---
95
-
96
- <a name="card">&nbsp;</a>
97
- ## &lt;card&gt;
98
-
99
-
100
-
101
- ### Attributes (merged with [&lt;base-card&gt;](#base-card))
102
-
103
- None
104
-
105
- ### Parameters (merged with [&lt;base-card&gt;](#base-card))
106
-
107
- None
108
-
109
-
110
- ---
111
-
112
- <a name="search-card">&nbsp;</a>
113
- ## &lt;search-card&gt;
114
-
115
-
116
-
117
- ### Attributes
118
-
119
- None
120
-
121
- ### Parameters
122
-
123
- None
124
-
125
-
126
- ---
127
-
128
- <a name="collection">&nbsp;</a>
129
- ## &lt;collection&gt;
130
-
131
-
132
-
133
- ### Attributes (merged with [&lt;base-collection&gt;](#base-collection))
134
-
135
- None
136
-
137
- ### Parameters (merged with [&lt;base-collection&gt;](#base-collection))
138
-
139
- <ul><li>&lt;empty-message:&gt; (&lt;p&gt;)
140
- </li>
141
- </ul>
142
-
143
-
144
- ---
145
-
146
- <a name="base-collection">&nbsp;</a>
147
- ## &lt;base-collection&gt;
148
-
149
-
150
-
151
- ### Attributes (merged with [&lt;ul&gt;](#ul))
152
-
153
- * sortable
154
- * sortable-options
155
-
156
-
157
- ### Parameters
158
-
159
- <ul><li>&lt;li:&gt;
160
- <ul><li>&lt;handle:&gt; (&lt;div&gt;)
161
- </li>
162
- <li>&lt;card:&gt;
163
- </li>
164
- </ul></li>
165
- </ul>
166
-
167
-
168
- ---
169
-
170
- <a name="collection-preview">&nbsp;</a>
171
- ## &lt;collection-preview&gt;
172
-
173
-
174
-
175
- ### Attributes (merged with [&lt;div&gt;](#div))
176
-
177
- * limit
178
- * if-any
179
-
180
-
181
- ### Parameters (merged with [&lt;collection&gt;](#collection))
182
-
183
- <ul><li>&lt;heading:&gt; (&lt;do&gt;)
184
- </li>
185
- <li>&lt;show-all-link:&gt; (&lt;span&gt;)
186
- </li>
187
- </ul>
@@ -1,214 +0,0 @@
1
- # Rapid Navigation
2
-
3
- * [&lt;navigation&gt;](#navigation)
4
- * [&lt;nav-item&gt;](#nav-item)
5
- * [&lt;main-nav&gt;](#main-nav)
6
- * [&lt;account-nav&gt;](#account-nav)
7
- * [&lt;page-nav&gt;](#page-nav)
8
- * [&lt;page-n-of-count&gt;](#page-n-of-count)
9
- * [&lt;previous-page-link&gt;](#previous-page-link)
10
- * [&lt;next-page-link&gt;](#next-page-link)
11
- * [&lt;first-page-link&gt;](#first-page-link)
12
- * [&lt;last-page-link&gt;](#last-page-link)
13
- * [&lt;magic-nav&gt;](#magic-nav)
14
-
15
-
16
- ---
17
-
18
- <a name="navigation">&nbsp;</a>
19
- ## &lt;navigation&gt;
20
-
21
- General purpose navigation bar. Renders a `<ul class="navigation">`
22
-
23
- ### Attributes (merged with [&lt;ul&gt;](#ul))
24
-
25
- * current
26
-
27
-
28
- ### Parameters
29
-
30
- <ul><li>&lt;default:&gt; (&lt;do&gt;)
31
- </li>
32
- </ul>
33
-
34
-
35
- ---
36
-
37
- <a name="nav-item">&nbsp;</a>
38
- ## &lt;nav-item&gt;
39
-
40
-
41
-
42
- ### Attributes (merged with [&lt;li&gt;](#li))
43
-
44
- None
45
-
46
- ### Parameters
47
-
48
- None
49
-
50
-
51
- ---
52
-
53
- <a name="main-nav">&nbsp;</a>
54
- ## &lt;main-nav&gt;
55
-
56
-
57
-
58
- ### Attributes
59
-
60
- None
61
-
62
- ### Parameters
63
-
64
- None
65
-
66
-
67
- ---
68
-
69
- <a name="account-nav">&nbsp;</a>
70
- ## &lt;account-nav&gt;
71
-
72
-
73
-
74
- ### Attributes
75
-
76
- None
77
-
78
- ### Parameters
79
-
80
- <ul><li>&lt;ul:&gt;
81
- <ul><li>&lt;logged-in-as:&gt; (&lt;li&gt;)
82
- </li>
83
- <li>&lt;account:&gt; (&lt;li&gt;)
84
- </li>
85
- <li>&lt;log-out:&gt; (&lt;li&gt;)
86
- </li>
87
- <li>&lt;log-in:&gt; (&lt;li&gt;)
88
- </li>
89
- <li>&lt;sign-up:&gt; (&lt;li&gt;)
90
- </li>
91
- </ul></li>
92
- </ul>
93
-
94
-
95
- ---
96
-
97
- <a name="page-nav">&nbsp;</a>
98
- ## &lt;page-nav&gt;
99
-
100
-
101
-
102
- ### Attributes
103
-
104
- * params
105
-
106
-
107
- ### Parameters
108
-
109
- None
110
-
111
-
112
- ---
113
-
114
- <a name="page-n-of-count">&nbsp;</a>
115
- ## &lt;page-n-of-count&gt;
116
-
117
-
118
-
119
- ### Attributes
120
-
121
- None
122
-
123
- ### Parameters
124
-
125
- None
126
-
127
-
128
- ---
129
-
130
- <a name="previous-page-link">&nbsp;</a>
131
- ## &lt;previous-page-link&gt;
132
-
133
-
134
-
135
- ### Attributes
136
-
137
- None
138
-
139
- ### Parameters
140
-
141
- <ul><li>&lt;default:&gt; (&lt;do&gt;)
142
- </li>
143
- </ul>
144
-
145
-
146
- ---
147
-
148
- <a name="next-page-link">&nbsp;</a>
149
- ## &lt;next-page-link&gt;
150
-
151
-
152
-
153
- ### Attributes
154
-
155
- None
156
-
157
- ### Parameters
158
-
159
- <ul><li>&lt;default:&gt; (&lt;do&gt;)
160
- </li>
161
- </ul>
162
-
163
-
164
- ---
165
-
166
- <a name="first-page-link">&nbsp;</a>
167
- ## &lt;first-page-link&gt;
168
-
169
-
170
-
171
- ### Attributes
172
-
173
- None
174
-
175
- ### Parameters
176
-
177
- <ul><li>&lt;default:&gt; (&lt;do&gt;)
178
- </li>
179
- </ul>
180
-
181
-
182
- ---
183
-
184
- <a name="last-page-link">&nbsp;</a>
185
- ## &lt;last-page-link&gt;
186
-
187
-
188
-
189
- ### Attributes
190
-
191
- None
192
-
193
- ### Parameters
194
-
195
- <ul><li>&lt;default:&gt; (&lt;do&gt;)
196
- </li>
197
- </ul>
198
-
199
-
200
- ---
201
-
202
- <a name="magic-nav">&nbsp;</a>
203
- ## &lt;magic-nav&gt;
204
-
205
- magic nav, just to get you started. Don't try to customise this
206
- but rather write your own navigation using the `<navigation>` tag
207
-
208
- ### Attributes (merged with [&lt;navigation&gt;](#navigation))
209
-
210
- None
211
-
212
- ### Parameters
213
-
214
- None
@@ -1,530 +0,0 @@
1
- # Rapid Pages
2
-
3
- * [&lt;base-page&gt;](#base-page)
4
- * [&lt;simple-layout&gt;](#simple-layout)
5
- * [&lt;aside-layout&gt;](#aside-layout)
6
- * [&lt;page&gt;](#page)
7
- * [&lt;index-page&gt;](#index-page)
8
- * [&lt;new-page&gt;](#new-page)
9
- * [&lt;show-page&gt;](#show-page)
10
- * [&lt;edit-page&gt;](#edit-page)
11
- * [&lt;new-in-collection-page&gt;](#new-in-collection-page)
12
- * [&lt;show-collection-page&gt;](#show-collection-page)
13
- * [&lt;permission-denied-page&gt;](#permission-denied-page)
14
- * [&lt;not-found-page&gt;](#not-found-page)
15
- * [&lt;doctype&gt;](#doctype)
16
- * [&lt;stylesheet&gt;](#stylesheet)
17
- * [&lt;javascript&gt;](#javascript)
18
- * [&lt;flash-message&gt;](#flash-message)
19
- * [&lt;ajax-progress&gt;](#ajax-progress)
20
- * [&lt;default-page-title&gt;](#default-page-title)
21
- * [&lt;with-primary-collection&gt;](#with-primary-collection)
22
-
23
-
24
- ---
25
-
26
- <a name="base-page">&nbsp;</a>
27
- ## &lt;base-page&gt;
28
-
29
-
30
-
31
- ### Attributes
32
-
33
- * title
34
- * full-title
35
- * doctype
36
-
37
-
38
- ### Parameters
39
-
40
- <ul><li>&lt;doctype:&gt;
41
- </li>
42
- <li>&lt;head:&gt;
43
- <ul><li>&lt;title:&gt;
44
- </li>
45
- <li>&lt;stylesheets:&gt; (&lt;do&gt;)
46
- </li>
47
- <li>&lt;scripts:&gt; (&lt;do&gt;)
48
- <ul><li>&lt;javascript:&gt;
49
- </li>
50
- <li>&lt;fix-ie6:&gt; (&lt;do&gt;)
51
- </li>
52
- <li>&lt;hobo-rapid-javascripts:&gt;
53
- </li>
54
- </ul></li>
55
- </ul></li>
56
- <li>&lt;body:&gt;
57
- </li>
58
- </ul>
59
-
60
-
61
- ---
62
-
63
- <a name="simple-layout">&nbsp;</a>
64
- ## &lt;simple-layout&gt;
65
-
66
-
67
-
68
- ### Attributes (merged with [&lt;base-page&gt;](#base-page))
69
-
70
- None
71
-
72
- ### Parameters (merged with [&lt;base-page&gt;](#base-page))
73
-
74
- <ul><li>&lt;body:&gt;
75
- <ul><li>&lt;header:&gt;
76
- <ul><li>&lt;app-name:&gt; (&lt;heading&gt;)
77
- </li>
78
- <li>&lt;live-search:&gt;
79
- </li>
80
- <li>&lt;nav:&gt;
81
- <ul><li>&lt;account-nav:&gt;
82
- </li>
83
- <li>&lt;main-nav:&gt;
84
- </li>
85
- </ul></li>
86
- </ul></li>
87
- <li>&lt;content:&gt; (&lt;section&gt;)
88
- <ul><li>&lt;flash-message:&gt;
89
- </li>
90
- <li>&lt;flash-message:&gt;
91
- </li>
92
- <li>&lt;content-header:&gt; (&lt;header&gt;)
93
- </li>
94
- <li>&lt;content-body:&gt; (&lt;section&gt;)
95
- </li>
96
- <li>&lt;content-footer:&gt; (&lt;footer&gt;)
97
- </li>
98
- </ul></li>
99
- <li>&lt;footer:&gt;
100
- </li>
101
- </ul></li>
102
- </ul>
103
-
104
-
105
- ---
106
-
107
- <a name="aside-layout">&nbsp;</a>
108
- ## &lt;aside-layout&gt;
109
-
110
-
111
-
112
- ### Attributes (merged with [&lt;simple-layout&gt;](#simple-layout))
113
-
114
- None
115
-
116
- ### Parameters (merged with [&lt;simple-layout&gt;](#simple-layout))
117
-
118
- <ul><li>&lt;body:&gt;
119
- </li>
120
- <li>&lt;content:&gt;
121
- <ul><li>&lt;main-content:&gt; (&lt;section&gt;)
122
- </li>
123
- <li>&lt;aside:&gt;
124
- </li>
125
- </ul></li>
126
- </ul>
127
-
128
-
129
- ---
130
-
131
- <a name="page">&nbsp;</a>
132
- ## &lt;page&gt;
133
-
134
-
135
-
136
- ### Attributes (merged with [&lt;call-tag&gt;](#call-tag))
137
-
138
- * layout
139
-
140
-
141
- ### Parameters (merged with [&lt;call-tag&gt;](#call-tag))
142
-
143
- None
144
-
145
-
146
- ---
147
-
148
- <a name="index-page">&nbsp;</a>
149
- ## &lt;index-page&gt;
150
-
151
-
152
-
153
- ### Attributes (merged with [&lt;page&gt;](#page))
154
-
155
- None
156
-
157
- ### Parameters (merged with [&lt;page&gt;](#page))
158
-
159
- <ul><li>&lt;body:&gt;
160
- </li>
161
- <li>&lt;content-header:&gt;
162
- <ul><li>&lt;heading:&gt;
163
- </li>
164
- <li>&lt;count:&gt; (&lt;p&gt;)
165
- </li>
166
- </ul></li>
167
- <li>&lt;content-body:&gt;
168
- <ul><li>&lt;top-pagination-nav:&gt; (&lt;nav&gt;)
169
- </li>
170
- <li>&lt;collection:&gt;
171
- </li>
172
- <li>&lt;bottom-pagination-nav:&gt; (&lt;nav&gt;)
173
- </li>
174
- </ul></li>
175
- <li>&lt;content-footer:&gt;
176
- <ul><li>&lt;new-link:&gt; (&lt;a&gt;)
177
- </li>
178
- <li>&lt;new-field-list:&gt; (&lt;field-list&gt;)
179
- </li>
180
- </ul></li>
181
- </ul>
182
-
183
-
184
- ---
185
-
186
- <a name="new-page">&nbsp;</a>
187
- ## &lt;new-page&gt;
188
-
189
-
190
-
191
- ### Attributes (merged with [&lt;page&gt;](#page))
192
-
193
- None
194
-
195
- ### Parameters (merged with [&lt;page&gt;](#page))
196
-
197
- <ul><li>&lt;body:&gt;
198
- </li>
199
- <li>&lt;content-header:&gt;
200
- <ul><li>&lt;heading:&gt;
201
- </li>
202
- </ul></li>
203
- <li>&lt;content-body:&gt;
204
- <ul><li>&lt;error-messages:&gt;
205
- </li>
206
- <li>&lt;form:&gt;
207
- <ul><li>&lt;field-list:&gt;
208
- </li>
209
- <li>&lt;actions:&gt; (&lt;div&gt;)
210
- <ul><li>&lt;submit:&gt;
211
- </li>
212
- <li>&lt;back-link:&gt; (&lt;do&gt;)
213
- </li>
214
- </ul></li>
215
- </ul></li>
216
- </ul></li>
217
- </ul>
218
-
219
-
220
- ---
221
-
222
- <a name="show-page">&nbsp;</a>
223
- ## &lt;show-page&gt;
224
-
225
-
226
-
227
- ### Attributes (merged with [&lt;page&gt;](#page))
228
-
229
- * primary-collection
230
-
231
-
232
- ### Parameters (merged with [&lt;page&gt;](#page))
233
-
234
- <ul><li>&lt;body:&gt;
235
- </li>
236
- <li>&lt;content-header:&gt;
237
- <ul><li>&lt;heading:&gt;
238
- </li>
239
- <li>&lt;creation-details:&gt;
240
- </li>
241
- <li>&lt;primary-collection-count:&gt; (&lt;do&gt;)
242
- </li>
243
- <li>&lt;edit-link:&gt; (&lt;a&gt;)
244
- </li>
245
- </ul></li>
246
- <li>&lt;content-body:&gt;
247
- <ul><li>&lt;primary-content:&gt;
248
- </li>
249
- <li>&lt;field-list:&gt;
250
- </li>
251
- <li>&lt;primary-collection-title:&gt; (&lt;h2&gt;)
252
- </li>
253
- <li>&lt;primary-collection:&gt; (&lt;do&gt;)
254
- </li>
255
- <li>&lt;primary-collection-add:&gt; (&lt;if&gt;)
256
- <ul><li>&lt;primary-collection-field-list:&gt; (&lt;field-list&gt;)
257
- </li>
258
- </ul></li>
259
- </ul></li>
260
- <li>&lt;aside:&gt;
261
- </li>
262
- </ul>
263
-
264
-
265
- ---
266
-
267
- <a name="edit-page">&nbsp;</a>
268
- ## &lt;edit-page&gt;
269
-
270
-
271
-
272
- ### Attributes (merged with [&lt;page&gt;](#page))
273
-
274
- None
275
-
276
- ### Parameters (merged with [&lt;page&gt;](#page))
277
-
278
- <ul><li>&lt;body:&gt;
279
- </li>
280
- <li>&lt;content-header:&gt;
281
- <ul><li>&lt;heading:&gt;
282
- </li>
283
- <li>&lt;delete-button:&gt;
284
- </li>
285
- </ul></li>
286
- <li>&lt;content-body:&gt;
287
- <ul><li>&lt;error-messages:&gt;
288
- </li>
289
- <li>&lt;form:&gt;
290
- <ul><li>&lt;field-list:&gt;
291
- </li>
292
- <li>&lt;actions:&gt; (&lt;div&gt;)
293
- <ul><li>&lt;submit:&gt;
294
- </li>
295
- <li>&lt;back-link:&gt; (&lt;do&gt;)
296
- </li>
297
- </ul></li>
298
- </ul></li>
299
- </ul></li>
300
- </ul>
301
-
302
-
303
- ---
304
-
305
- <a name="new-in-collection-page">&nbsp;</a>
306
- ## &lt;new-in-collection-page&gt;
307
-
308
-
309
-
310
- ### Attributes (merged with [&lt;page&gt;](#page))
311
-
312
- None
313
-
314
- ### Parameters (merged with [&lt;page&gt;](#page))
315
-
316
- <ul><li>&lt;body:&gt;
317
- </li>
318
- <li>&lt;content-header:&gt;
319
- <ul><li>&lt;heading:&gt;
320
- </li>
321
- <li>&lt;sub-heading:&gt;
322
- </li>
323
- </ul></li>
324
- <li>&lt;content-body:&gt;
325
- <ul><li>&lt;form:&gt;
326
- <ul><li>&lt;field-list:&gt;
327
- </li>
328
- <li>&lt;actions:&gt; (&lt;div&gt;)
329
- <ul><li>&lt;submit:&gt;
330
- </li>
331
- <li>&lt;back-link:&gt; (&lt;do&gt;)
332
- </li>
333
- </ul></li>
334
- </ul></li>
335
- </ul></li>
336
- </ul>
337
-
338
-
339
- ---
340
-
341
- <a name="show-collection-page">&nbsp;</a>
342
- ## &lt;show-collection-page&gt;
343
-
344
-
345
-
346
- ### Attributes (merged with [&lt;page&gt;](#page))
347
-
348
- None
349
-
350
- ### Parameters (merged with [&lt;page&gt;](#page))
351
-
352
- <ul><li>&lt;body:&gt;
353
- </li>
354
- <li>&lt;content-header:&gt;
355
- </li>
356
- <li>&lt;content-body:&gt;
357
- <ul><li>&lt;top-pagination-nav:&gt; (&lt;nav&gt;)
358
- </li>
359
- <li>&lt;bottom-pagination-nav:&gt; (&lt;nav&gt;)
360
- <ul><li>&lt;page-nav:&gt;
361
- </li>
362
- </ul></li>
363
- <li>&lt;new-link:&gt; (&lt;nav&gt;)
364
- </li>
365
- </ul></li>
366
- </ul>
367
-
368
-
369
- ---
370
-
371
- <a name="permission-denied-page">&nbsp;</a>
372
- ## &lt;permission-denied-page&gt;
373
-
374
-
375
-
376
- ### Attributes (merged with [&lt;page&gt;](#page))
377
-
378
- * message
379
-
380
-
381
- ### Parameters (merged with [&lt;page&gt;](#page))
382
-
383
- <ul><li>&lt;content-header:&gt;
384
- <ul><li>&lt;heading:&gt;
385
- </li>
386
- </ul></li>
387
- </ul>
388
-
389
-
390
- ---
391
-
392
- <a name="not-found-page">&nbsp;</a>
393
- ## &lt;not-found-page&gt;
394
-
395
-
396
-
397
- ### Attributes (merged with [&lt;page&gt;](#page))
398
-
399
- * message
400
-
401
-
402
- ### Parameters (merged with [&lt;page&gt;](#page))
403
-
404
- <ul><li>&lt;content-header:&gt;
405
- <ul><li>&lt;heading:&gt;
406
- </li>
407
- </ul></li>
408
- </ul>
409
-
410
-
411
- ---
412
-
413
- <a name="doctype">&nbsp;</a>
414
- ## &lt;doctype&gt;
415
-
416
-
417
-
418
- ### Attributes
419
-
420
- * version
421
-
422
-
423
- ### Parameters
424
-
425
- None
426
-
427
-
428
- ---
429
-
430
- <a name="stylesheet">&nbsp;</a>
431
- ## &lt;stylesheet&gt;
432
-
433
-
434
-
435
- ### Attributes
436
-
437
- * name
438
- * media
439
-
440
-
441
- ### Parameters
442
-
443
- None
444
-
445
-
446
- ---
447
-
448
- <a name="javascript">&nbsp;</a>
449
- ## &lt;javascript&gt;
450
-
451
-
452
-
453
- ### Attributes
454
-
455
- * name
456
-
457
-
458
- ### Parameters
459
-
460
- None
461
-
462
-
463
- ---
464
-
465
- <a name="flash-message">&nbsp;</a>
466
- ## &lt;flash-message&gt;
467
-
468
-
469
-
470
- ### Attributes (merged with [&lt;div&gt;](#div))
471
-
472
- * type
473
-
474
-
475
- ### Parameters
476
-
477
- None
478
-
479
-
480
- ---
481
-
482
- <a name="ajax-progress">&nbsp;</a>
483
- ## &lt;ajax-progress&gt;
484
-
485
-
486
-
487
- ### Attributes
488
-
489
- None
490
-
491
- ### Parameters
492
-
493
- None
494
-
495
-
496
- ---
497
-
498
- <a name="default-page-title">&nbsp;</a>
499
- ## &lt;default-page-title&gt;
500
-
501
-
502
-
503
- ### Attributes
504
-
505
- None
506
-
507
- ### Parameters
508
-
509
- None
510
-
511
-
512
- ---
513
-
514
- <a name="with-primary-collection">&nbsp;</a>
515
- ## &lt;with-primary-collection&gt;
516
-
517
-
518
-
519
- ### Attributes
520
-
521
- * name
522
-
523
-
524
- ### Parameters
525
-
526
- <ul><li>&lt;default:&gt; (&lt;do&gt;)
527
- </li>
528
- <li>&lt;default:&gt; (&lt;do&gt;)
529
- </li>
530
- </ul>