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,216 @@
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
+ %nav.top-bar
27
+ %ul.title-area
28
+ / Title Area
29
+ %li.name
30
+ %h1
31
+ %a{href: "#"}
32
+ Top Bar Title
33
+ %li.toggle-topbar.menu-icon
34
+ %a{href: "#"}
35
+ %span Menu
36
+ %section.top-bar-section
37
+ / Left Nav Section
38
+ %ul.left
39
+ %li.divider
40
+ %li.has-dropdown
41
+ %a.active{href: "#"} Main Item 1
42
+ %ul.dropdown
43
+ %li
44
+ %label Section Name
45
+ %li
46
+ %a{href: "#"} Dropdown Level 1
47
+ %li
48
+ %a{href: "#"} Dropdown Option
49
+ %li
50
+ %a{href: "#"} Dropdown Option
51
+ %li.divider
52
+ %li
53
+ %label Section Name
54
+ %li
55
+ %a{href: "#"} Dropdown Option
56
+ %li
57
+ %a{href: "#"} Dropdown Option
58
+ %li
59
+ %a{href: "#"} Dropdown Option
60
+ %li.divider
61
+ %li
62
+ %a{href: "#"} See all →
63
+ %li.divider
64
+ %li
65
+ %a{href: "#"} Main Item 2
66
+ %li.divider
67
+ %li.has-dropdown
68
+ %a{href: "#"} Main Item 3
69
+ %ul.dropdown
70
+ %li
71
+ %a{href: "#"} Dropdown Option
72
+ %li
73
+ %a{href: "#"} Dropdown Option
74
+ %li
75
+ %a{href: "#"} Dropdown Option
76
+ %li.divider
77
+ %li
78
+ %a{href: "#"} See all →
79
+ / Right Nav Section
80
+ %ul.right
81
+ %li.divider
82
+ %li.has-dropdown
83
+ %a{href: "#"} Main Item 4
84
+ %ul.dropdown
85
+ %li
86
+ %label Section Name
87
+ %li.has-dropdown
88
+ %a{href: "#"} Has Dropdown, Level 1
89
+ %ul.dropdown
90
+ %li
91
+ %a{href: "#"} Dropdown Options
92
+ %li
93
+ %a{href: "#"} Dropdown Options
94
+ %li.has-dropdown
95
+ %a{href: "#"} Has Dropdown, Level 2
96
+ %ul.dropdown.test
97
+ %li
98
+ %a{href: "#"} Subdropdown Option
99
+ %li
100
+ %a{href: "#"} Subdropdown Option
101
+ %li
102
+ %a{href: "#"} Subdropdown Option
103
+ %li
104
+ %a{href: "#"} Subdropdown Option
105
+ %li
106
+ %a{href: "#"} Subdropdown Option
107
+ %li
108
+ %a{href: "#"} Subdropdown Option
109
+ %li
110
+ %a{href: "#"} Dropdown Option
111
+ %li
112
+ %a{href: "#"} Dropdown Option
113
+ %li.divider
114
+ %li
115
+ %label Section Name
116
+ %li
117
+ %a{href: "#"} Dropdown Option
118
+ %li
119
+ %a{href: "#"} Dropdown Option
120
+ %li
121
+ %a{href: "#"} Dropdown Option
122
+ %li.divider
123
+ %li
124
+ %a{href: "#"} See all →
125
+ %li.divider
126
+ %li
127
+ %a{href: "#"} Main Item 5
128
+ %li.divider
129
+ %li.has-dropdown
130
+ %a{href: "#"} Main Item 6
131
+ %ul.dropdown
132
+ %li
133
+ %a{href: "#"} Dropdown Option
134
+ %li
135
+ %a{href: "#"} Dropdown Option
136
+ %li
137
+ %a{href: "#"} Dropdown Option
138
+ %li.divider
139
+ %li
140
+ %a{href: "#"} See all →
141
+ / End Header and Nav
142
+ / Main Grid Section
143
+ .row
144
+ .large-3.columns
145
+ .panel
146
+ %h5 Panel Title
147
+ %p This is a three columns grid panel with an arbitrary height.
148
+ .large-6.columns
149
+ .panel
150
+ / Edit your layouts for your app
151
+ = yield
152
+ .large-3.columns
153
+ .panel
154
+ %h5 Panel Title
155
+ %p This is a three columns grid panel with an arbitrary height.
156
+ .row
157
+ .large-6.columns
158
+ .panel
159
+ %h5 Panel Title
160
+ %p This is a six columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin.
161
+ .large-2.columns
162
+ .panel
163
+ %p
164
+ %img{src: "http://placehold.it/200x200"}/
165
+ .large-4.columns
166
+ .panel
167
+ %h5 Panel Title
168
+ %p This is a four columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami.
169
+ .row
170
+ .large-4.columns
171
+ .panel
172
+ %p
173
+ %img{src: "http://placehold.it/400x300"}/
174
+ .large-4.columns
175
+ .panel
176
+ %p
177
+ %img{src: "http://placehold.it/400x300"}/
178
+ .large-4.columns
179
+ .panel
180
+ %p
181
+ %img{src: "http://placehold.it/400x300"}/
182
+ .row
183
+ .large-6.columns
184
+ .panel
185
+ %h5 Panel Title
186
+ %p This is a six columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin.
187
+ .large-3.columns
188
+ .panel
189
+ %h5 Panel Title
190
+ %p This is a three columns grid panel with an arbitrary height.
191
+ .large-3.columns
192
+ .panel
193
+ %h5 Panel Title
194
+ %p This is a three columns grid panel with an arbitrary height.
195
+ / End Grid Section
196
+ / Footer
197
+ %footer.row
198
+ .large-12.columns
199
+ %hr/
200
+ .row
201
+ .large-6.columns
202
+ %p © Copyright no one at all. Go to town.
203
+ .large-6.columns
204
+ %ul.inline-list.right
205
+ %li
206
+ %a{href: "#"} Section 1
207
+ %li
208
+ %a{href: "#"} Section 2
209
+ %li
210
+ %a{href: "#"} Section 3
211
+ %li
212
+ %a{href: "#"} Section 4
213
+ = javascript_include_tag "application"
214
+
215
+ :plain
216
+ </html>
@@ -0,0 +1,90 @@
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
+ .row
26
+ .large-3.columns
27
+ %h1
28
+ %img{src: "http://placehold.it/400x100&text=Logo"}/
29
+ .large-9.columns
30
+ %ul.right.button-group
31
+ %li
32
+ %a.button{href: "#"} Link 1
33
+ %li
34
+ %a.button{href: "#"} Link 2
35
+ %li
36
+ %a.button{href: "#"} Link 3
37
+ %li
38
+ %a.button{href: "#"} Link 4
39
+ / End Header and Nav
40
+ / First Band (Slider)
41
+ .row
42
+ .large-12.columns
43
+ #slider
44
+ %img{src: "http://placehold.it/1000x400&text=[ img 1 ]"}/
45
+ %hr/
46
+ / Three-up Content Blocks
47
+ .row
48
+ .large-4.columns
49
+ %img{src: "http://placehold.it/400x300&text=[img]"}/
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
+ .large-4.columns
53
+ %img{src: "http://placehold.it/400x300&text=[img]"}/
54
+ %h4 This is a content section.
55
+ %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.
56
+ .large-4.columns
57
+ %img{src: "http://placehold.it/400x300&text=[img]"}/
58
+ // It's up to you where to put your yield. Edit your layout. =)
59
+ = yield
60
+ / Call to Action Panel
61
+ .row
62
+ .large-12.columns
63
+ .panel
64
+ %h4 Get in touch!
65
+ .row
66
+ .large-9.columns
67
+ %p We'd love to hear from you, you attractive person you.
68
+ .large-3.columns
69
+ %a.radius.button.right{href: "#"} Contact Us
70
+ / Footer
71
+ %footer.row
72
+ .large-12.columns
73
+ %hr/
74
+ .row
75
+ .large-6.columns
76
+ %p © Copyright no one at all. Go to town.
77
+ .large-6.columns
78
+ %ul.inline-list.right
79
+ %li
80
+ %a{href: "#"} Link 1
81
+ %li
82
+ %a{href: "#"} Link 2
83
+ %li
84
+ %a{href: "#"} Link 3
85
+ %li
86
+ %a{href: "#"} Link 4
87
+ = javascript_include_tag "application"
88
+
89
+ :plain
90
+ </html>
@@ -0,0 +1,92 @@
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.inline-list.right
32
+ %li
33
+ %a{href: "#"} Section 1
34
+ %li
35
+ %a{href: "#"} Section 2
36
+ %li
37
+ %a{href: "#"} Section 3
38
+ %li
39
+ %a{href: "#"} Section 4
40
+ / End Header and Nav
41
+ .row
42
+ / Main Content Section
43
+ / 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
44
+ .large-9.push-3.columns
45
+ %h3
46
+ Page Title
47
+ %small Page subtitle
48
+ %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.
49
+ %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.
50
+ %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.
51
+ %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.
52
+ / It's up to you where to put this yield. Feel free to edit this layout.
53
+ = yield
54
+ / Nav Sidebar
55
+ / This is source ordered to be pulled to the left on larger screens
56
+ .large-3.pull-9.columns
57
+ %ul.side-nav
58
+ %li
59
+ %a{href: "#"} Section 1
60
+ %li
61
+ %a{href: "#"} Section 2
62
+ %li
63
+ %a{href: "#"} Section 3
64
+ %li
65
+ %a{href: "#"} Section 4
66
+ %li
67
+ %a{href: "#"} Section 5
68
+ %li
69
+ %a{href: "#"} Section 6
70
+ %p
71
+ %img{src: "http://placehold.it/320x240&text=Ad"}/
72
+ / Footer
73
+ %footer.row
74
+ .large-12.columns
75
+ %hr/
76
+ .row
77
+ .large-6.columns
78
+ %p © Copyright no one at all. Go to town.
79
+ .large-6.columns
80
+ %ul.inline-list.right
81
+ %li
82
+ %a{href: "#"} Section 1
83
+ %li
84
+ %a{href: "#"} Section 2
85
+ %li
86
+ %a{href: "#"} Section 3
87
+ %li
88
+ %a{href: "#"} Section 4
89
+ = javascript_include_tag "application"
90
+
91
+ :plain
92
+ </html>
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :templator_chabz do
3
+ # # Task goes here
4
+ # end
@@ -0,0 +1,3 @@
1
+ module TemplatorChabz
2
+ require 'templator_chabz/engine' if defined?(Rails)
3
+ end
@@ -0,0 +1,6 @@
1
+ require 'rails'
2
+
3
+ module TemplatorChabz
4
+ class Engine < Rails::Engine
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module TemplatorChabz
2
+ VERSION = "0.9.0"
3
+ end
@@ -0,0 +1,18 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rails', '4.0.0'
4
+ gem 'sqlite3'
5
+ gem 'sass-rails', '~> 4.0.0'
6
+ gem 'uglifier', '>= 1.3.0'
7
+ gem 'coffee-rails', '~> 4.0.0'
8
+ gem 'jquery-rails'
9
+
10
+ gem 'turbolinks'
11
+
12
+ gem 'jbuilder', '~> 1.2'
13
+
14
+ gem 'haml-rails'
15
+
16
+ group :doc do
17
+ gem 'sdoc', require: false
18
+ end
@@ -0,0 +1,127 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ actionmailer (4.0.0)
5
+ actionpack (= 4.0.0)
6
+ mail (~> 2.5.3)
7
+ actionpack (4.0.0)
8
+ activesupport (= 4.0.0)
9
+ builder (~> 3.1.0)
10
+ erubis (~> 2.7.0)
11
+ rack (~> 1.5.2)
12
+ rack-test (~> 0.6.2)
13
+ activemodel (4.0.0)
14
+ activesupport (= 4.0.0)
15
+ builder (~> 3.1.0)
16
+ activerecord (4.0.0)
17
+ activemodel (= 4.0.0)
18
+ activerecord-deprecated_finders (~> 1.0.2)
19
+ activesupport (= 4.0.0)
20
+ arel (~> 4.0.0)
21
+ activerecord-deprecated_finders (1.0.3)
22
+ activesupport (4.0.0)
23
+ i18n (~> 0.6, >= 0.6.4)
24
+ minitest (~> 4.2)
25
+ multi_json (~> 1.3)
26
+ thread_safe (~> 0.1)
27
+ tzinfo (~> 0.3.37)
28
+ arel (4.0.0)
29
+ atomic (1.1.14)
30
+ builder (3.1.4)
31
+ coffee-rails (4.0.0)
32
+ coffee-script (>= 2.2.0)
33
+ railties (>= 4.0.0.beta, < 5.0)
34
+ coffee-script (2.2.0)
35
+ coffee-script-source
36
+ execjs
37
+ coffee-script-source (1.6.3)
38
+ erubis (2.7.0)
39
+ execjs (2.0.2)
40
+ haml (4.0.3)
41
+ tilt
42
+ haml-rails (0.4)
43
+ actionpack (>= 3.1, < 4.1)
44
+ activesupport (>= 3.1, < 4.1)
45
+ haml (>= 3.1, < 4.1)
46
+ railties (>= 3.1, < 4.1)
47
+ hike (1.2.3)
48
+ i18n (0.6.5)
49
+ jbuilder (1.5.1)
50
+ activesupport (>= 3.0.0)
51
+ multi_json (>= 1.2.0)
52
+ jquery-rails (3.0.4)
53
+ railties (>= 3.0, < 5.0)
54
+ thor (>= 0.14, < 2.0)
55
+ json (1.8.0)
56
+ mail (2.5.4)
57
+ mime-types (~> 1.16)
58
+ treetop (~> 1.4.8)
59
+ mime-types (1.25)
60
+ minitest (4.7.5)
61
+ multi_json (1.8.1)
62
+ polyglot (0.3.3)
63
+ rack (1.5.2)
64
+ rack-test (0.6.2)
65
+ rack (>= 1.0)
66
+ rails (4.0.0)
67
+ actionmailer (= 4.0.0)
68
+ actionpack (= 4.0.0)
69
+ activerecord (= 4.0.0)
70
+ activesupport (= 4.0.0)
71
+ bundler (>= 1.3.0, < 2.0)
72
+ railties (= 4.0.0)
73
+ sprockets-rails (~> 2.0.0)
74
+ railties (4.0.0)
75
+ actionpack (= 4.0.0)
76
+ activesupport (= 4.0.0)
77
+ rake (>= 0.8.7)
78
+ thor (>= 0.18.1, < 2.0)
79
+ rake (10.1.0)
80
+ rdoc (3.12.2)
81
+ json (~> 1.4)
82
+ sass (3.2.12)
83
+ sass-rails (4.0.0)
84
+ railties (>= 4.0.0.beta, < 5.0)
85
+ sass (>= 3.1.10)
86
+ sprockets-rails (~> 2.0.0)
87
+ sdoc (0.3.20)
88
+ json (>= 1.1.3)
89
+ rdoc (~> 3.10)
90
+ sprockets (2.10.0)
91
+ hike (~> 1.2)
92
+ multi_json (~> 1.0)
93
+ rack (~> 1.0)
94
+ tilt (~> 1.1, != 1.3.0)
95
+ sprockets-rails (2.0.0)
96
+ actionpack (>= 3.0)
97
+ activesupport (>= 3.0)
98
+ sprockets (~> 2.8)
99
+ sqlite3 (1.3.8)
100
+ thor (0.18.1)
101
+ thread_safe (0.1.3)
102
+ atomic
103
+ tilt (1.4.1)
104
+ treetop (1.4.15)
105
+ polyglot
106
+ polyglot (>= 0.3.1)
107
+ turbolinks (1.3.0)
108
+ coffee-rails
109
+ tzinfo (0.3.37)
110
+ uglifier (2.2.1)
111
+ execjs (>= 0.3.0)
112
+ multi_json (~> 1.0, >= 1.0.2)
113
+
114
+ PLATFORMS
115
+ ruby
116
+
117
+ DEPENDENCIES
118
+ coffee-rails (~> 4.0.0)
119
+ haml-rails
120
+ jbuilder (~> 1.2)
121
+ jquery-rails
122
+ rails (= 4.0.0)
123
+ sass-rails (~> 4.0.0)
124
+ sdoc
125
+ sqlite3
126
+ turbolinks
127
+ uglifier (>= 1.3.0)