templator_chabz 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +32 -0
  5. data/lib/generators/templator_chabz/install_generator.rb +81 -0
  6. data/lib/generators/templator_chabz/template_generator.rb +31 -0
  7. data/lib/generators/templator_chabz/templates/foundation/erb/banded.html.erb +116 -0
  8. data/lib/generators/templator_chabz/templates/foundation/erb/banner-home.html.erb +125 -0
  9. data/lib/generators/templator_chabz/templates/foundation/erb/blog.html.erb +154 -0
  10. data/lib/generators/templator_chabz/templates/foundation/erb/feed.html.erb +165 -0
  11. data/lib/generators/templator_chabz/templates/foundation/erb/grid.html.erb +258 -0
  12. data/lib/generators/templator_chabz/templates/foundation/erb/orbit.html.erb +121 -0
  13. data/lib/generators/templator_chabz/templates/foundation/erb/sidebar.html.erb +111 -0
  14. data/lib/generators/templator_chabz/templates/foundation/haml/banded.html.haml +88 -0
  15. data/lib/generators/templator_chabz/templates/foundation/haml/banner-home.html.haml +114 -0
  16. data/lib/generators/templator_chabz/templates/foundation/haml/blog.html.haml +107 -0
  17. data/lib/generators/templator_chabz/templates/foundation/haml/feed.html.haml +155 -0
  18. data/lib/generators/templator_chabz/templates/foundation/haml/grid.html.haml +216 -0
  19. data/lib/generators/templator_chabz/templates/foundation/haml/orbit.html.haml +90 -0
  20. data/lib/generators/templator_chabz/templates/foundation/haml/sidebar.html.haml +92 -0
  21. data/lib/tasks/templator_chabz_tasks.rake +4 -0
  22. data/lib/templator_chabz.rb +3 -0
  23. data/lib/templator_chabz/engine.rb +6 -0
  24. data/lib/templator_chabz/version.rb +3 -0
  25. data/test/dummy/Gemfile +18 -0
  26. data/test/dummy/Gemfile.lock +127 -0
  27. data/test/dummy/README.rdoc +28 -0
  28. data/test/dummy/Rakefile +6 -0
  29. data/test/dummy/app/assets/javascripts/application.js +13 -0
  30. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  31. data/test/dummy/app/controllers/application_controller.rb +5 -0
  32. data/test/dummy/app/helpers/application_helper.rb +2 -0
  33. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/test/dummy/app/views/posts/_form.html.haml +16 -0
  35. data/test/dummy/app/views/posts/edit.html.haml +7 -0
  36. data/test/dummy/app/views/posts/index.html.haml +21 -0
  37. data/test/dummy/app/views/posts/index.json.jbuilder +4 -0
  38. data/test/dummy/app/views/posts/new.html.haml +5 -0
  39. data/test/dummy/app/views/posts/show.html.haml +12 -0
  40. data/test/dummy/app/views/posts/show.json.jbuilder +1 -0
  41. data/test/dummy/bin/bundle +3 -0
  42. data/test/dummy/bin/rails +4 -0
  43. data/test/dummy/bin/rake +4 -0
  44. data/test/dummy/config.ru +4 -0
  45. data/test/dummy/config/application.rb +23 -0
  46. data/test/dummy/config/boot.rb +5 -0
  47. data/test/dummy/config/database.yml +25 -0
  48. data/test/dummy/config/environment.rb +5 -0
  49. data/test/dummy/config/environments/development.rb +29 -0
  50. data/test/dummy/config/environments/production.rb +80 -0
  51. data/test/dummy/config/environments/test.rb +36 -0
  52. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  53. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  54. data/test/dummy/config/initializers/inflections.rb +16 -0
  55. data/test/dummy/config/initializers/mime_types.rb +5 -0
  56. data/test/dummy/config/initializers/secret_token.rb +12 -0
  57. data/test/dummy/config/initializers/session_store.rb +3 -0
  58. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  59. data/test/dummy/config/locales/en.yml +23 -0
  60. data/test/dummy/config/routes.rb +56 -0
  61. data/test/dummy/db/development.sqlite3 +0 -0
  62. data/test/dummy/db/migrate/20131006054133_create_tests.rb +8 -0
  63. data/test/dummy/db/migrate/20131006115208_create_posts.rb +10 -0
  64. data/test/dummy/db/schema.rb +28 -0
  65. data/test/dummy/log/development.log +2299 -0
  66. data/test/dummy/public/404.html +58 -0
  67. data/test/dummy/public/422.html +58 -0
  68. data/test/dummy/public/500.html +57 -0
  69. data/test/dummy/public/favicon.ico +0 -0
  70. data/test/dummy/test/controllers/posts_controller_test.rb +49 -0
  71. data/test/dummy/test/fixtures/posts.yml +9 -0
  72. data/test/dummy/test/fixtures/tests.yml +11 -0
  73. data/test/dummy/test/helpers/posts_helper_test.rb +4 -0
  74. data/test/dummy/test/models/post_test.rb +7 -0
  75. data/test/dummy/test/models/test_test.rb +7 -0
  76. data/test/dummy/tmp/cache/assets/development/sass/5e65457e8790b21bb66467547fe443e595671eb3/foundation.scssc +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_alert-boxes.scssc +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_block-grid.scssc +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_breadcrumbs.scssc +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_button-groups.scssc +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_buttons.scssc +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_clearing.scssc +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_custom-forms.scssc +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_dropdown-buttons.scssc +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_dropdown.scssc +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_flex-video.scssc +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_forms.scssc +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_global.scssc +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_grid.scssc +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_inline-lists.scssc +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_joyride.scssc +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_keystrokes.scssc +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_labels.scssc +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_magellan.scssc +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_orbit.scssc +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_pagination.scssc +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_panels.scssc +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_pricing-tables.scssc +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_progress-bars.scssc +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_reveal.scssc +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_section.scssc +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_side-nav.scssc +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_split-buttons.scssc +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_sub-nav.scssc +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_switch.scssc +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_tables.scssc +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_thumbs.scssc +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_tooltips.scssc +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_top-bar.scssc +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_type.scssc +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sass/942db8b2be953c9bac7f632a6f4ac941579d2216/_visibility.scssc +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sass/be6f7d6cf81a3a6db6a6427662e44ee1833019b8/_variables.scssc +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sass/ea369932e64bc5225aea5605bf0ed7dad0149c7c/foundation_and_overrides.scssc +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sass/ea369932e64bc5225aea5605bf0ed7dad0149c7c/posts.css.scssc +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sass/ea369932e64bc5225aea5605bf0ed7dad0149c7c/scaffolds.css.scssc +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/08662e474ce1579b97884ab50e2e2643 +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/0a99b6b60d901e7347ae702a774c460d +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/109364ff23b8c3f298666d5b3ed59f8f +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/1a821c95f916421780abe99813b3c91b +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/1f186ab17df208d8f9291c4ec5793626 +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/204247b3a9d449797de892002beb9ff0 +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/210743f18402df668a8eac0f97fe9792 +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/21510ea8264eaa94d48104f903b60f39 +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/21b774bcf777796eb33a2f79ef74e215 +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/22f08f9bfd17b861b64760e60468d81b +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/2b2fc669f5a079c5eb55160b13687322 +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/2d64858078c6c6e2fe621b48bb2f44a9 +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/302401b849544f478d71b360f959de1b +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/35c4ebb0728d94f58835f5a834ee410b +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/3794b356552fe398efb67a9f13603852 +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/40e4dc27315c8bb23ab744a9b4109d6d +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/45608fceae9d088671ac5d2ee16d87da +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/4582dca43473c600d2a889c0ceacb6e9 +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/4a31b996e5ba29ae4ae8296e024d72e2 +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/4b0af6b796cc38d45f669c27eb80317c +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/5322bf09526bb349f4db53733d00708d +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/554fbf86fb6ebbfba471462aece61b71 +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/59ee4111f5f3ae4c0e2611fe56f27d41 +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/5a2122189d95df7e073f20347a1f4d1d +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/5a6dc5b720e91c7d5b96f8978e8c099c +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/5a903d903ff1031711d0cb82b0e4c473 +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/5f0c911bac0bdade86492175727353a0 +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/6f9f5b80c345a75b6ed3c682bb12b4a2 +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/71ed84561ff87a5b5e970969ee1071d1 +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/76ede84da6cefda9c2aa52569d397ab6 +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/7b17de2aa94f5206252e277afe1df40c +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/7b50d5f08a3a319773b0c52f4483ee4f +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/7e4be92eadae28f8b72b8c1f6ee3d80d +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/8b590831eed712236b632c539da643e9 +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/8e99ae8c4ddf076611fbae06243721d8 +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/90c20156d1c9a5163e51c8c056ff5777 +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/92088122fa40322c86cc0083551a4528 +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/9227d7172d559066f794a189c599e1fc +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/9ef8b3034506be9061b9df2e00698d80 +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/9f93e00a58310561d1989b82ab7b83a7 +0 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/9fdd00562d6dea819db33bdf1f5cab5b +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/a2559a19bfb0a6b5f9651b4e9dbe559c +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/a531964bec6d6cb36895a13f8bdab7e0 +0 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/aac4628c5d4049f6abe72c1b0e42097b +0 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/aada318492cd92ae01885ef3911e2717 +0 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/abb46c9cfc4b1dca83447d9672fb9b8d +0 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/b0acf2933cfdb22eaeb8c9d80a87ccd1 +0 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/b0e2c03464284b32461db11132ceaa42 +0 -0
  168. data/test/dummy/tmp/cache/assets/development/sprockets/b0f8eeb3d384a02c7915be1d63860345 +0 -0
  169. data/test/dummy/tmp/cache/assets/development/sprockets/b184b27f67d8e8736980a0b8984fd9ff +0 -0
  170. data/test/dummy/tmp/cache/assets/development/sprockets/b4c7391482ed7db125856b4a5611c8e0 +0 -0
  171. data/test/dummy/tmp/cache/assets/development/sprockets/b4d05ba000729f99077402d6f3ebc6a5 +0 -0
  172. data/test/dummy/tmp/cache/assets/development/sprockets/b64602f02c6f0bd3701cdcc16fe1cdb1 +0 -0
  173. data/test/dummy/tmp/cache/assets/development/sprockets/b7edc309227cdee7658c29674a5eb30f +0 -0
  174. data/test/dummy/tmp/cache/assets/development/sprockets/bd3936370d0f952ada5774e2230046ed +0 -0
  175. data/test/dummy/tmp/cache/assets/development/sprockets/bfca04565e745a9dcb660191f63c2dd0 +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sprockets/c0541f37a48c06469f284192ae351f9c +0 -0
  177. data/test/dummy/tmp/cache/assets/development/sprockets/c32dd6e27182c620c704715b6f312863 +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sprockets/c3bc360cff83ffddb8e0f46b918957d2 +0 -0
  179. data/test/dummy/tmp/cache/assets/development/sprockets/c4a4cc465b11c1d68b8c960371d85011 +0 -0
  180. data/test/dummy/tmp/cache/assets/development/sprockets/c8ef7534699ea82b3fb3658b8c10cf91 +0 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/cc3949ebb617002ef1f538cfd4caa5df +0 -0
  182. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  183. data/test/dummy/tmp/cache/assets/development/sprockets/d3404752cf23ba5902ef142cb4f1d72d +0 -0
  184. data/test/dummy/tmp/cache/assets/development/sprockets/d70fca14dd961df1ddacfb404e68f641 +0 -0
  185. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  186. data/test/dummy/tmp/cache/assets/development/sprockets/e35e5cf8df356b11ca306cb025aec9ff +0 -0
  187. data/test/dummy/tmp/cache/assets/development/sprockets/e459168835a5f27b832ace20874f7c10 +0 -0
  188. data/test/dummy/tmp/cache/assets/development/sprockets/f4db7f07159837dd9f31e436c623d99e +0 -0
  189. data/test/dummy/tmp/cache/assets/development/sprockets/f767bf7733f9d255bda5d7ad033ab87f +0 -0
  190. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  191. data/test/templator_chabz_test.rb +7 -0
  192. data/test/test_helper.rb +15 -0
  193. metadata +432 -0
@@ -0,0 +1,111 @@
1
+ <!DOCTYPE html>
2
+ <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
3
+ <!--[if lt IE 7 ]> <html class="ie6" lang="en"> <![endif]-->
4
+ <!--[if IE 7 ]> <html class="ie7" lang="en"> <![endif]-->
5
+ <!--[if IE 8 ]> <html class="ie8" lang="en"> <![endif]-->
6
+ <!--[if IE 9 ]> <html class="ie9" lang="en"> <![endif]-->
7
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
8
+ <head>
9
+ <meta charset="utf-8" />
10
+
11
+ <!-- Uncomment to make IE8 render like IE7 -->
12
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" /> -->
13
+
14
+ <!-- Set the viewport width to device width for mobile -->
15
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
16
+ <title><%%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
17
+
18
+ <!-- Included CSS Files -->
19
+ <%%= stylesheet_link_tag "application" %>
20
+
21
+ <!-- Included JS Files -->
22
+ <%%= javascript_include_tag "application" %>
23
+
24
+ <%%= csrf_meta_tags %>
25
+ </head>
26
+
27
+ <body>
28
+ <!-- Header and Nav -->
29
+
30
+ <div class="row">
31
+ <div class="large-3 columns">
32
+ <h1><img src="http://placehold.it/400x100&text=Logo" /></h1>
33
+ </div>
34
+ <div class="large-9 columns">
35
+ <ul class="inline-list right">
36
+ <li><a href="#">Section 1</a></li>
37
+ <li><a href="#">Section 2</a></li>
38
+ <li><a href="#">Section 3</a></li>
39
+ <li><a href="#">Section 4</a></li>
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+ <!-- End Header and Nav -->
45
+
46
+
47
+ <div class="row">
48
+
49
+ <!-- Main Content Section -->
50
+ <!-- This has been source ordered to come first in the markup (and on small devices) but to be to the right of the nav on larger screens -->
51
+ <div class="large-9 push-3 columns">
52
+
53
+ <h3>Page Title <small>Page subtitle</small></h3>
54
+
55
+ <p>Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin. Venison tail chuck pork chop, andouille ball tip beef ribs flank boudin bacon. Salami andouille pork belly short ribs flank cow. Salami sirloin turkey kielbasa. Sausage venison pork loin leberkas chuck short loin, cow ham prosciutto pastrami jowl. Ham hock jerky tri-tip, fatback hamburger shoulder swine pancetta ground round. Tri-tip prosciutto meatball turkey, brisket spare ribs shankle chuck cow chicken ham hock boudin meatloaf jowl.</p>
56
+
57
+ <p>Ground round pastrami pork loin tenderloin jerky. Jerky spare ribs biltong, ham hock ham capicola pork. Jerky turducken pork, meatloaf sausage capicola swine corned beef turkey short loin. Tongue prosciutto pork loin, ground round spare ribs venison kielbasa strip steak.</p>
58
+
59
+ <p>Hamburger bresaola turkey t-bone, leberkas salami pork chop ham hock beef ribs. Rump biltong meatball venison, short ribs pork loin shank shankle corned beef beef. Cow salami jowl short loin hamburger fatback. Short ribs pork belly shoulder pastrami drumstick salami corned beef ham hock bresaola. Swine filet mignon cow sausage ball tip. Cow ribeye ground round, sausage pork loin pig beef ball tip turkey boudin.</p>
60
+
61
+ <p>Prosciutto ball tip filet mignon andouille frankfurter chicken rump sausage meatball. Filet mignon meatloaf ground round andouille ham hock pork. Bresaola short loin meatball chuck hamburger pig. Turkey venison chuck, tongue fatback tail swine jerky corned beef shank kielbasa prosciutto ribeye ham tri-tip. Rump bacon pork belly meatloaf shoulder short loin meatball kielbasa pork loin tongue bresaola brisket corned beef jowl prosciutto. Beef ribs shankle short ribs pork belly corned beef fatback pork chop tongue biltong boudin strip steak sirloin meatloaf pancetta.</p>
62
+
63
+ <!-- It's up to you to place yield wherever you like. Feel free to edit this template -->
64
+ <%%= yield %>
65
+
66
+ </div>
67
+
68
+
69
+ <!-- Nav Sidebar -->
70
+ <!-- This is source ordered to be pulled to the left on larger screens -->
71
+ <div class="large-3 pull-9 columns">
72
+
73
+ <ul class="side-nav">
74
+ <li><a href="#">Section 1</a></li>
75
+ <li><a href="#">Section 2</a></li>
76
+ <li><a href="#">Section 3</a></li>
77
+ <li><a href="#">Section 4</a></li>
78
+ <li><a href="#">Section 5</a></li>
79
+ <li><a href="#">Section 6</a></li>
80
+ </ul>
81
+
82
+ <p><img src="http://placehold.it/320x240&text=Ad" /></p>
83
+
84
+ </div>
85
+
86
+ </div>
87
+
88
+
89
+ <!-- Footer -->
90
+
91
+ <footer class="row">
92
+ <div class="large-12 columns">
93
+ <hr />
94
+ <div class="row">
95
+ <div class="large-6 columns">
96
+ <p>&copy; Copyright no one at all. Go to town.</p>
97
+ </div>
98
+ <div class="large-6 columns">
99
+ <ul class="inline-list right">
100
+ <li><a href="#">Section 1</a></li>
101
+ <li><a href="#">Section 2</a></li>
102
+ <li><a href="#">Section 3</a></li>
103
+ <li><a href="#">Section 4</a></li>
104
+ </ul>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </footer>
109
+ </body>
110
+ </html>
111
+
@@ -0,0 +1,88 @@
1
+ !!! 5
2
+ / paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
3
+ /[if lt IE 7 ] <html class=\"ie6\" lang=\"en\">
4
+ /[if IE 7 ] <html class=\"ie7\" lang=\"en\">
5
+ /[if IE 8 ] <html class=\"ie8\" lang=\"en\">
6
+ /[if IE 9 ] <html class=\"ie9\" lang=\"en\">
7
+ /[if (gt IE 9)|!(IE)] <!--> <html lang=\"en\">
8
+
9
+ %head
10
+ %meta{ :charset => "utf-8" }
11
+
12
+ -# Uncomment to make IE8 render like IE7
13
+ -# meta http-equiv="X-UA-Compatible" content="IE=7"
14
+
15
+ -# Set the viewport width to device width for mobile
16
+ %meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
17
+
18
+ %title= content_for?(:title) ? yield(:title) : "Untitled"
19
+
20
+ = stylesheet_link_tag "application"
21
+ = javascript_include_tag "vendor/custom.modernizr"
22
+ = csrf_meta_tag
23
+
24
+ %body
25
+ / Header and Nav
26
+ .row
27
+ .large-3.columns
28
+ %h1
29
+ %img{src: "http://placehold.it/400x100&text=Logo"}/
30
+ .large-9.columns
31
+ %ul.button-group.right
32
+ %li
33
+ %a.button{href: "#"} Link 1
34
+ %li
35
+ %a.button{href: "#"} Link 2
36
+ %li
37
+ %a.button{href: "#"} Link 3
38
+ %li
39
+ %a.button{href: "#"} Link 4
40
+ / End Header and Nav
41
+ / First Band (Image)
42
+ .row
43
+ .large-12.columns
44
+ %img{src: "http://placehold.it/1000x400&text=[img]"}/
45
+ %hr/
46
+ / Second Band (Image Left with Text)
47
+ .row
48
+ .large-4.columns
49
+ %img{src: "http://placehold.it/400x300&text=[img]"}/
50
+ .large-8.columns
51
+ %h4 This is a content section.
52
+ .row
53
+ .large-6.columns
54
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.
55
+ .large-6.columns
56
+ %p Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.
57
+ / Third Band (Image Right with Text)
58
+ .row
59
+ .large-8.columns
60
+ / Put this yield from anywhere in your layout file you wish to see your app contents
61
+ = yield
62
+ %h4 This is a content section.
63
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.
64
+ %p Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.
65
+ .large-4.columns
66
+ %img{src: "http://placehold.it/400x300&text=[img]"}/
67
+ / Footer
68
+ %footer.row
69
+ .large-12.columns
70
+ %hr/
71
+ .row
72
+ .large-6.columns
73
+ %p © Copyright no one at all. Go to town.
74
+ .large-6.columns
75
+ %ul.inline-list.right
76
+ %li
77
+ %a{href: "#"} Link 1
78
+ %li
79
+ %a{href: "#"} Link 2
80
+ %li
81
+ %a{href: "#"} Link 3
82
+ %li
83
+ %a{href: "#"} Link 4
84
+
85
+ = javascript_include_tag "application"
86
+
87
+ :plain
88
+ </html>
@@ -0,0 +1,114 @@
1
+ !!! 5
2
+ / paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
3
+ /[if lt IE 7 ] <html class=\"ie6\" lang=\"en\">
4
+ /[if IE 7 ] <html class=\"ie7\" lang=\"en\">
5
+ /[if IE 8 ] <html class=\"ie8\" lang=\"en\">
6
+ /[if IE 9 ] <html class=\"ie9\" lang=\"en\">
7
+ /[if (gt IE 9)|!(IE)] <!--> <html lang=\"en\">
8
+
9
+ %head
10
+ %meta{ :charset => "utf-8" }
11
+
12
+ -# Uncomment to make IE8 render like IE7
13
+ -# meta http-equiv="X-UA-Compatible" content="IE=7"
14
+
15
+ -# Set the viewport width to device width for mobile
16
+ %meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
17
+
18
+ %title= content_for?(:title) ? yield(:title) : "Untitled"
19
+
20
+ = stylesheet_link_tag "application"
21
+ = javascript_include_tag "vendor/custom.modernizr"
22
+ = csrf_meta_tag
23
+
24
+ %body
25
+ / Nav and Banner
26
+ .row
27
+ .large-12.columns
28
+ %ul.button-group
29
+ %li
30
+ %a.button{href: "#"} Link 1
31
+ %li
32
+ %a.button{href: "#"} Link 2
33
+ %li
34
+ %a.button{href: "#"} Link 3
35
+ %li
36
+ %a.button{href: "#"} Link 4
37
+ %li
38
+ %a.button{href: "#"} Link 5
39
+ %li
40
+ %a.button{href: "#"} Link 6
41
+ %li
42
+ %a.button{href: "#"} Link 7
43
+ / Main Banner Image - place in a paragraph to enforce the modular scale spacing
44
+ %p
45
+ %img{src: "http://placehold.it/1000x400&text=[banner img]"}/
46
+ / End Nav and Banner
47
+ / Main Content Section
48
+ .row
49
+ .large-8.columns
50
+ %h4 This is a content section.
51
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.
52
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.
53
+ %p
54
+ %a.secondary.small.button{href: "#"} Next Page →
55
+ / It's up to your where to put your yield. I'm just generating templates to cook your layouts fast =)
56
+ = yield
57
+ .large-4.columns
58
+ / Gallery sidebar with a block grid. Note: block grid items should be the same size for optimal results
59
+ %ul.small-block-grid-3
60
+ %li
61
+ %a{href: "#"}
62
+ %img{src: "http://placehold.it/120x120"}/
63
+ %li
64
+ %a{href: "#"}
65
+ %img{src: "http://placehold.it/120x120"}/
66
+ %li
67
+ %a{href: "#"}
68
+ %img{src: "http://placehold.it/120x120"}/
69
+ %li
70
+ %a{href: "#"}
71
+ %img{src: "http://placehold.it/120x120"}/
72
+ %li
73
+ %a{href: "#"}
74
+ %img{src: "http://placehold.it/120x120"}/
75
+ %li
76
+ %a{href: "#"}
77
+ %img{src: "http://placehold.it/120x120"}/
78
+ / Call to Action Panel
79
+ .row
80
+ .large-12.columns
81
+ .panel
82
+ %h4 Get in touch!
83
+ .row
84
+ .large-9.columns
85
+ %p We'd love to hear from you, you attractive person you.
86
+ .large-3.columns
87
+ %a.radius.button.right{href: "#"} Contact Us
88
+ / Footer
89
+ %footer.row
90
+ .large-12.columns
91
+ %hr/
92
+ .row
93
+ .large-6.columns
94
+ %p © Copyright no one at all. Go to town.
95
+ .large-6.columns
96
+ %ul.inline-list.right
97
+ %li
98
+ %a{href: "#"} Link 1
99
+ %li
100
+ %a{href: "#"} Link 2
101
+ %li
102
+ %a{href: "#"} Link 3
103
+ %li
104
+ %a{href: "#"} Link 4
105
+ %li
106
+ %a{href: "#"} Link 5
107
+ %li
108
+ %a{href: "#"} Link 6
109
+ %li
110
+ %a{href: "#"} Link 7
111
+ = javascript_include_tag "application"
112
+
113
+ :plain
114
+ </html>
@@ -0,0 +1,107 @@
1
+ !!! 5
2
+ / paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
3
+ /[if lt IE 7 ] <html class=\"ie6\" lang=\"en\">
4
+ /[if IE 7 ] <html class=\"ie7\" lang=\"en\">
5
+ /[if IE 8 ] <html class=\"ie8\" lang=\"en\">
6
+ /[if IE 9 ] <html class=\"ie9\" lang=\"en\">
7
+ /[if (gt IE 9)|!(IE)] <!--> <html lang=\"en\">
8
+
9
+ %head
10
+ %meta{ :charset => "utf-8" }
11
+
12
+ -# Uncomment to make IE8 render like IE7
13
+ -# meta http-equiv="X-UA-Compatible" content="IE=7"
14
+
15
+ -# Set the viewport width to device width for mobile
16
+ %meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
17
+
18
+ %title= content_for?(:title) ? yield(:title) : "Untitled"
19
+
20
+ = stylesheet_link_tag "application"
21
+ = javascript_include_tag "vendor/custom.modernizr"
22
+ = csrf_meta_tag
23
+
24
+ %body
25
+ / Nav Bar
26
+ .row
27
+ .large-12.columns
28
+ .nav-bar.right
29
+ %ul.button-group
30
+ %li
31
+ %a.button{href: "#"} Link 1
32
+ %li
33
+ %a.button{href: "#"} Link 2
34
+ %li
35
+ %a.button{href: "#"} Link 3
36
+ %li
37
+ %a.button{href: "#"} Link 4
38
+ %h1
39
+ Blog
40
+ %small This is my blog. It's awesome.
41
+ %hr/
42
+ / End Nav
43
+ / Main Page Content and Sidebar
44
+ .row
45
+ / Main Blog Content
46
+ .large-9.columns{role: "content"}
47
+ %article
48
+ %h3
49
+ %a{href: "#"} Blog Post Title
50
+ %h6
51
+ Written by
52
+ %a{href: "#"} John Smith
53
+ on August 12, 2012.
54
+ .row
55
+ .large-6.columns
56
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa.
57
+ %p Boudin aliqua adipisicing rump corned beef. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.
58
+ .large-6.columns
59
+ %img{src: "http://placehold.it/400x240&text=[img]"}/
60
+ %p Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.
61
+ %p Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.
62
+ %hr/
63
+ %article
64
+ / Put your app content anywhere in your layout
65
+ = yield
66
+ / End Main Content
67
+ / Sidebar
68
+ %aside.large-3.columns
69
+ %h5 Categories
70
+ %ul.side-nav
71
+ %li
72
+ %a{href: "#"} News
73
+ %li
74
+ %a{href: "#"} Code
75
+ %li
76
+ %a{href: "#"} Design
77
+ %li
78
+ %a{href: "#"} Fun
79
+ %li
80
+ %a{href: "#"} Weasels
81
+ .panel
82
+ %h5 Featured
83
+ %p Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow.
84
+ %a{href: "#"} Read More →
85
+ / End Sidebar
86
+ / End Main Content and Sidebar
87
+ / Footer
88
+ %footer.row
89
+ .large-12.columns
90
+ %hr/
91
+ .row
92
+ .large-6.columns
93
+ %p © Copyright no one at all. Go to town.
94
+ .large-6.columns
95
+ %ul.inline-list.right
96
+ %li
97
+ %a{href: "#"} Link 1
98
+ %li
99
+ %a{href: "#"} Link 2
100
+ %li
101
+ %a{href: "#"} Link 3
102
+ %li
103
+ %a{href: "#"} Link 4
104
+ = javascript_include_tag "application"
105
+
106
+ :plain
107
+ </html>
@@ -0,0 +1,155 @@
1
+ !!! 5
2
+ / paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
3
+ /[if lt IE 7 ] <html class=\"ie6\" lang=\"en\">
4
+ /[if IE 7 ] <html class=\"ie7\" lang=\"en\">
5
+ /[if IE 8 ] <html class=\"ie8\" lang=\"en\">
6
+ /[if IE 9 ] <html class=\"ie9\" lang=\"en\">
7
+ /[if (gt IE 9)|!(IE)] <!--> <html lang=\"en\">
8
+
9
+ %head
10
+ %meta{ :charset => "utf-8" }
11
+
12
+ -# Uncomment to make IE8 render like IE7
13
+ -# meta http-equiv="X-UA-Compatible" content="IE=7"
14
+
15
+ -# Set the viewport width to device width for mobile
16
+ %meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
17
+
18
+ %title= content_for?(:title) ? yield(:title) : "Untitled"
19
+
20
+ = stylesheet_link_tag "application"
21
+ = javascript_include_tag "vendor/custom.modernizr"
22
+ = csrf_meta_tag
23
+
24
+ %body
25
+ / Header and Nav
26
+ .row
27
+ .large-12.columns
28
+ .panel
29
+ %h1 Feed Template
30
+ / End Header and Nav
31
+ .row
32
+ / Nav Sidebar
33
+ / This is source ordered to be pulled to the left on larger screens
34
+ .large-3.columns
35
+ .panel
36
+ %a{href: "#"}
37
+ %img{src: "http://placehold.it/300x240&text=[img]"}/
38
+ %h5
39
+ %a{href: "#"} Your Name
40
+ .section-container.vertical-nav{"data-options" => "deep_linking: false; one_up: true", "data-section" => ""}
41
+ %section.section
42
+ %h5.title
43
+ %a{href: "#"} Section 1
44
+ %section.section
45
+ %h5.title
46
+ %a{href: "#"} Section 2
47
+ %section.section
48
+ %h5.title
49
+ %a{href: "#"} Section 3
50
+ %section.section
51
+ %h5.title
52
+ %a{href: "#"} Section 4
53
+ %section.section
54
+ %h5.title
55
+ %a{href: "#"} Section 5
56
+ %section.section
57
+ %h5.title
58
+ %a{href: "#"} Section 6
59
+ / Main Feed
60
+ / This has been source ordered to come first in the markup (and on small devices) but to be to the right of the nav on larger screens
61
+ .large-6.columns
62
+ / Feed Entry
63
+ .row
64
+ .large-2.columns.small-3
65
+ %img{src: "http://placehold.it/80x80&text=[img]"}/
66
+ .large-10.columns
67
+ %p
68
+ %strong Some Person said:
69
+ Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong.
70
+ %ul.inline-list
71
+ %li
72
+ %a{href: ""} Reply
73
+ %li
74
+ %a{href: ""} Share
75
+ %h6 2 Comments
76
+ .row
77
+ .large-2.columns.small-3
78
+ %img{src: "http://placehold.it/50x50&text=[img]"}/
79
+ .large-10.columns
80
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit
81
+ .row
82
+ .large-2.columns.small-3
83
+ %img{src: "http://placehold.it/50x50&text=[img]"}/
84
+ .large-10.columns
85
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit
86
+ / End Feed Entry
87
+ %hr/
88
+ / Feed Entry
89
+ .row
90
+ .large-2.columns.small-3
91
+ %img{src: "http://placehold.it/80x80&text=[img]"}/
92
+ .large-10.columns
93
+ %p
94
+ %strong Some Person said:
95
+ Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong.
96
+ %ul.inline-list
97
+ %li
98
+ %a{href: ""} Reply
99
+ %li
100
+ %a{href: ""} Share
101
+ / End Feed Entry
102
+ %hr/
103
+ / Feed Entry
104
+ .row
105
+ .large-2.columns.small-3
106
+ %img{src: "http://placehold.it/80x80&text=[img]"}/
107
+ .large-10.columns
108
+ %p
109
+ %strong Some Person said:
110
+ Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong.
111
+ %ul.inline-list
112
+ %li
113
+ %a{href: ""} Reply
114
+ %li
115
+ %a{href: ""} Share
116
+ %h6 2 Comments
117
+ .row
118
+ .large-2.columns.small-3
119
+ %img{src: "http://placehold.it/50x50&text=[img]"}/
120
+ .large-10.columns
121
+ %p Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit
122
+ / End Feed Entry
123
+ / Right Sidebar
124
+ / On small devices this column is hidden
125
+ %aside.large-3.columns.hide-for-small
126
+ %p
127
+ %img{src: "http://placehold.it/300x440&text=[ad]"}/
128
+ %p
129
+ %img{src: "http://placehold.it/300x440&text=[ad]"}/
130
+ / Footer
131
+ %footer.row
132
+ .large-12.columns
133
+ %hr/
134
+ .row
135
+ .large-5.columns
136
+ %p © Copyright no one at all. Go to town.
137
+ .large-7.columns
138
+ %ul.inline-list.right
139
+ %li
140
+ %a{href: "#"} Section 1
141
+ %li
142
+ %a{href: "#"} Section 2
143
+ %li
144
+ %a{href: "#"} Section 3
145
+ %li
146
+ %a{href: "#"} Section 4
147
+ %li
148
+ %a{href: "#"} Section 5
149
+ %li
150
+ %a{href: "#"} Section 6
151
+
152
+ = javascript_include_tag "application"
153
+
154
+ :plain
155
+ </html>