locomotivecms_wagon 2.2.0.beta1 → 2.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/generators/blank/config/metafields_schema.yml +1 -1
  4. data/generators/bootstrap/config/metafields_schema.yml +1 -1
  5. data/generators/{foundation5 → foundation}/Gemfile.tt +1 -1
  6. data/generators/{foundation5 → foundation}/Guardfile +0 -0
  7. data/generators/foundation/app/content_types/.gitkeep +0 -0
  8. data/generators/foundation/app/views/pages/404.liquid +11 -0
  9. data/generators/{foundation5 → foundation}/app/views/pages/404.liquid.haml +4 -3
  10. data/generators/{foundation5 → foundation}/app/views/pages/index.liquid +54 -78
  11. data/generators/foundation/app/views/pages/index.liquid.haml +144 -0
  12. data/generators/foundation/app/views/snippets/.gitkeep +0 -0
  13. data/generators/{foundation5 → foundation}/config/deploy.yml +2 -1
  14. data/generators/{foundation5 → foundation}/config/metafields_schema.yml +1 -1
  15. data/generators/{foundation5/config/site.yml.tt → foundation/config/site.yml} +2 -2
  16. data/generators/{foundation5 → foundation}/config/translations.yml +0 -0
  17. data/generators/foundation/data/.gitkeep +0 -0
  18. data/generators/foundation/log/.gitkeep +0 -0
  19. data/generators/foundation/public/images/.gitkeep +0 -0
  20. data/generators/foundation/public/javascripts/app.js +1 -0
  21. data/generators/foundation/public/javascripts/vendor/foundation.js +7472 -0
  22. data/generators/foundation/public/javascripts/vendor/foundation.min.js +3 -0
  23. data/generators/foundation/public/javascripts/vendor/what-input.js +212 -0
  24. data/generators/foundation/public/javascripts/vendor/what-input.min.js +1 -0
  25. data/generators/foundation/public/stylesheets/_settings.scss +529 -0
  26. data/generators/foundation/public/stylesheets/app.css +3 -0
  27. data/generators/foundation/public/stylesheets/app.scss +43 -0
  28. data/generators/foundation/public/stylesheets/foundation.css +3499 -0
  29. data/generators/foundation/public/stylesheets/foundation6/_global.scss +197 -0
  30. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +28 -0
  31. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +112 -0
  32. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +55 -0
  33. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +94 -0
  34. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +115 -0
  35. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +264 -0
  36. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +115 -0
  37. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +61 -0
  38. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +67 -0
  39. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +123 -0
  40. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +64 -0
  41. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +68 -0
  42. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +27 -0
  43. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +56 -0
  44. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +74 -0
  45. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +213 -0
  46. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +170 -0
  47. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +186 -0
  48. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +161 -0
  49. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +83 -0
  50. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +155 -0
  51. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +158 -0
  52. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +38 -0
  53. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +231 -0
  54. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +212 -0
  55. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +137 -0
  56. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +54 -0
  57. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +44 -0
  58. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +110 -0
  59. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +57 -0
  60. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +131 -0
  61. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +36 -0
  62. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +81 -0
  63. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +53 -0
  64. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +32 -0
  65. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +30 -0
  66. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +70 -0
  67. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +48 -0
  68. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +64 -0
  69. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +153 -0
  70. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +91 -0
  71. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +132 -0
  72. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +112 -0
  73. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +191 -0
  74. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +33 -0
  75. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +31 -0
  76. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +32 -0
  77. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +71 -0
  78. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +72 -0
  79. data/generators/foundation/public/stylesheets/foundation6/grid/_size.scss +24 -0
  80. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +102 -0
  81. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_settings.scss +61 -0
  82. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +29 -0
  83. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_hinge.scss +65 -0
  84. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_shake.scss +15 -0
  85. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_slide.scss +41 -0
  86. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_spin.scss +28 -0
  87. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_wiggle.scss +13 -0
  88. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +15 -0
  89. data/generators/foundation/public/stylesheets/foundation6/motion-ui/motion-ui.scss +29 -0
  90. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_fade.scss +28 -0
  91. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_hinge.scss +43 -0
  92. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +42 -0
  93. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_spin.scss +39 -0
  94. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_zoom.scss +39 -0
  95. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_animation.scss +7 -0
  96. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_args.scss +15 -0
  97. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_keyframe.scss +136 -0
  98. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_selector.scss +23 -0
  99. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_series.scss +54 -0
  100. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +45 -0
  101. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_unit.scss +7 -0
  102. data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +4 -0
  103. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +531 -0
  104. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +21 -0
  105. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +436 -0
  106. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +77 -0
  107. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +73 -0
  108. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +28 -0
  109. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +182 -0
  110. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +41 -0
  111. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +190 -0
  112. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +39 -0
  113. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +69 -0
  114. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +15 -0
  115. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +117 -0
  116. data/generators/{foundation5/public/stylesheets/normalize.css.scss → foundation/public/stylesheets/foundation6/vendor/normalize.scss} +8 -11
  117. data/generators/site_metafields/schema.yml.tt +1 -1
  118. data/lib/locomotive/wagon/commands/push_command.rb +1 -0
  119. data/lib/locomotive/wagon/commands/serve_command.rb +1 -0
  120. data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +3 -3
  121. data/lib/locomotive/wagon/decorators/content_type_decorator.rb +5 -1
  122. data/lib/locomotive/wagon/generators/site/{foundation5.rb → foundation.rb} +8 -12
  123. data/lib/locomotive/wagon/generators/site.rb +1 -1
  124. data/lib/locomotive/wagon/version.rb +1 -1
  125. data/locomotivecms_wagon.gemspec +3 -2
  126. data/spec/fixtures/cassettes/authenticate.yml +38 -38
  127. data/spec/fixtures/cassettes/delete.yml +211 -211
  128. data/spec/fixtures/cassettes/push.yml +1333 -1374
  129. data/spec/integration/cli_spec.rb +1 -1
  130. data/spec/unit/decorators/content_entry_decorator_spec.rb +23 -0
  131. metadata +133 -104
  132. data/generators/foundation5/app/content_types/.empty_directory +0 -1
  133. data/generators/foundation5/app/views/pages/404.liquid +0 -10
  134. data/generators/foundation5/app/views/pages/index.liquid.haml +0 -157
  135. data/generators/foundation5/data/.empty_directory +0 -1
  136. data/generators/foundation5/icon.png +0 -0
  137. data/generators/foundation5/public/fonts/.empty_directory +0 -1
  138. data/generators/foundation5/public/images/.empty_directory +0 -1
  139. data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +0 -299
  140. data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +0 -59
  141. data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +0 -43
  142. data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +0 -534
  143. data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +0 -311
  144. data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +0 -74
  145. data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +0 -331
  146. data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +0 -843
  147. data/generators/foundation5/public/javascripts/foundation/foundation.js +0 -611
  148. data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +0 -178
  149. data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +0 -108
  150. data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +0 -610
  151. data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +0 -437
  152. data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +0 -199
  153. data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +0 -167
  154. data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +0 -298
  155. data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +0 -425
  156. data/generators/foundation5/public/javascripts/foundation.js +0 -4161
  157. data/generators/foundation5/public/javascripts/foundation.min.js +0 -10
  158. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.js +0 -4
  159. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +0 -1
  160. data/generators/foundation5/public/javascripts/vendor/fastclick.js +0 -9
  161. data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +0 -11
  162. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +0 -645
  163. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +0 -1
  164. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +0 -8
  165. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +0 -8
  166. data/generators/foundation5/public/javascripts/vendor/jquery.js +0 -26
  167. data/generators/foundation5/public/javascripts/vendor/jquery.min.js +0 -27
  168. data/generators/foundation5/public/javascripts/vendor/modernizr.js +0 -8
  169. data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +0 -1
  170. data/generators/foundation5/public/javascripts/vendor/placeholder.js +0 -2
  171. data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +0 -1
  172. data/generators/foundation5/public/samples/.empty_directory +0 -1
  173. data/generators/foundation5/public/stylesheets/application.css +0 -2
  174. data/generators/foundation5/public/stylesheets/application.css.scss +0 -3
  175. data/generators/foundation5/public/stylesheets/foundation/_functions.scss +0 -102
  176. data/generators/foundation5/public/stylesheets/foundation/_settings.scss +0 -1441
  177. data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +0 -157
  178. data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  179. data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +0 -132
  180. data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  181. data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +0 -197
  182. data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +0 -259
  183. data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +0 -247
  184. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
  185. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +0 -262
  186. data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +0 -51
  187. data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +0 -585
  188. data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +0 -460
  189. data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +0 -275
  190. data/generators/foundation5/public/stylesheets/foundation/components/_icon-bar.scss +0 -293
  191. data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +0 -57
  192. data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +0 -222
  193. data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +0 -61
  194. data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +0 -106
  195. data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +0 -34
  196. data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +0 -513
  197. data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +0 -368
  198. data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +0 -162
  199. data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +0 -95
  200. data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  201. data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +0 -79
  202. data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +0 -168
  203. data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +0 -222
  204. data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +0 -116
  205. data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +0 -191
  206. data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +0 -123
  207. data/generators/foundation5/public/stylesheets/foundation/components/_switches.scss +0 -230
  208. data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +0 -135
  209. data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +0 -123
  210. data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +0 -66
  211. data/generators/foundation5/public/stylesheets/foundation/components/_toolbar.scss +0 -70
  212. data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +0 -142
  213. data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +0 -685
  214. data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +0 -525
  215. data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +0 -408
  216. data/generators/foundation5/public/stylesheets/foundation.css +0 -6138
  217. data/generators/foundation5/public/stylesheets/foundation.css.scss +0 -45
  218. data/generators/foundation5/public/stylesheets/normalize.css +0 -357
  219. data/lib/locomotive/wagon/generators/site/foundation4.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9d1f613e9d97a0a304f95da63fe736045f8712a
4
- data.tar.gz: 7f716a2081a1066c7bfe86f01c6df3f54d90bc4d
3
+ metadata.gz: df455a7f6accfcf8b3b18d115b4736b07b6088fa
4
+ data.tar.gz: 48208819e4bde10b2e31e1a50982c0addf98d883
5
5
  SHA512:
6
- metadata.gz: 715eaedbbfeaf9ad34f92530253f15831ecd765b76c4bd879a36e99c840d09047e23665d880b278f2d32544e11867593bfaf49a56e938ebba2bed92264f82ecd
7
- data.tar.gz: 1d20f23d2654a6c5829f79e9959efb13d6c0678aeadb984e081eade66bc1ae81a9d1b13579d1f5c84a6a076678ed124d00894acbdfa5e49a8fb6d65452bde071
6
+ metadata.gz: 65ad7102456ddcb49a0a5d0ec32109d58164a823fa88b7fe0f894469d7081848eca4fe3bb2d9ea9ceb8f3be0a9a65d9ad27abf2326c97db53f01e121bc6290ed
7
+ data.tar.gz: daab1c49d271fccffc9ec7462420ef5488780b4148e03af7996d2f668c3629d4a19fc009c35a10600581f47cab6e18e8891baf7e04f777b08db721d34c9becf9
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  # Specify your gem's dependencies in wagon.gemspec
@@ -8,7 +9,7 @@ gem 'rb-fsevent', '~> 0.9.1'
8
9
  # Development
9
10
  # gem 'locomotivecms_common', github: 'locomotivecms/common', ref: '257047b', require: false
10
11
  # gem 'locomotivecms_coal', github: 'locomotivecms/coal', ref: 'f4ff435', require: false
11
- # gem 'locomotivecms_steam', github: 'locomotivecms/steam', ref: 'fe7403c', require: false
12
+ # gem 'locomotivecms_steam', github: 'locomotivecms/steam', ref: 'b439507', require: false
12
13
 
13
14
  # Local development
14
15
  # gem 'locomotivecms_coal', path: '../gems/coal', require: false
@@ -12,7 +12,7 @@
12
12
  # <name_1>:
13
13
  # label: <my label> # used as the label of the HTML input. Use a hash if you want it in another languages.
14
14
  # hint: <my hint> # used as the hint of the HTML input. Use a hash if you want it in another languages.
15
- # type: <string|text|integer|float|file|image|boolean|select|color>
15
+ # type: <string|text|integer|float|image|boolean|select|color>
16
16
  # localized: <true|false> # if the value is scoped by the current locale when rendering the site.
17
17
  # position: <0..n> # position of the input in the form
18
18
  # select_options: [array]
@@ -12,7 +12,7 @@
12
12
  # <name_1>:
13
13
  # label: <my label> # used as the label of the HTML input. Use a hash if you want it in another languages.
14
14
  # hint: <my hint> # used as the hint of the HTML input. Use a hash if you want it in another languages.
15
- # type: <string|text|integer|float|file|image|boolean|select|color>
15
+ # type: <string|text|integer|float|image|boolean|select|color>
16
16
  # localized: <true|false> # if the value is scoped by the current locale when rendering the site.
17
17
  # position: <0..n> # position of the input in the form
18
18
  # select_options: [array]
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'locomotivecms_wagon', '~> <%= config[:version] -%>'
4
4
 
5
- # gem 'guard-livereload', '~> 2.5.1'
5
+ gem 'guard-livereload', '~> 2.5.1'
6
6
 
7
7
  group :development do
8
8
  # Mac OS X
File without changes
File without changes
@@ -0,0 +1,11 @@
1
+ ---
2
+ title: Page not found
3
+ published: true
4
+ ---
5
+ {% extends index %}
6
+
7
+ {% block 'main' %}
8
+
9
+ <p>Page not found</p>
10
+
11
+ {% endblock %}
@@ -5,6 +5,7 @@ published: true
5
5
  {% extends index %}
6
6
 
7
7
  {% block 'main' %}
8
- .panel.callout.radius
9
- %h1 Arrggggh, page not found
10
- {% endblock %}
8
+
9
+ %p Page not found
10
+
11
+ {% endblock %}
@@ -5,23 +5,22 @@ published: true
5
5
  <!doctype html>
6
6
  <html class="no-js" lang="en">
7
7
  <head>
8
- <meta charset="utf-8" />
9
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
10
- <title>{{ site.name }}</title>
11
- {{ 'application.css' | stylesheet_tag }}
12
- {{ 'vendor/modernizr.min.js' | javascript_tag }}
13
- {% inline_editor %}
8
+ <meta charset="utf-8">
9
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
+ <title>Foundation for Sites</title>
12
+ {{ 'app.css' | stylesheet_tag }}
14
13
  </head>
15
14
  <body>
16
- {% block 'main' %}
17
15
  <div class="row">
18
16
  <div class="large-12 columns">
19
- <h1>{{ page.title }}</h1>
17
+ <h1>Welcome to Foundation</h1>
20
18
  </div>
21
19
  </div>
20
+
22
21
  <div class="row">
23
22
  <div class="large-12 columns">
24
- <div class="panel">
23
+ <div class="callout">
25
24
  <h3>We&rsquo;re stoked you want to try Foundation! </h3>
26
25
  <p>To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
27
26
  <p>Once you've exhausted the fun in this document, you should check out:</p>
@@ -30,61 +29,69 @@ published: true
30
29
  <p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
31
30
  </div>
32
31
  <div class="large-4 medium-4 columns">
33
- <p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
32
+ <p><a href="http://zurb.com/university/code-skills">Foundation Code Skills</a><br />These online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.</p>
34
33
  </div>
35
34
  <div class="large-4 medium-4 columns">
36
- <p><a href="http://twitter.com/foundationzurb">@foundationzurb</a><br />Ping us on Twitter if you have questions. If you build something with this we'd love to see it (and send you a totally boss sticker).</p>
35
+ <p><a href="http://foundation.zurb.com/forum">Foundation Forum</a><br />Join the Foundation community to ask a question or show off your knowlege.</p>
36
+ </div>
37
+ </div>
38
+ <div class="row">
39
+ <div class="large-4 medium-4 medium-push-2 columns">
40
+ <p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
41
+ </div>
42
+ <div class="large-4 medium-4 medium-pull-2 columns">
43
+ <p><a href="https://twitter.com/ZURBfoundation">@zurbfoundation</a><br />Ping us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).</p>
37
44
  </div>
38
45
  </div>
39
46
  </div>
40
47
  </div>
41
48
  </div>
49
+
42
50
  <div class="row">
43
51
  <div class="large-8 medium-8 columns">
44
- <h5>
45
- Here&rsquo;s your basic grid:
46
- </h5>
52
+ <h5>Here&rsquo;s your basic grid:</h5>
47
53
  <!-- Grid Example -->
54
+
48
55
  <div class="row">
49
56
  <div class="large-12 columns">
50
- <div class="callout panel">
51
- <p><strong>This is a twelve column section in a row.</strong> Each of these includes a div.panel element so you can see where the columns are - it's not required at all for the grid.</p>
57
+ <div class="primary callout">
58
+ <p><strong>This is a twelve column section in a row.</strong> Each of these includes a div.callout element so you can see where the columns are - it's not required at all for the grid.</p>
52
59
  </div>
53
60
  </div>
54
61
  </div>
55
62
  <div class="row">
56
63
  <div class="large-6 medium-6 columns">
57
- <div class="callout panel">
64
+ <div class="primary callout">
58
65
  <p>Six columns</p>
59
66
  </div>
60
67
  </div>
61
68
  <div class="large-6 medium-6 columns">
62
- <div class="callout panel">
69
+ <div class="primary callout">
63
70
  <p>Six columns</p>
64
71
  </div>
65
72
  </div>
66
73
  </div>
67
74
  <div class="row">
68
75
  <div class="large-4 medium-4 small-4 columns">
69
- <div class="callout panel">
76
+ <div class="primary callout">
70
77
  <p>Four columns</p>
71
78
  </div>
72
79
  </div>
73
80
  <div class="large-4 medium-4 small-4 columns">
74
- <div class="callout panel">
81
+ <div class="primary callout">
75
82
  <p>Four columns</p>
76
83
  </div>
77
84
  </div>
78
85
  <div class="large-4 medium-4 small-4 columns">
79
- <div class="callout panel">
86
+ <div class="primary callout">
80
87
  <p>Four columns</p>
81
88
  </div>
82
89
  </div>
83
90
  </div>
91
+
84
92
  <hr />
85
- <h5>
86
- We bet you&rsquo;ll need a form somewhere:
87
- </h5>
93
+
94
+ <h5>We bet you&rsquo;ll need a form somewhere:</h5>
88
95
  <form>
89
96
  <div class="row">
90
97
  <div class="large-12 columns">
@@ -104,13 +111,9 @@ published: true
104
111
  <div class="large-4 medium-4 columns">
105
112
  <div class="row collapse">
106
113
  <label>Input Label</label>
107
- <div class="small-9 columns">
108
- <input type="text" placeholder="small-9.columns" />
109
- </div>
110
- <div class="small-3 columns">
111
- <span class="postfix">
112
- .com
113
- </span>
114
+ <div class="input-group">
115
+ <input type="text" placeholder="small-9.columns" class="input-group-field" />
116
+ <span class="input-group-label">.com</span>
114
117
  </div>
115
118
  </div>
116
119
  </div>
@@ -129,17 +132,13 @@ published: true
129
132
  <div class="row">
130
133
  <div class="large-6 medium-6 columns">
131
134
  <label>Choose Your Favorite</label>
132
- <input type="radio" name="pokemon" value="Red" id="pokemonRed">
133
- <label for="pokemonRed">Radio 1</label>
134
- <input type="radio" name="pokemon" value="Blue" id="pokemonBlue">
135
- <label for="pokemonBlue">Radio 2</label>
135
+ <input type="radio" name="pokemon" value="Red" id="pokemonRed"><label for="pokemonRed">Radio 1</label>
136
+ <input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Radio 2</label>
136
137
  </div>
137
138
  <div class="large-6 medium-6 columns">
138
139
  <label>Check these out</label>
139
- <input id="checkbox1" type="checkbox">
140
- <label for="checkbox1">Checkbox 1</label>
141
- <input id="checkbox2" type="checkbox">
142
- <label for="checkbox2">Checkbox 2</label>
140
+ <input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
141
+ <input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>
143
142
  </div>
144
143
  </div>
145
144
  <div class="row">
@@ -150,47 +149,24 @@ published: true
150
149
  </div>
151
150
  </form>
152
151
  </div>
152
+
153
153
  <div class="large-4 medium-4 columns">
154
- <h5>
155
- Try one of these buttons:
156
- </h5>
157
- <p><a href="#" class="small button">Simple Button</a><br/>
158
- <a href="#" class="small radius button">Radius Button</a><br/>
159
- <a href="#" class="small round button">Round Button</a><br/>
160
- <a href="#" class="medium success button">Success Btn</a><br/>
161
- <a href="#" class="medium alert button">Alert Btn</a><br/>
162
- <a href="#" class="medium secondary button">Secondary Btn</a></p>
163
- <div class="panel">
164
- <h5>
165
- So many components, girl!
166
- </h5>
167
- <p>A whole kitchen sink of goodies comes with Foundation. Checkout the docs to see them all, along with details on making them your own.</p>
168
- <a href="http://foundation.zurb.com/docs/" class="small button">Go to Foundation Docs</a>
169
- </div>
154
+ <h5>Try one of these buttons:</h5>
155
+ <p><a href="#" class="button">Simple Button</a><br/>
156
+ <a href="#" class="success button">Success Btn</a><br/>
157
+ <a href="#" class="alert button">Alert Btn</a><br/>
158
+ <a href="#" class="secondary button">Secondary Btn</a></p>
159
+ <div class="callout">
160
+ <h5>So many components, girl!</h5>
161
+ <p>A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.</p>
162
+ <a href="http://foundation.zurb.com/sites/docs/" class="small button">Go to Foundation Docs</a>
170
163
  </div>
171
164
  </div>
172
- {% endblock %}
173
- {{ 'vendor/jquery.min.js' | javascript_tag }}
174
- {{ 'foundation.min.js' | javascript_tag }}
175
- <!--
176
- {{ 'foundation.abide.js' | javascript_tag }}
177
- {{ 'foundation.accordion.js' | javascript_tag }}
178
- {{ 'foundation.alert.js' | javascript_tag }}
179
- {{ 'foundation.clearing.js' | javascript_tag }}
180
- {{ 'foundation.dropdown.js' | javascript_tag }}
181
- {{ 'foundation.interchange.js' | javascript_tag }}
182
- {{ 'foundation.joyride.js' | javascript_tag }}
183
- {{ 'foundation.js' | javascript_tag }}
184
- {{ 'foundation.magellan.js' | javascript_tag }}
185
- {{ 'foundation.offcanvas.js' | javascript_tag }}
186
- {{ 'foundation.orbit.js' | javascript_tag }}
187
- {{ 'foundation.reveal.js' | javascript_tag }}
188
- {{ 'foundation.tab.js' | javascript_tag }}
189
- {{ 'foundation.tooltip.js' | javascript_tag }}
190
- {{ 'foundation.topbar.js' | javascript_tag }}
191
- -->
192
- <script>
193
- $(document).foundation();
194
- </script>
165
+ </div>
166
+
167
+ <script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
168
+ {{'vendor/what-input.min.js' | javascript_tag }}
169
+ {{ 'vendor/foundation.min.js' | javascript_tag }}
170
+ {{'app.js' | javascript_tag }}
195
171
  </body>
196
172
  </html>
@@ -0,0 +1,144 @@
1
+ ---
2
+ title: Home page
3
+ published: true
4
+ ---
5
+ !!!
6
+ %html.no-js{:lang => "en"}
7
+ %head
8
+ %meta{:charset => "utf-8"}
9
+ %meta{:content => "ie=edge", "http-equiv" => "x-ua-compatible"}
10
+ %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
11
+ %title Foundation for Sites
12
+ {{ 'app.css' | stylesheet_tag }}
13
+ %body
14
+ .row
15
+ .large-12.columns
16
+ %h1 Welcome to Foundation
17
+ .row
18
+ .large-12.columns
19
+ .callout
20
+ %h3 We&rsquo;re stoked you want to try Foundation!
21
+ %p To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.
22
+ %p Once you've exhausted the fun in this document, you should check out:
23
+ .row
24
+ .large-4.medium-4.columns
25
+ %p
26
+ %a{:href => "http://foundation.zurb.com/docs"} Foundation Documentation
27
+ = succeed "Everything" do
28
+ %br/
29
+ you need to know about using the framework.
30
+ .large-4.medium-4.columns
31
+ %p
32
+ %a{:href => "http://zurb.com/university/code-skills"} Foundation Code Skills
33
+ = succeed "These" do
34
+ %br/
35
+ online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.
36
+ .large-4.medium-4.columns
37
+ %p
38
+ %a{:href => "http://foundation.zurb.com/forum"} Foundation Forum
39
+ = succeed "Join" do
40
+ %br/
41
+ the Foundation community to ask a question or show off your knowlege.
42
+ .row
43
+ .large-4.medium-4.medium-push-2.columns
44
+ %p
45
+ %a{:href => "http://github.com/zurb/foundation"} Foundation on Github
46
+ = succeed "Latest" do
47
+ %br/
48
+ code, issue reports, feature requests and more.
49
+ .large-4.medium-4.medium-pull-2.columns
50
+ %p
51
+ %a{:href => "https://twitter.com/ZURBfoundation"} @zurbfoundation
52
+ = succeed "Ping" do
53
+ %br/
54
+ us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).
55
+ .row
56
+ .large-8.medium-8.columns
57
+ %h5 Here&rsquo;s your basic grid:
58
+ / Grid Example
59
+ .row
60
+ .large-12.columns
61
+ .primary.callout
62
+ %p
63
+ %strong This is a twelve column section in a row.
64
+ Each of these includes a div.callout element so you can see where the columns are - it's not required at all for the grid.
65
+ .row
66
+ .large-6.medium-6.columns
67
+ .primary.callout
68
+ %p Six columns
69
+ .large-6.medium-6.columns
70
+ .primary.callout
71
+ %p Six columns
72
+ .row
73
+ .large-4.medium-4.small-4.columns
74
+ .primary.callout
75
+ %p Four columns
76
+ .large-4.medium-4.small-4.columns
77
+ .primary.callout
78
+ %p Four columns
79
+ .large-4.medium-4.small-4.columns
80
+ .primary.callout
81
+ %p Four columns
82
+ %hr/
83
+ %h5 We bet you&rsquo;ll need a form somewhere:
84
+ %form
85
+ .row
86
+ .large-12.columns
87
+ %label Input Label
88
+ %input{:placeholder => "large-12.columns", :type => "text"}/
89
+ .row
90
+ .large-4.medium-4.columns
91
+ %label Input Label
92
+ %input{:placeholder => "large-4.columns", :type => "text"}/
93
+ .large-4.medium-4.columns
94
+ %label Input Label
95
+ %input{:placeholder => "large-4.columns", :type => "text"}/
96
+ .large-4.medium-4.columns
97
+ .row.collapse
98
+ %label Input Label
99
+ .input-group
100
+ %input.input-group-field{:placeholder => "small-9.columns", :type => "text"}/
101
+ %span.input-group-label .com
102
+ .row
103
+ .large-12.columns
104
+ %label Select Box
105
+ %select
106
+ %option{:value => "husker"} Husker
107
+ %option{:value => "starbuck"} Starbuck
108
+ %option{:value => "hotdog"} Hot Dog
109
+ %option{:value => "apollo"} Apollo
110
+ .row
111
+ .large-6.medium-6.columns
112
+ %label Choose Your Favorite
113
+ %input#pokemonRed{:name => "pokemon", :type => "radio", :value => "Red"}
114
+ %label{:for => "pokemonRed"} Radio 1
115
+ %input#pokemonBlue{:name => "pokemon", :type => "radio", :value => "Blue"}
116
+ %label{:for => "pokemonBlue"} Radio 2
117
+ .large-6.medium-6.columns
118
+ %label Check these out
119
+ %input#checkbox1{:type => "checkbox"}
120
+ %label{:for => "checkbox1"} Checkbox 1
121
+ %input#checkbox2{:type => "checkbox"}
122
+ %label{:for => "checkbox2"} Checkbox 2
123
+ .row
124
+ .large-12.columns
125
+ %label Textarea Label
126
+ %textarea{:placeholder => "small-12.columns"}
127
+ .large-4.medium-4.columns
128
+ %h5 Try one of these buttons:
129
+ %p
130
+ %a.button{:href => "#"} Simple Button
131
+ %br/
132
+ %a.success.button{:href => "#"} Success Btn
133
+ %br/
134
+ %a.alert.button{:href => "#"} Alert Btn
135
+ %br/
136
+ %a.secondary.button{:href => "#"} Secondary Btn
137
+ .callout
138
+ %h5 So many components, girl!
139
+ %p A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.
140
+ %a.small.button{:href => "http://foundation.zurb.com/sites/docs/"} Go to Foundation Docs
141
+ %script{:crossorigin => "anonymous", :integrity => "sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=", :src => "https://code.jquery.com/jquery-2.2.3.min.js"}
142
+ {{'vendor/what-input.min.js' | javascript_tag }}
143
+ {{ 'vendor/foundation.min.js' | javascript_tag }}
144
+ {{'app.js' | javascript_tag }}
File without changes
@@ -12,4 +12,5 @@
12
12
  # host: www.example.com
13
13
  # email: john@doe.net
14
14
  # password: apassword
15
- # # api_key: <your api key here>
15
+ # # api_key: <your api key here>
16
+ # # ssl: true
@@ -12,7 +12,7 @@
12
12
  # <name_1>:
13
13
  # label: <my label> # used as the label of the HTML input. Use a hash if you want it in another languages.
14
14
  # hint: <my hint> # used as the hint of the HTML input. Use a hash if you want it in another languages.
15
- # type: <string|text|integer|float|file|image|boolean|select|color>
15
+ # type: <string|text|integer|float|image|boolean|select|color>
16
16
  # localized: <true|false> # if the value is scoped by the current locale when rendering the site.
17
17
  # position: <0..n> # position of the input in the form
18
18
  # select_options: [array]
@@ -1,7 +1,7 @@
1
1
  # The name of this site
2
2
  # This text displays in the back-office and
3
3
  # can be used in templates through the site.name global variable
4
- name: "<%= config[:name] %>"
4
+ name: "locomotive-foundation6"
5
5
 
6
6
  # An array of domain aliases for the site
7
7
  # This option is for sites on multi-site engines
@@ -23,7 +23,7 @@ locales: [en]
23
23
  # And include <meta type="keywords"> and <meta type="description">
24
24
  # For this purpose you can set values for these variables here
25
25
  # They can be accessed in templates through the site.seo_title, site.meta_keywords, and site.meta_description variables
26
- seo_title: <%= @name %>
26
+ seo_title: locomotive-foundation6
27
27
  meta_keywords: "some meta keywords"
28
28
  meta_description: "some meta description"
29
29
 
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ $(document).foundation();