plinth 0.0.1.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. data/.codoopts +10 -0
  2. data/.env +1 -0
  3. data/.gitignore +23 -0
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +1 -0
  6. data/Capfile +4 -0
  7. data/Gemfile +52 -0
  8. data/Gemfile.lock +243 -0
  9. data/Guardfile +9 -0
  10. data/LICENSE +22 -0
  11. data/Procfile +1 -0
  12. data/README.md +79 -0
  13. data/Rakefile +35 -0
  14. data/app/assets/images/layouts/basic-marketing-site.png +0 -0
  15. data/app/assets/images/layouts/jumbotron-site.png +0 -0
  16. data/app/assets/images/rails.png +0 -0
  17. data/app/assets/javascripts/application.js +17 -0
  18. data/app/assets/javascripts/base.js.coffee +3 -0
  19. data/app/assets/javascripts/grids.js.coffee +3 -0
  20. data/app/assets/javascripts/javascript.js.coffee +3 -0
  21. data/app/assets/javascripts/lib/modernizr.js +4 -0
  22. data/app/assets/javascripts/modules.js.coffee +3 -0
  23. data/app/assets/stylesheets/application-old-ie.css.scss +10 -0
  24. data/app/assets/stylesheets/application.css.scss +57 -0
  25. data/app/assets/stylesheets/base/_all.scss +6 -0
  26. data/app/assets/stylesheets/base/_reset.css.scss +16 -0
  27. data/app/assets/stylesheets/base/_type.scss +16 -0
  28. data/app/assets/stylesheets/modules/_coderay.css.scss +171 -0
  29. data/app/assets/stylesheets/modules/_layout_examples.css.scss +13 -0
  30. data/app/assets/stylesheets/modules/_webfont_table.css.scss +47 -0
  31. data/app/assets/stylesheets/vanilla-normal-old-ie.css.scss +11 -0
  32. data/app/assets/stylesheets/vanilla-normal.css.scss +33 -0
  33. data/app/controllers/application_controller.rb +5 -0
  34. data/app/controllers/base_controller.rb +52 -0
  35. data/app/controllers/grids_controller.rb +48 -0
  36. data/app/controllers/javascript_controller.rb +20 -0
  37. data/app/controllers/javascripts_controller.rb +4 -0
  38. data/app/controllers/modules_controller.rb +43 -0
  39. data/app/controllers/ui_controller.rb +2 -0
  40. data/app/helpers/plinth_helper.rb +33 -0
  41. data/app/views/base/_webfonts_social_standard.html +429 -0
  42. data/app/views/base/_webfonts_ss_standard.html +2413 -0
  43. data/app/views/base/buttons.html.haml +20 -0
  44. data/app/views/base/forms.html.haml +40 -0
  45. data/app/views/base/images.html.haml +20 -0
  46. data/app/views/base/index.html.haml +68 -0
  47. data/app/views/base/labels.html.haml +22 -0
  48. data/app/views/base/lists.html.haml +20 -0
  49. data/app/views/base/webfonts.html.haml +17 -0
  50. data/app/views/grids/index.html.haml +73 -0
  51. data/app/views/grids/layouts/basic-marketing-site.haml +69 -0
  52. data/app/views/grids/layouts/jumbotron-site.haml +92 -0
  53. data/app/views/grids/layouts.html.haml +9 -0
  54. data/app/views/layouts/_main_nav.html.haml +15 -0
  55. data/app/views/layouts/application.html.haml +15 -0
  56. data/app/views/modules/alerts.html.haml +12 -0
  57. data/app/views/modules/footer.html.haml +2 -0
  58. data/app/views/modules/index.html.haml +5 -0
  59. data/app/views/modules/nav.html.haml +12 -0
  60. data/app/views/modules/panels.html.haml +3 -0
  61. data/app/views/modules/tabs.html.haml +58 -0
  62. data/app/views/old_javascript/close.html.haml +2 -0
  63. data/app/views/old_javascript/forms.html.haml +2 -0
  64. data/app/views/old_javascript/ga_events.html.haml +2 -0
  65. data/app/views/old_javascript/index.html.haml +2 -0
  66. data/app/views/old_javascript/responsive_resize.html.haml +2 -0
  67. data/app/views/old_javascript/switch.html.haml +2 -0
  68. data/app/views/parts/base/_button.haml +3 -0
  69. data/app/views/parts/base/_button_colours.haml +4 -0
  70. data/app/views/parts/base/_button_group.haml +4 -0
  71. data/app/views/parts/base/_button_sizing.haml +3 -0
  72. data/app/views/parts/base/_button_states.haml +3 -0
  73. data/app/views/parts/base/_form_example.haml +26 -0
  74. data/app/views/parts/base/_form_example_horizontal.haml +26 -0
  75. data/app/views/parts/base/_form_group.haml +10 -0
  76. data/app/views/parts/base/_form_location.haml +3 -0
  77. data/app/views/parts/base/_labels.haml +5 -0
  78. data/app/views/parts/base/_labels_sizing.haml +3 -0
  79. data/app/views/parts/base/_list.haml +10 -0
  80. data/app/views/parts/base/_list_action.haml +5 -0
  81. data/app/views/parts/base/_list_nav.haml +12 -0
  82. data/app/views/parts/base/_list_unset.haml +10 -0
  83. data/app/views/parts/base/_type_body.haml +2 -0
  84. data/app/views/parts/base/_type_headings.haml +5 -0
  85. data/app/views/parts/base/_type_helpers.haml +3 -0
  86. data/app/views/parts/base/_type_links.haml +9 -0
  87. data/app/views/parts/base/_type_shouts.haml +4 -0
  88. data/app/views/parts/grids/_example_layout_1.haml +10 -0
  89. data/app/views/parts/grids/_live_grid.haml +29 -0
  90. data/app/views/parts/modules/_alerts.haml +11 -0
  91. data/app/views/parts/modules/_nav_footer.haml +34 -0
  92. data/app/views/parts/modules/_nav_header.haml +18 -0
  93. data/app/views/parts/modules/_panels.haml +9 -0
  94. data/app/views/parts/modules/_tabs_minimal.haml +11 -0
  95. data/app/views/parts/modules/_tabs_simple_group.haml +11 -0
  96. data/app/views/parts/modules/_tabs_simple_group_toggle.haml +11 -0
  97. data/app/views/parts/modules/_tabs_toggle.haml +5 -0
  98. data/app/views/parts/modules/_tabs_traditional.haml +11 -0
  99. data/app/views/shared/_placeholder_text.html.haml +1 -0
  100. data/app/views/shared/_title.html.haml +8 -0
  101. data/app/views/shared/_ui_nav.html.haml +5 -0
  102. data/app/views/ui/alert.html.haml +35 -0
  103. data/app/views/ui/buttons.html.haml +116 -0
  104. data/app/views/ui/footer.html.haml +69 -0
  105. data/app/views/ui/forms/_vertical_form.haml +7 -0
  106. data/app/views/ui/forms.html.haml +59 -0
  107. data/app/views/ui/grids.html.haml +18 -0
  108. data/app/views/ui/index.html.haml +5 -0
  109. data/app/views/ui/labels.html.haml +15 -0
  110. data/app/views/ui/modules/panel.html.haml +3 -0
  111. data/app/views/ui/nav.html.haml +48 -0
  112. data/app/views/ui/tabs.html.haml +171 -0
  113. data/app/views/ui/typography.html.haml +118 -0
  114. data/db/development.sqlite3 +0 -0
  115. data/db/seeds.rb +7 -0
  116. data/doc/README_FOR_APP +2 -0
  117. data/lib/assets/.gitkeep +0 -0
  118. data/lib/plinth/version.rb +3 -0
  119. data/lib/plinth.rb +11 -0
  120. data/lib/tasks/.gitkeep +0 -0
  121. data/lib/templates/haml/scaffold/_form.html.haml +8 -0
  122. data/log/.gitkeep +0 -0
  123. data/plinth.gemspec +33 -0
  124. data/public/404.html +26 -0
  125. data/public/422.html +26 -0
  126. data/public/500.html +25 -0
  127. data/public/favicon.ico +0 -0
  128. data/public/javascripts/LICENSE.html +158 -0
  129. data/public/javascripts/README.md.html +163 -0
  130. data/public/javascripts/assets/codo.css +1 -0
  131. data/public/javascripts/assets/codo.js +21 -0
  132. data/public/javascripts/assets/search_data.js +1 -0
  133. data/public/javascripts/class_index.html +215 -0
  134. data/public/javascripts/class_list.html +58 -0
  135. data/public/javascripts/classes/Close.html +259 -0
  136. data/public/javascripts/classes/GAEvent.html +231 -0
  137. data/public/javascripts/classes/ResizeHandler.html +225 -0
  138. data/public/javascripts/classes/Switch.html +318 -0
  139. data/public/javascripts/classes/TBGForm.html +373 -0
  140. data/public/javascripts/extra_list.html +36 -0
  141. data/public/javascripts/file_list.html +74 -0
  142. data/public/javascripts/files/styleguide/plugins/tbg-close.js.coffee.html +160 -0
  143. data/public/javascripts/files/styleguide/plugins/tbg-forms.js.coffee.html +160 -0
  144. data/public/javascripts/files/styleguide/plugins/tbg-ga-events.js.coffee.html +160 -0
  145. data/public/javascripts/files/styleguide/plugins/tbg-respinsiveresize.js.coffee.html +160 -0
  146. data/public/javascripts/files/styleguide/plugins/tbg-switch.js.coffee.html +160 -0
  147. data/public/javascripts/index.html +14 -0
  148. data/public/javascripts/method_list.html +187 -0
  149. data/public/javascripts/mixin_list.html +28 -0
  150. data/public/robots.txt +5 -0
  151. data/script/rails +6 -0
  152. data/spec/javascripts/fixtures/plugins/tbg-close_fixture.html.haml +4 -0
  153. data/spec/javascripts/fixtures/plugins/tbg-forms_fixture.html.haml +12 -0
  154. data/spec/javascripts/fixtures/plugins/tbg-ga-events_fixture.html.haml +9 -0
  155. data/spec/javascripts/fixtures/plugins/tbg-switch_fixture.html.haml +11 -0
  156. data/spec/javascripts/plugins/tbg-close_spec.js.coffee +54 -0
  157. data/spec/javascripts/plugins/tbg-forms_spec.js.coffee +87 -0
  158. data/spec/javascripts/plugins/tbg-ga-events_spec.js.coffee +83 -0
  159. data/spec/javascripts/plugins/tbg-switch_spec.js.coffee +96 -0
  160. data/spec/javascripts/spec.js.coffee +2 -0
  161. data/vendor/assets/fonts/ss-social-circle.eot +0 -0
  162. data/vendor/assets/fonts/ss-social-circle.svg +139 -0
  163. data/vendor/assets/fonts/ss-social-circle.ttf +0 -0
  164. data/vendor/assets/fonts/ss-social-circle.woff +0 -0
  165. data/vendor/assets/fonts/ss-social-regular.eot +0 -0
  166. data/vendor/assets/fonts/ss-social-regular.svg +133 -0
  167. data/vendor/assets/fonts/ss-social-regular.ttf +0 -0
  168. data/vendor/assets/fonts/ss-social-regular.woff +0 -0
  169. data/vendor/assets/fonts/ss-social.js +75 -0
  170. data/vendor/assets/fonts/ss-standard.eot +0 -0
  171. data/vendor/assets/fonts/ss-standard.js +75 -0
  172. data/vendor/assets/fonts/ss-standard.svg +207 -0
  173. data/vendor/assets/fonts/ss-standard.ttf +0 -0
  174. data/vendor/assets/fonts/ss-standard.woff +0 -0
  175. data/vendor/assets/images/background.png +0 -0
  176. data/vendor/assets/images/logos/sb-logo-white.png +0 -0
  177. data/vendor/assets/images/logos/sb-logo-white.svg +5 -0
  178. data/vendor/assets/images/middleman.png +0 -0
  179. data/vendor/assets/index.html.haml +8 -0
  180. data/vendor/assets/javascripts/.gitkeep +0 -0
  181. data/vendor/assets/javascripts/plinth/lib/handlebars.js +3 -0
  182. data/vendor/assets/javascripts/plinth/lib/jquery.fitvids.js +81 -0
  183. data/vendor/assets/javascripts/plinth/lib/ss-social.js +75 -0
  184. data/vendor/assets/javascripts/plinth/lib/ss-standard.js +78 -0
  185. data/vendor/assets/javascripts/plinth/plugins/doc/assets/codo.css +1 -0
  186. data/vendor/assets/javascripts/plinth/plugins/doc/assets/codo.js +21 -0
  187. data/vendor/assets/javascripts/plinth/plugins/doc/assets/search_data.js +1 -0
  188. data/vendor/assets/javascripts/plinth/plugins/doc/class_index.html +194 -0
  189. data/vendor/assets/javascripts/plinth/plugins/doc/class_list.html +58 -0
  190. data/vendor/assets/javascripts/plinth/plugins/doc/classes/Close.html +215 -0
  191. data/vendor/assets/javascripts/plinth/plugins/doc/classes/GAEvent.html +235 -0
  192. data/vendor/assets/javascripts/plinth/plugins/doc/classes/ResizeHandler.html +192 -0
  193. data/vendor/assets/javascripts/plinth/plugins/doc/classes/Switch.html +233 -0
  194. data/vendor/assets/javascripts/plinth/plugins/doc/classes/TBGForm.html +318 -0
  195. data/vendor/assets/javascripts/plinth/plugins/doc/extra_list.html +30 -0
  196. data/vendor/assets/javascripts/plinth/plugins/doc/file_list.html +58 -0
  197. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-close.js.coffee.html +154 -0
  198. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-forms.js.coffee.html +154 -0
  199. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-ga-events.js.coffee.html +154 -0
  200. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-respinsiveresize.js.coffee.html +154 -0
  201. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-switch.js.coffee.html +154 -0
  202. data/vendor/assets/javascripts/plinth/plugins/doc/index.html +14 -0
  203. data/vendor/assets/javascripts/plinth/plugins/doc/method_list.html +163 -0
  204. data/vendor/assets/javascripts/plinth/plugins/doc/mixin_list.html +28 -0
  205. data/vendor/assets/javascripts/plinth/plugins/tbg-close.js.coffee +97 -0
  206. data/vendor/assets/javascripts/plinth/plugins/tbg-forms.js.coffee +156 -0
  207. data/vendor/assets/javascripts/plinth/plugins/tbg-ga-events.js.coffee +107 -0
  208. data/vendor/assets/javascripts/plinth/plugins/tbg-respinsiveresize.js.coffee +73 -0
  209. data/vendor/assets/javascripts/plinth/plugins/tbg-switch.js.coffee +121 -0
  210. data/vendor/assets/stylesheets/.gitkeep +0 -0
  211. data/vendor/assets/stylesheets/_functions.scss +28 -0
  212. data/vendor/assets/stylesheets/_mixins.css.scss +273 -0
  213. data/vendor/assets/stylesheets/_settings.css.scss +120 -0
  214. data/vendor/assets/stylesheets/plinth/base/_all.css.scss +7 -0
  215. data/vendor/assets/stylesheets/plinth/base/_buttons.css.scss +166 -0
  216. data/vendor/assets/stylesheets/plinth/base/_form.css.scss +196 -0
  217. data/vendor/assets/stylesheets/plinth/base/_labels.css.scss +58 -0
  218. data/vendor/assets/stylesheets/plinth/base/_lists.css.scss +57 -0
  219. data/vendor/assets/stylesheets/plinth/base/_reset.css.scss +284 -0
  220. data/vendor/assets/stylesheets/plinth/base/_type.css.scss +328 -0
  221. data/vendor/assets/stylesheets/plinth/base/webfonts/_all.css.scss +2 -0
  222. data/vendor/assets/stylesheets/plinth/base/webfonts/ss-social.css.scss +57 -0
  223. data/vendor/assets/stylesheets/plinth/base/webfonts/ss-standard.css.scss +48 -0
  224. data/vendor/assets/stylesheets/plinth/grid/_grid.css.scss +127 -0
  225. data/vendor/assets/stylesheets/plinth/modules/_alert.css.scss +71 -0
  226. data/vendor/assets/stylesheets/plinth/modules/_all-grid.css.scss +1 -0
  227. data/vendor/assets/stylesheets/plinth/modules/_all-no-grid.css.scss +4 -0
  228. data/vendor/assets/stylesheets/plinth/modules/_footer.css.scss +93 -0
  229. data/vendor/assets/stylesheets/plinth/modules/_nav.css.scss +106 -0
  230. data/vendor/assets/stylesheets/plinth/modules/_panel.css.scss +28 -0
  231. data/vendor/assets/stylesheets/plinth/modules/_switch.css.scss +88 -0
  232. data/vendor/assets/stylesheets/plinth.css.scss +15 -0
  233. data/vendor/assets/views/buttons/_buttons.haml +9 -0
  234. data/vendor/assets/views/forms/_vertical_form.haml +7 -0
  235. data/vendor/assets/views/type/_headings.haml +6 -0
  236. data/vendor/assets/views/type/_paragraphs.haml +4 -0
  237. metadata +537 -0
@@ -0,0 +1,158 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset='UTF-8'>
5
+ <title>Codo Documentation</title>
6
+ <link rel='stylesheet' href='assets/codo.css' type='text/css'>
7
+ <script src='assets/codo.js'></script>
8
+ <script src='assets/search_data.js'></script>
9
+ </head>
10
+ <body>
11
+ <div id='base' data-path=''></div>
12
+ <div id='header'>
13
+ <div id='menu'>
14
+ <a href='README.md.html' title='Codo'>Codo</a>
15
+ &raquo;
16
+ <a href='class_index.html' title='Index'>Index</a>
17
+ &raquo;
18
+ <span class='title'>LICENSE</span>
19
+ <nav>
20
+ <ul>
21
+ <li class='noframes'>
22
+ (<a class='noframes' href='#'>no frames</a>)
23
+ </li>
24
+ </ul>
25
+ </nav>
26
+ <div id='search'>
27
+ <a id='class_list_link' href='class_list.html'>Classes</a>
28
+ <a id='file_list_link' href='file_list.html'>Files</a>
29
+ <a id='method_list_link' href='method_list.html'>Methods</a>
30
+ <a id='extra_list_link' href='extra_list.html'>Extras</a>
31
+ </div>
32
+ </div>
33
+ <iframe id='search_frame'></iframe>
34
+ <div id='fuzzySearch'>
35
+ <input type='text'>
36
+ <ol></ol>
37
+ </div>
38
+ <div id='help'>
39
+ <p>
40
+ Quickly fuzzy find classes, mixins, methods, file:
41
+ </p>
42
+ <ul>
43
+ <li>
44
+ <span>Ctrl-T</span>
45
+ Open fuzzy finder dialog
46
+ </li>
47
+ </ul>
48
+ <p>
49
+ In frame mode you can toggle the list naviation frame on the left side:
50
+ </p>
51
+ <ul>
52
+ <li>
53
+ <span>Ctrl-L</span>
54
+ Toggle list view
55
+ </li>
56
+ </ul>
57
+ <p>
58
+ You can focus a list in frame mode or toggle a tab in frameless mode:
59
+ </p>
60
+ <ul>
61
+ <li>
62
+ <span>Ctrl-C</span>
63
+ Class list
64
+ </li>
65
+ <li>
66
+ <span>Ctrl-I</span>
67
+ Mixin list
68
+ </li>
69
+ <li>
70
+ <span>Ctrl-F</span>
71
+ File list
72
+ </li>
73
+ <li>
74
+ <span>Ctrl-M</span>
75
+ Method list
76
+ </li>
77
+ <li>
78
+ <span>Ctrl-E</span>
79
+ Extras list
80
+ </li>
81
+ </ul>
82
+ <p>
83
+ You can focus and blur the search input:
84
+ </p>
85
+ <ul>
86
+ <li>
87
+ <span>Ctrl-S</span>
88
+ Focus search input
89
+ </li>
90
+ <li>
91
+ <span>Esc</span>
92
+ Blur search input
93
+ </li>
94
+ </ul>
95
+ <p>
96
+ In frameless mode you can close the list tab:
97
+ </p>
98
+ <ul>
99
+ <li>
100
+ <span>Esc</span>
101
+ Close list tab
102
+ </li>
103
+ </ul>
104
+ </div>
105
+ </div>
106
+ <div id='content'>
107
+ <nav class='toc'>
108
+ <p class='title'>
109
+ <a class='hide_toc' href='#'>
110
+ <strong>Table of Contents</strong>
111
+ </a>
112
+ <small>
113
+ (<a class='float_toc' href='#'>left</a>)
114
+ </small>
115
+ </p>
116
+ </nav>
117
+ <div id='filecontents'>
118
+ Copyright (c) 2012 TODO: The Beans Group LTD
119
+
120
+ MIT License
121
+
122
+ Permission is hereby granted, free of charge, to any person obtaining
123
+ a copy of this software and associated documentation files (the
124
+ "Software"), to deal in the Software without restriction, including
125
+ without limitation the rights to use, copy, modify, merge, publish,
126
+ distribute, sublicense, and/or sell copies of the Software, and to
127
+ permit persons to whom the Software is furnished to do so, subject to
128
+ the following conditions:
129
+
130
+ The above copyright notice and this permission notice shall be
131
+ included in all copies or substantial portions of the Software.
132
+
133
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
134
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
135
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
136
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
137
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
138
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
139
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
140
+
141
+ </div>
142
+ </div>
143
+ <div id='footer'>
144
+ Generated on
145
+ Thu Mar 14 2013 13:49:05 GMT+0000 (GMT)
146
+ by
147
+ <a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
148
+ v1.5.6
149
+ (Node.js v0.8.8).
150
+ &#10034;
151
+ Press Ctrl-h to see the keyboard shortcuts
152
+ &#10034;
153
+ <a href='http://twitter.com/#!/netzpirat'>@netzpirat</a>
154
+ &#10034;
155
+ <a href='https://mksoft.ch'>mksoft.ch</a>
156
+ </div>
157
+ </body>
158
+ </html>
@@ -0,0 +1,163 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset='UTF-8'>
5
+ <title>Codo Documentation</title>
6
+ <link rel='stylesheet' href='assets/codo.css' type='text/css'>
7
+ <script src='assets/codo.js'></script>
8
+ <script src='assets/search_data.js'></script>
9
+ </head>
10
+ <body>
11
+ <div id='base' data-path=''></div>
12
+ <div id='header'>
13
+ <div id='menu'>
14
+ <a href='README.md.html' title='Codo'>Codo</a>
15
+ &raquo;
16
+ <a href='class_index.html' title='Index'>Index</a>
17
+ &raquo;
18
+ <span class='title'>README.md</span>
19
+ <nav>
20
+ <ul>
21
+ <li class='noframes'>
22
+ (<a class='noframes' href='#'>no frames</a>)
23
+ </li>
24
+ </ul>
25
+ </nav>
26
+ <div id='search'>
27
+ <a id='class_list_link' href='class_list.html'>Classes</a>
28
+ <a id='file_list_link' href='file_list.html'>Files</a>
29
+ <a id='method_list_link' href='method_list.html'>Methods</a>
30
+ <a id='extra_list_link' href='extra_list.html'>Extras</a>
31
+ </div>
32
+ </div>
33
+ <iframe id='search_frame'></iframe>
34
+ <div id='fuzzySearch'>
35
+ <input type='text'>
36
+ <ol></ol>
37
+ </div>
38
+ <div id='help'>
39
+ <p>
40
+ Quickly fuzzy find classes, mixins, methods, file:
41
+ </p>
42
+ <ul>
43
+ <li>
44
+ <span>Ctrl-T</span>
45
+ Open fuzzy finder dialog
46
+ </li>
47
+ </ul>
48
+ <p>
49
+ In frame mode you can toggle the list naviation frame on the left side:
50
+ </p>
51
+ <ul>
52
+ <li>
53
+ <span>Ctrl-L</span>
54
+ Toggle list view
55
+ </li>
56
+ </ul>
57
+ <p>
58
+ You can focus a list in frame mode or toggle a tab in frameless mode:
59
+ </p>
60
+ <ul>
61
+ <li>
62
+ <span>Ctrl-C</span>
63
+ Class list
64
+ </li>
65
+ <li>
66
+ <span>Ctrl-I</span>
67
+ Mixin list
68
+ </li>
69
+ <li>
70
+ <span>Ctrl-F</span>
71
+ File list
72
+ </li>
73
+ <li>
74
+ <span>Ctrl-M</span>
75
+ Method list
76
+ </li>
77
+ <li>
78
+ <span>Ctrl-E</span>
79
+ Extras list
80
+ </li>
81
+ </ul>
82
+ <p>
83
+ You can focus and blur the search input:
84
+ </p>
85
+ <ul>
86
+ <li>
87
+ <span>Ctrl-S</span>
88
+ Focus search input
89
+ </li>
90
+ <li>
91
+ <span>Esc</span>
92
+ Blur search input
93
+ </li>
94
+ </ul>
95
+ <p>
96
+ In frameless mode you can close the list tab:
97
+ </p>
98
+ <ul>
99
+ <li>
100
+ <span>Esc</span>
101
+ Close list tab
102
+ </li>
103
+ </ul>
104
+ </div>
105
+ </div>
106
+ <div id='content'>
107
+ <nav class='toc'>
108
+ <p class='title'>
109
+ <a class='hide_toc' href='#'>
110
+ <strong>Table of Contents</strong>
111
+ </a>
112
+ <small>
113
+ (<a class='float_toc' href='#'>left</a>)
114
+ </small>
115
+ </p>
116
+ </nav>
117
+ <div id='filecontents'>
118
+ <h1>Plinth</h1><p>TODO: Write a gem description</p><h2>Development Workflow</h2><p>Clone the repository:</p><pre><code>git clone https://github.com/thebeansgroup/plinth.git </code></pre><p>Checkout the develop branch</p><pre><code>git checkout develop</code></pre><p>Create a new branch for the feature you want to work on:</p><pre><code>git checkout -b feature/[name-of-feature]</code></pre><p>To run the site, use the foreman:</p><pre><code>bundle install
119
+ foreman start</code></pre><p><strong>NB: </strong> Ensure that you are <em>adding</em> and <em>committing</em> files into your branch as you go along. It is also good practive to <em>push</em> the branch to github at the end of your development session, this enusres global access to the markup you have changed.</p><h2>Installation</h2><p>Add this line to your application&#39;s Gemfile:</p><pre><code>gem &#39;plinth&#39;</code></pre><p>And then execute:</p><pre><code>$ bundle</code></pre><p>Or install it yourself as:</p><pre><code>$ gem install plinth</code></pre>
120
+ <h2>Usage</h2>
121
+ <h3>Javascript</h3><p>All javascripts provided by plinth can be pulled into the asset pipeline
122
+ with the normal require command:</p><pre><code>//= require test</code></pre>
123
+ <h3>Stylesheets</h3><p>All stylesheets provided by plinth can be pulled into the asset pipeline
124
+ with the normal require command:</p><pre><code>//= require test</code></pre>
125
+ <h3>Views/Partials</h3><p>In order to include partials defined by plinth you will have to add plinth&#39;s view path to your apps view path. The quickest way is by creating
126
+ a before filter in either the action where you want the views to be accessible
127
+ or, if you will be using the views often, you can define the filter in the
128
+ application controller.</p><pre><code>before_filter :plinth_view_path
129
+
130
+ private
131
+ def plinth_view_path
132
+ gem = Gem.loaded_specs[&#39;plinth&#39;]
133
+ if gem
134
+ prepend_view_path &quot;#{gem.full_gem_path}/vendor/assets/views&quot;
135
+ end
136
+ end</code></pre>
137
+ <h2>Contributing</h2>
138
+ <ol>
139
+ <li>Fork it</li>
140
+ <li>Create your feature branch (<code>git checkout -b my-new-feature develop</code>)</li>
141
+ <li>Commit your changes (<code>git commit -am &#39;Added some feature&#39;</code>)</li>
142
+ <li>Push to the branch (<code>git push origin my-new-feature</code>)</li>
143
+ <li>Create new Pull Request, make sure your pull request target is the develop branch, not the master</li>
144
+ </ol>
145
+
146
+ </div>
147
+ </div>
148
+ <div id='footer'>
149
+ Generated on
150
+ Thu Mar 14 2013 13:49:05 GMT+0000 (GMT)
151
+ by
152
+ <a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
153
+ v1.5.6
154
+ (Node.js v0.8.8).
155
+ &#10034;
156
+ Press Ctrl-h to see the keyboard shortcuts
157
+ &#10034;
158
+ <a href='http://twitter.com/#!/netzpirat'>@netzpirat</a>
159
+ &#10034;
160
+ <a href='https://mksoft.ch'>mksoft.ch</a>
161
+ </div>
162
+ </body>
163
+ </html>
@@ -0,0 +1 @@
1
+ body{padding:0 5px;font-family:"Lucida Sans","Lucida Grande",Verdana,Arial,sans-serif;font-size:13px}h1{font-size:25px;margin:.8em 0 .5em;padding-top:4px;border-top:1px dotted #d5d5d5}h2{padding:0;padding-bottom:3px;border-bottom:1px #aaa solid;font-size:1.4em;margin:1.8em 0 .5em}#base{display:none}#fuzzySearch{-webkit-box-shadow:rgba(0,0,0,0.5) 0 10px 30px 10px;-moz-box-shadow:rgba(0,0,0,0.5) 0 10px 30px 10px;box-shadow:rgba(0,0,0,0.5) 0 10px 30px 10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px;position:fixed;z-index:8000;left:0;right:0;top:25px;width:500px;height:45px;margin:0 auto;display:none;padding:25px;background-color:#fff}#fuzzySearch input{-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px;width:485px;border:2px solid #05a;font-size:20px;padding:5px}#fuzzySearch ol{list-style-type:none;margin:10px 0 0 0;padding:0}#fuzzySearch ol li{padding:3px}#fuzzySearch ol li.stripe{background:#f0f0f0}#fuzzySearch ol li.selected{background:#05a}#fuzzySearch ol li.selected a{color:#fff}#fuzzySearch ol li.selected a:visited{color:#fff}#fuzzySearch ol li.selected a:hover{color:#05a}#fuzzySearch ol li.selected a span{color:#05a}#fuzzySearch ol li a{color:#05a;font-size:18px;text-decoration:none}#fuzzySearch ol li a:visited{color:#05a}#fuzzySearch ol li a:hover{background:#ffffa5}#fuzzySearch ol li a span{background-color:#ff0}#fuzzySearch ol li small{font-size:14px;padding-left:10px;color:#888}#help{-webkit-box-shadow:rgba(0,0,0,0.5) 0 10px 30px 10px;-moz-box-shadow:rgba(0,0,0,0.5) 0 10px 30px 10px;box-shadow:rgba(0,0,0,0.5) 0 10px 30px 10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px;position:fixed;z-index:8000;left:0;right:0;top:50%;width:500px;height:525px;margin:0 auto;margin-top:-262px;display:none;padding:25px;background-color:#fff}#help ul{list-style-type:none;margin:0;padding:0}#help ul li{height:35px;font-weight:bold}#help ul li span{-webkit-box-shadow:rgba(0,0,0,0.5) 1px 1px 2px;-moz-box-shadow:rgba(0,0,0,0.5) 1px 1px 2px;box-shadow:rgba(0,0,0,0.5) 1px 1px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;display:block;float:left;width:50px;padding:5px;margin-right:20px;background:#eee;text-align:center}#content a:link,#content a:visited{text-decoration:none;color:#05a}#content a:hover{background:#ffffa5}#content #filecontents img{border:0}#content #filecontents li{line-height:25px}#content #filecontents table{padding:0;border-collapse:collapse;border-spacing:0}#content #filecontents table tr{border-top:1px solid #CCC;background-color:white;margin:0;padding:0}#content #filecontents table tr td{border:1px solid #CCC;text-align:left;margin:0;padding:6px 13px}#content table.box{font-size:1em;line-height:2;border-spacing:0;border-collapse:collapse}#content table.box tr{background-color:#fff}#content table.box tr:first-child{background-color:#EEE}#content table.box tr td{border:1px solid #AAA}#content table.box tr td:first-child{width:100px;padding-right:10px;text-align:right;font-weight:bold}#content table.box tr td:last-child{min-width:420px;padding-left:10px;padding-right:10px}#content h1 .note,#content li .note,#content .properties .note{font-weight:normal;padding:3px 5px;position:relative;top:-3px;text-transform:capitalize;display:inline}#content h1 .note{font-size:.5em}#content li .note{top:0;font-size:.9em}#content .properties .note{top:0;font-size:.85em}#content ul.summary,#content .properties{list-style:none;font-family:monospace;font-size:1em;line-height:1.5em}#content ul.summary li,#content .properties li{margin-bottom:5px}#content ul.summary .signature,#content .properties .signature{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;padding:1px 10px;color:#05A;background:#eaeaff;border:1px solid #dfdfe5}#content ul.summary .signature a:hover,#content .properties .signature a:hover{background:transparent}#content ul.summary li[deprecated] .signature,#content .properties li[deprecated] .signature{text-decoration:line-through}#content ul.summary .signature+.note.title,#content .properties .signature+.note.title{margin-left:7px}#content ul.summary .desc,#content .properties .desc{margin-left:32px;display:block;font-family:sans-serif}#content ul.summary .desc p,#content .properties .desc p{padding:0;margin:0}#content dl.constants dt{font-weight:bold}#content dl.constants,#content dl.properties{margin-left:40px}#content dl.constants dt,#content dl.properties dt{font-size:1.1em;margin-bottom:5px}#content dl.constants dt .docstring,#content dl.properties dt .docstring{margin-left:32px;font-size:.9em;font-weight:normal}#content dl.constants dd,#content dl.properties dd{margin-bottom:18px}#content .method_details{border-top:1px dotted #AAA;margin-top:15px;padding-top:0}#content .method_details:first-child{border:none}#content .method_details p.signature{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;font-size:1.1em;font-weight:normal;font-family:Monaco,Consolas,Courier,monospace;padding:6px 10px;margin-top:18px;background:#e5e8ff;border:1px solid #d8d8e5}#content .tags{font-size:13px}#content .tags h3{font-size:1em;margin-bottom:3px}#content .tags ul{margin-top:0;padding-left:30px;list-style:square}#content .tags ul .name{font-family:monospace;font-weight:bold}#content .tags .overloads h3{margin-bottom:0}#content .tags .overloads .overload{margin-left:20px}#content .tags .overloads .overload p.signature{padding-top:2px;padding-bottom:2px}#content .note{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;margin-top:10px;color:#222;background:#e3e4e3;border:1px solid #d5d5d5;padding:7px 10px;display:block}#content .deprecated{background:#ffe5e5;border-color:#e9dada}#content .writeonly{background:#d3ff97;border-color:#c3eb8b}#content .readonly{background:#ffe5e5;border-color:#e9dada}#content .bound{background:#d3ff97;border-color:#c3eb8b}#content .todo{background:#ffffc5;border-color:#ececaa}#content .private{background:#d5d5d5;border-color:#c5c5c5}#content .constructor{color:white;background:#6a98d6;border-color:#6689d6}#content h3.inherited,#content h3.included,#content h3.extended{font-style:italic;font-family:"Lucida Sans","Lucida Grande",Verdana,Arial,sans-serif;font-weight:normal;padding:0;margin:0;margin-top:12px;margin-bottom:3px;font-size:13px}#content p.inherited,#content p.included,#content p.extended{word-spacing:5px;font-size:1.2em;padding:0;margin:0;margin-left:25px}#content p.inherited a,#content p.included a,#content p.extended a{font-family:monospace;font-size:.9em}#footer{margin-top:15px;border-top:1px solid #ccc;text-align:center;padding:7px 0;font-size:12px;color:#999}#footer a:link,#footer a:visited{color:#999;text-decoration:none;border-bottom:1px dotted #bbd}#footer a:hover{color:#05a}pre code{display:block;padding:.5em;color:#000;background:#f8f8ff}pre .comment,pre .template_comment,pre .diff .header,pre .javadoc{color:#998;font-style:italic}pre .keyword,pre .css .rule .keyword,pre .winutils,pre .javascript .title,pre .lisp .title,pre .subst{color:#000;font-weight:bold}pre .number,pre .hexcolor{color:#40a070}pre .string,pre .tag .value,pre .phpdoc,pre .tex .formula{color:#d14}pre .title,pre .id{color:#900;font-weight:bold}pre .javascript .title,pre .lisp .title,pre .subst{font-weight:normal}pre .class .title,pre .haskell .label,pre .tex .command{color:#458;font-weight:bold}pre .tag,pre .tag .title,pre .rules .property,pre .django .tag .keyword{color:#000080;font-weight:normal}pre .attribute,pre .variable,pre .instancevar,pre .lisp .body{color:#008080}pre .regexp{color:#009926}pre .class{color:#458;font-weight:bold}pre .symbol,pre .ruby .symbol .string,pre .ruby .symbol .keyword,pre .ruby .symbol .keymethods,pre .lisp .keyword,pre .tex .special,pre .input_number{color:#990073}pre .builtin,pre .built_in,pre .lisp .title{color:#0086b3}pre .preprocessor,pre .pi,pre .doctype,pre .shebang,pre .cdata{color:#999;font-weight:bold}pre .deletion{background:#fdd}pre .addition{background:#dfd}pre .diff .change{background:#0086b3}pre .chunk{color:#aaa}pre .tex .formula{opacity:.5}#menu{font-size:1.3em;color:#bbb;top:-5px;position:relative}#menu .title,#menu a{font-size:.7em}#menu .title a{font-size:1em}#menu .title{color:#555}#menu a:link,#menu a:visited{color:#333;text-decoration:none;border-bottom:1px dotted #bbd}#menu a:hover{color:#05a}#header nav{float:right;color:#000;font-size:.7em}#header nav ul{list-style-type:none;margin:4px!important}#header nav ul,#header nav ul li{margin:0;padding:0;display:inline}#header nav a{font-size:1em}#header #search{float:right;margin-top:-3px}#header #search a:link,#header #search a:visited{-webkit-box-shadow:#ddd -1px 1px 3px;-moz-box-shadow:#ddd -1px 1px 3px;box-shadow:#ddd -1px 1px 3px;-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-bottomright:3px;-webkit-border-bottom-right-radius:3px;-ms-border-bottom-right-radius:3px;-o-border-bottom-right-radius:3px;border-bottom-right-radius:3px;display:block;float:left;margin-right:4px;padding:8px 10px;color:#05a;background:#eaf0ff;text-decoration:none;border:1px solid #d8d8e5}#header #search a:hover{background:#f5faff;color:#06b}#header #search a.active{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-o-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-o-border-top-right-radius:5px;border-top-right-radius:5px;padding-bottom:20px;color:#fff;background:#568;border:1px solid #457}#header #search a.inactive{color:#999}body.frames #header li.frames{display:none}body.frames #header #search{display:none}body.noframes #header li.noframes{display:none}#search_frame{-webkit-box-shadow:#aaa -7px 5px 25px;-moz-box-shadow:#aaa -7px 5px 25px;box-shadow:#aaa -7px 5px 25px;display:none;position:absolute;overflow-y:scroll;z-index:9999;top:36px;right:18px;width:500px;height:80%;background:white;border:1px solid #999;border-collapse:collapse}pre{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-box-shadow:rgba(0,0,0,0.1) 1px 1px 2px;-moz-box-shadow:rgba(0,0,0,0.1) 1px 1px 2px;box-shadow:rgba(0,0,0,0.1) 1px 1px 2px;padding:0;margin-top:4px;border:1px solid #eaeaea;background-color:#f8f8f8;font-family:monospace}pre.code{word-wrap:break-word}pre code{border:0;white-space:pre;overflow:hidden;word-wrap:break-word}code{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;margin:0 2px;padding:0 5px;white-space:nowrap;border:1px solid #eaeaea;background-color:#f8f8f8}pre>code{white-space:wrap}.docstring p>code,.docstring li>code{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;margin:0 2px;padding:0 5px;white-space:nowrap;border:1px solid #eaeaea;background-color:#f8f8f8}.alphaindex{margin-top:0;font-size:22px}.noborder{border-top:0;margin-top:0;padding-top:4px}.title{margin-bottom:10px}#files{padding:0;font-size:1.1em}#files li{list-style:none;display:inline;padding:7px 12px;line-height:35px;background:#f0f0f0;margin-right:5px}.index{-webkit-column-count:3;-moz-column-count:3;-ms-column-count:3;-o-column-count:3;column-count:3;-webkit-column-width:33%;-moz-column-width:33%;-ms-column-width:33%;-o-column-width:33%;column-width:33%}.index>ul{margin:0;padding:0;padding-bottom:10px;font-size:1.1em;list-style:none}.index>ul>li.letter{-webkit-column-break-after:avoid;font-size:1.4em;padding-bottom:10px;text-transform:uppercase}.index>ul>ul{margin:0;padding-left:20px}.index>ul>ul small{color:#666;font-size:.7em}body.list{padding:0;margin:0}body.noframes #content.list nav{display:none}body.noframes #content.list #search{position:absolute;right:5px;top:9px;padding-left:10px}body.frames #content.list #search{position:relative;margin-top:5px;margin-left:10px}#content.list.tree>ul{margin-top:13px!important}#content.list.tree ul{font-size:16px;margin:0;padding:0}#content.list.tree ul li{margin:0;padding:5px;color:#000;font-size:1em;list-style:none;white-space:nowrap;overflow:hidden;cursor:pointer}#content.list.tree ul li.namespace{overflow:visible}#content.list.tree ul li>a.toggle{display:block;float:left;width:10px;height:10px;margin-top:5px;margin-left:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:0 -10px}#content.list.tree ul li>a.toggle.collapsed{background-position:0 0}#content.list.tree ul li>span,#content.list.tree ul li a{margin-left:20px;text-decoration:none}#content.list.tree ul li>a.toggle+span,#content.list.tree ul li a.toggle+a{margin-left:5px}#content.list.tree ul li small{color:#888;white-space:nowrap}#content.list.tree ul li small.namespace{display:none}#content.list.tree ul li.result a.toggle{visibility:hidden}#content.list.tree ul li.result small.namespace{display:inline}#content.list.tree ul li.result small.parent{display:none}#content.list{padding:0;margin:0}#content.list h1{padding:12px 10px;padding-bottom:10px;margin:0;font-size:1.4em}#content.list a:hover{background:transparent}#content.list nav{margin-left:10px}#content.list #search{color:#888}#content.list #search input{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;border:1px solid #BBB}#content.list a{color:#05A;cursor:pointer;text-decoration:none}#content.list a:hover{text-decoration:underline}#content.list ul{padding:0;list-style:none;margin-left:0}#content.list ul li[deprecated]{text-decoration:line-through}#content.list ul li{padding:5px;padding-left:12px;margin:0;font-size:1.1em;list-style:none;color:#888;cursor:pointer}#content.list ul li.stripe{background:#f0f0f0}#content.list ul li:hover{background:#ddd}nav.toc{-webkit-box-shadow:#bbb -2px 2px 6px;-moz-box-shadow:#bbb -2px 2px 6px;box-shadow:#bbb -2px 2px 6px;overflow:hidden;position:absolute;z-index:500;right:0;max-width:300px;padding:20px;padding-right:30px;margin-left:20px;margin-bottom:20px;background:white;border:1px solid #DDD}nav.toc p.title{margin-top:5px}nav.toc ol{padding-left:1.8em}nav.toc li{font-size:1.1em;line-height:1.7em}nav.toc>ol>li{font-size:1.1em;font-weight:bold}nav.toc ol>ol{font-size:.9em}nav.toc.inline{-webkit-box-shadow:white 0 0 0;-moz-box-shadow:white 0 0 0;box-shadow:white 0 0 0;position:relative;padding:0;margin:5px 0 0 0;border:0}nav.toc.inline.hidden{background:none;padding:0;text-align:left}nav.toc.hidden{height:26px;width:140px;padding:5px;background:#f6f6f6;text-align:center}nav.toc.hidden p.title small{display:none}