locomotivecms_wagon 1.4.0 → 1.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Gemfile +6 -2
- data/README.md +7 -1
- data/bin/wagon +3 -0
- data/generators/blank/Gemfile.tt +1 -3
- data/generators/blank/config/site.yml.tt +3 -3
- data/generators/bootstrap/config/site.yml.tt +3 -3
- data/generators/bootstrap3/Gemfile.tt +1 -3
- data/generators/bootstrap3/app/views/pages/index.liquid +21 -63
- data/generators/bootstrap3/app/views/pages/index.liquid.haml +15 -57
- data/generators/bootstrap3/config/deploy.yml +15 -15
- data/generators/bootstrap3/config/site.yml.tt +2 -2
- data/generators/bootstrap3/icon.png +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +201 -200
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/generators/{bootstrap2/app/content_types → bootstrap3/public/images}/.empty_directory +0 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/affix.js +137 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/alert.js +88 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/button.js +107 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/carousel.js +205 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/collapse.js +170 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/dropdown.js +147 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +243 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/popover.js +110 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/scrollspy.js +153 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/tab.js +125 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/tooltip.js +399 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/transition.js +48 -0
- data/generators/bootstrap3/public/javascripts/bootstrap.min.js +12 -6
- data/generators/bootstrap3/public/stylesheets/application.css +1 -0
- data/generators/bootstrap3/public/stylesheets/application.css.scss +8 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_alerts.scss +67 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_badges.scss +55 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_button-groups.scss +226 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_buttons.scss +159 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_carousel.scss +232 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_close.scss +35 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_code.scss +63 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +29 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_dropdowns.scss +213 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_forms.scss +436 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_glyphicons.scss +233 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_grid.scss +84 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_input-groups.scss +162 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_jumbotron.scss +44 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_labels.scss +64 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_list-group.scss +110 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +56 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +947 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_modals.scss +139 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_navbar.scss +620 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_navs.scss +242 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_normalize.scss +423 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_pager.scss +55 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_pagination.scss +88 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_panels.scss +241 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_popovers.scss +133 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +101 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_progress-bars.scss +80 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +74 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_scaffolding.scss +134 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_tables.scss +233 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_theme.scss +247 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_thumbnails.scss +38 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_tooltip.scss +95 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_type.scss +284 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_utilities.scss +56 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_variables.scss +833 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_wells.scss +29 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +49 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap.css +2035 -3056
- data/generators/bootstrap3/public/stylesheets/bootstrap.css.scss +49 -0
- data/generators/cloned/Gemfile.tt +1 -3
- data/generators/content_type/app/content_types/%slug%.yml.tt +57 -0
- data/generators/content_type/data/{%name%.yml.tt → %slug%.yml.tt} +2 -2
- data/generators/{bootstrap2 → foundation5}/Gemfile.tt +1 -3
- data/generators/{bootstrap2/data → foundation5/app/content_types}/.empty_directory +0 -0
- data/generators/{foundation → foundation5}/app/views/pages/404.liquid +1 -4
- data/generators/{foundation → foundation5}/app/views/pages/404.liquid.haml +1 -1
- data/generators/foundation5/app/views/pages/index.liquid +196 -0
- data/generators/foundation5/app/views/pages/index.liquid.haml +157 -0
- data/generators/foundation5/config/deploy.yml +15 -0
- data/generators/{bootstrap2 → foundation5}/config/site.yml.tt +3 -4
- data/generators/{bootstrap2 → foundation5}/config/translations.yml +0 -0
- data/generators/{bootstrap2 → foundation5}/config.ru +0 -0
- data/generators/{bootstrap2/public/samples → foundation5/data}/.empty_directory +0 -0
- data/generators/foundation5/favicon.ico +0 -0
- data/generators/foundation5/icon.png +0 -0
- data/generators/{foundation/app/content_types → foundation5/public/fonts}/.empty_directory +0 -0
- data/generators/{foundation/data → foundation5/public/images}/.empty_directory +0 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +299 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +59 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +43 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +534 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +311 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +74 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +331 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +843 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.js +611 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +178 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +108 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +610 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +437 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +199 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +167 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +298 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +425 -0
- data/generators/foundation5/public/javascripts/foundation.js +4161 -0
- data/generators/foundation5/public/javascripts/foundation.min.js +10 -0
- data/generators/{foundation → foundation5}/public/javascripts/vendor/custom.modernizr.js +0 -0
- data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +1 -0
- data/generators/foundation5/public/javascripts/vendor/fastclick.js +9 -0
- data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +11 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +645 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +1 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +8 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +8 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.js +26 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.min.js +27 -0
- data/generators/foundation5/public/javascripts/vendor/modernizr.js +8 -0
- data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +1 -0
- data/generators/foundation5/public/javascripts/vendor/placeholder.js +2 -0
- data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +1 -0
- data/generators/{foundation/public/fonts → foundation5/public/samples}/.empty_directory +0 -0
- data/generators/foundation5/public/stylesheets/application.css +2 -0
- data/generators/foundation5/public/stylesheets/application.css.scss +3 -0
- data/generators/foundation5/public/stylesheets/foundation/_functions.scss +101 -0
- data/generators/foundation5/public/stylesheets/foundation/_settings.scss +1296 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +53 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +126 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +132 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +127 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +108 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +222 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +247 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +129 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +248 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +51 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +498 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +434 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +260 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +57 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +220 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +61 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +104 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +34 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +356 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +423 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +150 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +90 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +150 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +79 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +148 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_reveal-new.scss +0 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +216 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +115 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +191 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +125 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_switch.scss +294 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +129 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +109 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +68 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +140 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +659 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +513 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +408 -0
- data/generators/foundation5/public/stylesheets/foundation.css +5398 -0
- data/generators/foundation5/public/stylesheets/foundation.css.scss +45 -0
- data/generators/foundation5/public/stylesheets/normalize.css +425 -0
- data/generators/foundation5/public/stylesheets/normalize.css.scss +425 -0
- data/generators/{foundation → line_case}/Gemfile.tt +1 -3
- data/generators/line_case/app/content_types/categories.yml +56 -0
- data/generators/line_case/app/content_types/emails.yml +35 -0
- data/generators/line_case/app/content_types/projects.yml +58 -0
- data/generators/{bootstrap2 → line_case}/app/views/pages/404.liquid.haml +3 -2
- data/generators/line_case/app/views/pages/email-registered.liquid.haml +13 -0
- data/generators/line_case/app/views/pages/index.liquid.haml +110 -0
- data/generators/line_case/app/views/pages/projects/content_type_template.liquid.haml +32 -0
- data/generators/line_case/app/views/snippets/newsletter_form.liquid.haml +14 -0
- data/generators/line_case/app/views/snippets/projects.liquid.haml +17 -0
- data/generators/line_case/app/views/snippets/social_links.liquid.haml +19 -0
- data/generators/line_case/config/deploy.yml +15 -0
- data/generators/{foundation → line_case}/config/site.yml.tt +3 -3
- data/generators/{foundation → line_case}/config/translations.yml +0 -0
- data/generators/{foundation → line_case}/config.ru +0 -0
- data/generators/line_case/data/categories.yml +8 -0
- data/generators/line_case/data/emails.yml +2 -0
- data/generators/line_case/data/projects.yml +39 -0
- data/generators/line_case/icon.png +0 -0
- data/generators/line_case/public/images/banner-header.png +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.abide.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.alerts.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.clearing.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.cookie.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.dropdown.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.forms.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.interchange.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.joyride.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.magellan.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.orbit.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.placeholder.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.reveal.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.section.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.tooltips.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.topbar.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation.min.js +0 -0
- data/generators/line_case/public/javascripts/vendor/custom.modernizr.js +4 -0
- data/generators/{foundation → line_case}/public/javascripts/vendor/jquery.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/vendor/zepto.js +0 -0
- data/generators/line_case/public/samples/projects/sample.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample2.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample3.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample4.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample5.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample6.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample7.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample8.jpeg +0 -0
- data/generators/line_case/public/stylesheets/_variables.css.sass +20 -0
- data/generators/line_case/public/stylesheets/foundation/_variables.scss +1290 -0
- data/generators/line_case/public/stylesheets/foundation/components/_alert-boxes.scss +107 -0
- data/generators/line_case/public/stylesheets/foundation/components/_block-grid.scss +71 -0
- data/generators/line_case/public/stylesheets/foundation/components/_breadcrumbs.scss +124 -0
- data/generators/line_case/public/stylesheets/foundation/components/_button-groups.scss +89 -0
- data/generators/line_case/public/stylesheets/foundation/components/_buttons.scss +230 -0
- data/generators/line_case/public/stylesheets/foundation/components/_clearing.scss +227 -0
- data/generators/line_case/public/stylesheets/foundation/components/_custom-forms.scss +278 -0
- data/generators/line_case/public/stylesheets/foundation/components/_dropdown-buttons.scss +115 -0
- data/generators/line_case/public/stylesheets/foundation/components/_dropdown.scss +151 -0
- data/generators/line_case/public/stylesheets/foundation/components/_flex-video.scss +46 -0
- data/generators/line_case/public/stylesheets/foundation/components/_forms.scss +411 -0
- data/generators/line_case/public/stylesheets/foundation/components/_global.scss +366 -0
- data/generators/line_case/public/stylesheets/foundation/components/_grid-5.scss +214 -0
- data/generators/line_case/public/stylesheets/foundation/components/_grid.scss +188 -0
- data/generators/line_case/public/stylesheets/foundation/components/_inline-lists.scss +53 -0
- data/generators/line_case/public/stylesheets/foundation/components/_joyride.scss +217 -0
- data/generators/line_case/public/stylesheets/foundation/components/_keystrokes.scss +57 -0
- data/generators/line_case/public/stylesheets/foundation/components/_labels.scss +85 -0
- data/generators/line_case/public/stylesheets/foundation/components/_magellan.scss +23 -0
- data/generators/line_case/public/stylesheets/foundation/components/_orbit.scss +340 -0
- data/generators/line_case/public/stylesheets/foundation/components/_pagination.scss +140 -0
- data/generators/line_case/public/stylesheets/foundation/components/_panels.scss +83 -0
- data/generators/line_case/public/stylesheets/foundation/components/_pricing-tables.scss +131 -0
- data/generators/line_case/public/stylesheets/foundation/components/_progress-bars.scss +71 -0
- data/generators/line_case/public/stylesheets/foundation/components/_reveal.scss +136 -0
- data/generators/line_case/public/stylesheets/foundation/components/_section.scss +391 -0
- data/generators/line_case/public/stylesheets/foundation/components/_side-nav.scss +69 -0
- data/generators/line_case/public/stylesheets/foundation/components/_split-buttons.scss +167 -0
- data/generators/line_case/public/stylesheets/foundation/components/_sub-nav.scss +84 -0
- data/generators/line_case/public/stylesheets/foundation/components/_switch.scss +266 -0
- data/generators/line_case/public/stylesheets/foundation/components/_tables.scss +84 -0
- data/generators/line_case/public/stylesheets/foundation/components/_thumbs.scss +53 -0
- data/generators/line_case/public/stylesheets/foundation/components/_tooltips.scss +117 -0
- data/generators/line_case/public/stylesheets/foundation/components/_top-bar.scss +576 -0
- data/generators/line_case/public/stylesheets/foundation/components/_type.scss +435 -0
- data/generators/line_case/public/stylesheets/foundation/components/_visibility.scss +322 -0
- data/generators/line_case/public/stylesheets/foundation.css.scss +43 -0
- data/generators/{foundation → line_case}/public/stylesheets/foundation.min.css +0 -0
- data/generators/{foundation/public/stylesheets/normalize.css → line_case/public/stylesheets/normalize.css.scss} +5 -5
- data/generators/line_case/public/stylesheets/pages.css.sass +163 -0
- data/generators/page/template.liquid.haml.tt +8 -5
- data/generators/page/template.liquid.tt +6 -2
- data/lib/locomotive/wagon/cli.rb +139 -43
- data/lib/locomotive/wagon/generators/content_type.rb +26 -10
- data/lib/locomotive/wagon/generators/page.rb +41 -25
- data/lib/locomotive/wagon/generators/site/base.rb +53 -0
- data/lib/locomotive/wagon/generators/site/blank.rb +9 -2
- data/lib/locomotive/wagon/generators/site/bootstrap2.rb +8 -2
- data/lib/locomotive/wagon/generators/site/bootstrap3.rb +20 -2
- data/lib/locomotive/wagon/generators/site/cloned.rb +4 -0
- data/lib/locomotive/wagon/generators/site/{foundation.rb → foundation4.rb} +10 -4
- data/lib/locomotive/wagon/generators/site/foundation5.rb +48 -0
- data/lib/locomotive/wagon/generators/site/line_case.rb +20 -0
- data/lib/locomotive/wagon/generators/site/unzip.rb +10 -2
- data/lib/locomotive/wagon/generators/site.rb +48 -2
- data/lib/locomotive/wagon/generators/snippet.rb +2 -1
- data/lib/locomotive/wagon/liquid/drops/content_types.rb +9 -3
- data/lib/locomotive/wagon/liquid/drops/page.rb +9 -1
- data/lib/locomotive/wagon/liquid/scopeable.rb +1 -1
- data/lib/locomotive/wagon/liquid/tags/fetch_page.rb +41 -0
- data/lib/locomotive/wagon/liquid/tags/model_form.rb +67 -0
- data/lib/locomotive/wagon/liquid/tags/path_helper.rb +2 -2
- data/lib/locomotive/wagon/liquid/tags/with_scope.rb +1 -1
- data/lib/locomotive/wagon/listen.rb +18 -10
- data/lib/locomotive/wagon/logger.rb +4 -0
- data/lib/locomotive/wagon/misc/core_ext.rb +8 -0
- data/lib/locomotive/wagon/misc/deployment_connection.rb +120 -0
- data/lib/locomotive/wagon/misc/hosting_api.rb +115 -0
- data/lib/locomotive/wagon/misc/httparty.rb +2 -0
- data/lib/locomotive/wagon/misc/livereload.rb +43 -0
- data/lib/locomotive/wagon/misc/mounter.rb +1 -1
- data/lib/locomotive/wagon/misc/tcp_port.rb +42 -0
- data/lib/locomotive/wagon/misc/thor.rb +15 -0
- data/lib/locomotive/wagon/server/entry_submission.rb +69 -38
- data/lib/locomotive/wagon/server/middleware.rb +4 -2
- data/lib/locomotive/wagon/server/page.rb +2 -2
- data/lib/locomotive/wagon/server.rb +11 -7
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +141 -30
- data/locomotivecms_wagon.gemspec +7 -6
- data/spec/fixtures/default/app/content_types/bands.yml +3 -1
- data/spec/fixtures/default/app/views/pages/all.liquid.haml +3 -0
- data/spec/fixtures/default/app/views/pages/events.liquid.haml +21 -0
- data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +11 -1
- data/spec/fixtures/default/app/views/pages/index.liquid.haml +1 -1
- data/spec/fixtures/default/data/bands.yml +3 -0
- data/spec/integration/server/basic_spec.rb +1 -0
- data/spec/integration/server/contact_form_spec.rb +1 -1
- data/spec/integration/server/liquid_spec.rb +8 -1
- data/spec/integration/server/new_contact_form_spec.rb +67 -0
- data/spec/integration/server/with_scope_spec.rb +10 -0
- data/spec/spec_helper.rb +3 -0
- metadata +339 -144
- data/generators/bootstrap2/app/views/pages/404.liquid +0 -13
- data/generators/bootstrap2/app/views/pages/index.liquid +0 -98
- data/generators/bootstrap2/app/views/pages/index.liquid.haml +0 -80
- data/generators/bootstrap2/app/views/snippets/footer.liquid +0 -3
- data/generators/bootstrap2/app/views/snippets/footer.liquid.haml +0 -2
- data/generators/bootstrap2/config/deploy.yml +0 -15
- data/generators/bootstrap2/public/fonts/FontAwesome.otf +0 -0
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.eot +0 -0
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.svg +0 -399
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.ttf +0 -0
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.woff +0 -0
- data/generators/bootstrap2/public/javascripts/bootstrap.js +0 -2280
- data/generators/bootstrap2/public/javascripts/bootstrap.min.js +0 -6
- data/generators/bootstrap2/public/stylesheets/application.css.scss +0 -39
- data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.css +0 -1109
- data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.min.css +0 -9
- data/generators/bootstrap2/public/stylesheets/bootstrap.css +0 -5568
- data/generators/bootstrap2/public/stylesheets/bootstrap.min.css +0 -9
- data/generators/bootstrap2/public/stylesheets/fonts/awesome.css.scss +0 -3
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.css +0 -1203
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.min.css +0 -384
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.css +0 -1470
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.min.css +0 -403
- data/generators/bootstrap3/public/javascripts/bootstrap.js +0 -1999
- data/generators/bootstrap3/public/stylesheets/bootstrap-theme.css +0 -384
- data/generators/bootstrap3/public/stylesheets/bootstrap-theme.min.css +0 -1
- data/generators/bootstrap3/public/stylesheets/bootstrap.min.css +0 -9
- data/generators/content_type/app/content_types/%name%.yml.tt +0 -58
- data/generators/foundation/app/views/pages/index.liquid +0 -150
- data/generators/foundation/app/views/pages/index.liquid.haml +0 -125
- data/generators/foundation/app/views/snippets/footer.liquid +0 -16
- data/generators/foundation/app/views/snippets/footer.liquid.haml +0 -22
- data/generators/foundation/config/deploy.yml +0 -15
- data/generators/foundation/public/samples/.empty_directory +0 -1
- data/generators/foundation/public/stylesheets/foundation.css +0 -4727
@@ -0,0 +1,49 @@
|
|
1
|
+
// Core variables and mixins
|
2
|
+
@import "bootstrap/variables";
|
3
|
+
@import "bootstrap/mixins";
|
4
|
+
|
5
|
+
// Reset
|
6
|
+
@import "bootstrap/normalize";
|
7
|
+
@import "bootstrap/print";
|
8
|
+
|
9
|
+
// Core CSS
|
10
|
+
@import "bootstrap/scaffolding";
|
11
|
+
@import "bootstrap/type";
|
12
|
+
@import "bootstrap/code";
|
13
|
+
@import "bootstrap/grid";
|
14
|
+
@import "bootstrap/tables";
|
15
|
+
@import "bootstrap/forms";
|
16
|
+
@import "bootstrap/buttons";
|
17
|
+
|
18
|
+
// Components
|
19
|
+
@import "bootstrap/component-animations";
|
20
|
+
@import "bootstrap/glyphicons";
|
21
|
+
@import "bootstrap/dropdowns";
|
22
|
+
@import "bootstrap/button-groups";
|
23
|
+
@import "bootstrap/input-groups";
|
24
|
+
@import "bootstrap/navs";
|
25
|
+
@import "bootstrap/navbar";
|
26
|
+
@import "bootstrap/breadcrumbs";
|
27
|
+
@import "bootstrap/pagination";
|
28
|
+
@import "bootstrap/pager";
|
29
|
+
@import "bootstrap/labels";
|
30
|
+
@import "bootstrap/badges";
|
31
|
+
@import "bootstrap/jumbotron";
|
32
|
+
@import "bootstrap/thumbnails";
|
33
|
+
@import "bootstrap/alerts";
|
34
|
+
@import "bootstrap/progress-bars";
|
35
|
+
@import "bootstrap/media";
|
36
|
+
@import "bootstrap/list-group";
|
37
|
+
@import "bootstrap/panels";
|
38
|
+
@import "bootstrap/wells";
|
39
|
+
@import "bootstrap/close";
|
40
|
+
|
41
|
+
// Components w/ JavaScript
|
42
|
+
@import "bootstrap/modals";
|
43
|
+
@import "bootstrap/tooltip";
|
44
|
+
@import "bootstrap/popovers";
|
45
|
+
@import "bootstrap/carousel";
|
46
|
+
|
47
|
+
// Utility classes
|
48
|
+
@import "bootstrap/utilities";
|
49
|
+
@import "bootstrap/responsive-utilities";
|
@@ -1,7 +1,5 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# ruby '1.9.3'
|
4
|
-
|
5
3
|
gem 'locomotivecms_wagon', '<%= config[:version] -%>'
|
6
4
|
|
7
5
|
group :development do
|
@@ -9,7 +7,7 @@ group :development do
|
|
9
7
|
gem 'rb-fsevent', '~> 0.9.1', require: RUBY_PLATFORM.include?('darwin') && 'rb-fsevent'
|
10
8
|
|
11
9
|
# Unix
|
12
|
-
gem 'therubyracer', require: 'v8', platforms: :ruby
|
10
|
+
gem 'therubyracer', require: 'v8', platforms: :ruby unless RUBY_PLATFORM.include?('darwin')
|
13
11
|
gem 'rb-inotify', '~> 0.9', require: RUBY_PLATFORM.include?('linux') && 'rb-inotify'
|
14
12
|
|
15
13
|
# Windows
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Human readable name of this type
|
2
|
+
name: <%= config[:name] %>
|
3
|
+
|
4
|
+
# Lowercase, underscored handle used to access this type
|
5
|
+
slug: <%= config[:slug] %>
|
6
|
+
|
7
|
+
# Explanatory text displayed in the back-office
|
8
|
+
description: A description of the content type for the editors
|
9
|
+
|
10
|
+
# Slug of field used to identify entries by default, such as the title
|
11
|
+
label_field_name: <%= config[:fields].first.name %>
|
12
|
+
|
13
|
+
# Valid values: manually, created_at, updated_at, or the slug of any field
|
14
|
+
order_by: manually
|
15
|
+
|
16
|
+
# Valid values: asc (ascending) and desc (descending). Set to asc by default.
|
17
|
+
# order_direction: asc
|
18
|
+
|
19
|
+
# Specify a field slug to group entries by that field in the back-office.
|
20
|
+
# group_by: <your field>
|
21
|
+
|
22
|
+
# Activate public 'create' API (e.g for a contact form)
|
23
|
+
# public_submission_enabled: false
|
24
|
+
|
25
|
+
# Array of emails to be notified of new entries made with the public API
|
26
|
+
# public_submission_accounts: ['john@example.com']
|
27
|
+
|
28
|
+
# A list describing each field
|
29
|
+
fields: <% config[:fields].each_with_index do |field, index| %>
|
30
|
+
- <%= field.name -%>: # The lowercase, underscored name of the field
|
31
|
+
label: <%= field.label %> # Human readable name of the field
|
32
|
+
type: <%= field.type %>
|
33
|
+
required: <%= index == 0 ? true : field.required %>
|
34
|
+
hint: Explanatory text displayed in the back office
|
35
|
+
localized: <%= field.required %><% if field.type == 'text' %>
|
36
|
+
# text_formatting: html # html (uses rich text editor) or text (uses plain text editor)<% end -%><% if field.type == 'select' -%>
|
37
|
+
# if localized, use
|
38
|
+
# en: ['option1_en', 'option2_en']
|
39
|
+
# fr: ['option1_fr', 'option2_fr']
|
40
|
+
select_options: ['option 1', 'option 2', 'option 3']<% end -%><% if field.type == 'belongs_to'%>
|
41
|
+
# Slug of the target content type (eg post if this content type is a comment)
|
42
|
+
class_name: <%= field.class_name %><% end -%><% if field.type == 'has_many' -%>
|
43
|
+
# Define the slug of the target content type (eg. comments)
|
44
|
+
class_name: <%= field.class_name %>
|
45
|
+
# Define the name of the field referring to <%= config[:name].humanize -%> in the target content type (eg. post)
|
46
|
+
inverse_of: <%= field.inverse_of %>
|
47
|
+
# If you want to manage the entries of the relationship directly from the source entry
|
48
|
+
ui_enabled: true
|
49
|
+
<% end -%><% if field.type == 'many_to_many' -%>
|
50
|
+
# Define the slug of the target content type
|
51
|
+
class_name: <%= field.class_name %>
|
52
|
+
inverse_of: <%= field.inverse_of %>
|
53
|
+
# If you want to manage the entries of the relationship directly from the source entry
|
54
|
+
ui_enabled: true
|
55
|
+
<% end -%>
|
56
|
+
|
57
|
+
<% end -%>
|
@@ -15,9 +15,9 @@
|
|
15
15
|
<% when 'file' -%>
|
16
16
|
<%= field.name -%>: null # Path to a file in the public/samples folder or to a remote and external file.
|
17
17
|
<% when 'belongs_to' -%>
|
18
|
-
<%= field.name -%>: null #
|
18
|
+
<%= field.name -%>: null # Slug of the target entry
|
19
19
|
<% when 'many_to_many' -%>
|
20
|
-
<%= field.name -%>: [] #
|
20
|
+
<%= field.name -%>: [] # Array of target entry slugs
|
21
21
|
<% end -%>
|
22
22
|
<% end -%>
|
23
23
|
|
@@ -1,7 +1,5 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# ruby '1.9.3'
|
4
|
-
|
5
3
|
gem 'locomotivecms_wagon', '<%= config[:version] -%>'
|
6
4
|
|
7
5
|
group :development do
|
@@ -9,7 +7,7 @@ group :development do
|
|
9
7
|
gem 'rb-fsevent', '~> 0.9.1', require: RUBY_PLATFORM.include?('darwin') && 'rb-fsevent'
|
10
8
|
|
11
9
|
# Unix
|
12
|
-
gem 'therubyracer', require: 'v8', platforms: :ruby
|
10
|
+
gem 'therubyracer', require: 'v8', platforms: :ruby unless RUBY_PLATFORM.include?('darwin')
|
13
11
|
gem 'rb-inotify', '~> 0.9', require: RUBY_PLATFORM.include?('linux') && 'rb-inotify'
|
14
12
|
|
15
13
|
# Windows
|
File without changes
|
@@ -0,0 +1,196 @@
|
|
1
|
+
---
|
2
|
+
title: Home page
|
3
|
+
published: true
|
4
|
+
---
|
5
|
+
<!doctype html>
|
6
|
+
<html class="no-js" lang="en">
|
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 %}
|
14
|
+
</head>
|
15
|
+
<body>
|
16
|
+
{% block 'main' %}
|
17
|
+
<div class="row">
|
18
|
+
<div class="large-12 columns">
|
19
|
+
<h1>{{ page.title }}</h1>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<div class="row">
|
23
|
+
<div class="large-12 columns">
|
24
|
+
<div class="panel">
|
25
|
+
<h3>We’re stoked you want to try Foundation! </h3>
|
26
|
+
<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
|
+
<p>Once you've exhausted the fun in this document, you should check out:</p>
|
28
|
+
<div class="row">
|
29
|
+
<div class="large-4 medium-4 columns">
|
30
|
+
<p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
|
31
|
+
</div>
|
32
|
+
<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>
|
34
|
+
</div>
|
35
|
+
<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>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
<div class="row">
|
43
|
+
<div class="large-8 medium-8 columns">
|
44
|
+
<h5>
|
45
|
+
Here’s your basic grid:
|
46
|
+
</h5>
|
47
|
+
<!-- Grid Example -->
|
48
|
+
<div class="row">
|
49
|
+
<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>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div class="row">
|
56
|
+
<div class="large-6 medium-6 columns">
|
57
|
+
<div class="callout panel">
|
58
|
+
<p>Six columns</p>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
<div class="large-6 medium-6 columns">
|
62
|
+
<div class="callout panel">
|
63
|
+
<p>Six columns</p>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
<div class="row">
|
68
|
+
<div class="large-4 medium-4 small-4 columns">
|
69
|
+
<div class="callout panel">
|
70
|
+
<p>Four columns</p>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
<div class="large-4 medium-4 small-4 columns">
|
74
|
+
<div class="callout panel">
|
75
|
+
<p>Four columns</p>
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
<div class="large-4 medium-4 small-4 columns">
|
79
|
+
<div class="callout panel">
|
80
|
+
<p>Four columns</p>
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
<hr />
|
85
|
+
<h5>
|
86
|
+
We bet you’ll need a form somewhere:
|
87
|
+
</h5>
|
88
|
+
<form>
|
89
|
+
<div class="row">
|
90
|
+
<div class="large-12 columns">
|
91
|
+
<label>Input Label</label>
|
92
|
+
<input type="text" placeholder="large-12.columns" />
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<div class="row">
|
96
|
+
<div class="large-4 medium-4 columns">
|
97
|
+
<label>Input Label</label>
|
98
|
+
<input type="text" placeholder="large-4.columns" />
|
99
|
+
</div>
|
100
|
+
<div class="large-4 medium-4 columns">
|
101
|
+
<label>Input Label</label>
|
102
|
+
<input type="text" placeholder="large-4.columns" />
|
103
|
+
</div>
|
104
|
+
<div class="large-4 medium-4 columns">
|
105
|
+
<div class="row collapse">
|
106
|
+
<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>
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
<div class="row">
|
119
|
+
<div class="large-12 columns">
|
120
|
+
<label>Select Box</label>
|
121
|
+
<select>
|
122
|
+
<option value="husker">Husker</option>
|
123
|
+
<option value="starbuck">Starbuck</option>
|
124
|
+
<option value="hotdog">Hot Dog</option>
|
125
|
+
<option value="apollo">Apollo</option>
|
126
|
+
</select>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
<div class="row">
|
130
|
+
<div class="large-6 medium-6 columns">
|
131
|
+
<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>
|
136
|
+
</div>
|
137
|
+
<div class="large-6 medium-6 columns">
|
138
|
+
<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>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
<div class="row">
|
146
|
+
<div class="large-12 columns">
|
147
|
+
<label>Textarea Label</label>
|
148
|
+
<textarea placeholder="small-12.columns"></textarea>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
</form>
|
152
|
+
</div>
|
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>
|
170
|
+
</div>
|
171
|
+
</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>
|
195
|
+
</body>
|
196
|
+
</html>
|
@@ -0,0 +1,157 @@
|
|
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: "width=device-width, initial-scale=1.0", name: "viewport"}/
|
10
|
+
%title {{ site.name }}
|
11
|
+
{{ 'application.css' | stylesheet_tag }}
|
12
|
+
{{ 'vendor/modernizr.min.js' | javascript_tag }}
|
13
|
+
{% inline_editor %}
|
14
|
+
%body
|
15
|
+
{% block 'main' %}
|
16
|
+
.row
|
17
|
+
.large-12.columns
|
18
|
+
%h1 {{ page.title }}
|
19
|
+
.row
|
20
|
+
.large-12.columns
|
21
|
+
.panel
|
22
|
+
%h3 We’re stoked you want to try Foundation!
|
23
|
+
%p To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.
|
24
|
+
%p Once you've exhausted the fun in this document, you should check out:
|
25
|
+
.row
|
26
|
+
.large-4.medium-4.columns
|
27
|
+
%p
|
28
|
+
%a{href: "http://foundation.zurb.com/docs"} Foundation Documentation
|
29
|
+
= succeed "Everything" do
|
30
|
+
%br/
|
31
|
+
.large-4.medium-4.columns
|
32
|
+
%p
|
33
|
+
%a{href: "http://github.com/zurb/foundation"} Foundation on Github
|
34
|
+
= succeed "Latest" do
|
35
|
+
%br/
|
36
|
+
.large-4.medium-4.columns
|
37
|
+
%p
|
38
|
+
%a{href: "http://twitter.com/foundationzurb"} @foundationzurb
|
39
|
+
= succeed "Ping" do
|
40
|
+
%br/
|
41
|
+
.row
|
42
|
+
.large-8.medium-8.columns
|
43
|
+
%h5
|
44
|
+
Here’s your basic grid:
|
45
|
+
/ Grid Example
|
46
|
+
.row
|
47
|
+
.large-12.columns
|
48
|
+
.callout.panel
|
49
|
+
%p
|
50
|
+
%strong This is a twelve column section in a row.
|
51
|
+
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.
|
52
|
+
.row
|
53
|
+
.large-6.medium-6.columns
|
54
|
+
.callout.panel
|
55
|
+
%p Six columns
|
56
|
+
.large-6.medium-6.columns
|
57
|
+
.callout.panel
|
58
|
+
%p Six columns
|
59
|
+
.row
|
60
|
+
.large-4.medium-4.small-4.columns
|
61
|
+
.callout.panel
|
62
|
+
%p Four columns
|
63
|
+
.large-4.medium-4.small-4.columns
|
64
|
+
.callout.panel
|
65
|
+
%p Four columns
|
66
|
+
.large-4.medium-4.small-4.columns
|
67
|
+
.callout.panel
|
68
|
+
%p Four columns
|
69
|
+
%hr/
|
70
|
+
%h5
|
71
|
+
We bet you’ll need a form somewhere:
|
72
|
+
%form
|
73
|
+
.row
|
74
|
+
.large-12.columns
|
75
|
+
%label Input Label
|
76
|
+
%input{placeholder: "large-12.columns", type: "text"}/
|
77
|
+
.row
|
78
|
+
.large-4.medium-4.columns
|
79
|
+
%label Input Label
|
80
|
+
%input{placeholder: "large-4.columns", type: "text"}/
|
81
|
+
.large-4.medium-4.columns
|
82
|
+
%label Input Label
|
83
|
+
%input{placeholder: "large-4.columns", type: "text"}/
|
84
|
+
.large-4.medium-4.columns
|
85
|
+
.row.collapse
|
86
|
+
%label Input Label
|
87
|
+
.small-9.columns
|
88
|
+
%input{placeholder: "small-9.columns", type: "text"}/
|
89
|
+
.small-3.columns
|
90
|
+
%span.postfix
|
91
|
+
\.com
|
92
|
+
.row
|
93
|
+
.large-12.columns
|
94
|
+
%label Select Box
|
95
|
+
%select
|
96
|
+
%option{value: "husker"} Husker
|
97
|
+
%option{value: "starbuck"} Starbuck
|
98
|
+
%option{value: "hotdog"} Hot Dog
|
99
|
+
%option{value: "apollo"} Apollo
|
100
|
+
.row
|
101
|
+
.large-6.medium-6.columns
|
102
|
+
%label Choose Your Favorite
|
103
|
+
%input#pokemonRed{name: "pokemon", type: "radio", value: "Red"}/
|
104
|
+
%label{for: "pokemonRed"} Radio 1
|
105
|
+
%input#pokemonBlue{name: "pokemon", type: "radio", value: "Blue"}/
|
106
|
+
%label{for: "pokemonBlue"} Radio 2
|
107
|
+
.large-6.medium-6.columns
|
108
|
+
%label Check these out
|
109
|
+
%input#checkbox1{type: "checkbox"}/
|
110
|
+
%label{for: "checkbox1"} Checkbox 1
|
111
|
+
%input#checkbox2{type: "checkbox"}/
|
112
|
+
%label{for: "checkbox2"} Checkbox 2
|
113
|
+
.row
|
114
|
+
.large-12.columns
|
115
|
+
%label Textarea Label
|
116
|
+
%textarea{placeholder: "small-12.columns"}
|
117
|
+
.large-4.medium-4.columns
|
118
|
+
%h5
|
119
|
+
Try one of these buttons:
|
120
|
+
%p
|
121
|
+
%a.small.button{href: "#"} Simple Button
|
122
|
+
%br/
|
123
|
+
%a.small.radius.button{href: "#"} Radius Button
|
124
|
+
%br/
|
125
|
+
%a.small.round.button{href: "#"} Round Button
|
126
|
+
%br/
|
127
|
+
%a.medium.success.button{href: "#"} Success Btn
|
128
|
+
%br/
|
129
|
+
%a.medium.alert.button{href: "#"} Alert Btn
|
130
|
+
%br/
|
131
|
+
%a.medium.secondary.button{href: "#"} Secondary Btn
|
132
|
+
.panel
|
133
|
+
%h5
|
134
|
+
So many components, girl!
|
135
|
+
%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.
|
136
|
+
%a.small.button{href: "http://foundation.zurb.com/docs/"} Go to Foundation Docs
|
137
|
+
{% endblock %}
|
138
|
+
{{ 'vendor/jquery.min.js' | javascript_tag }}
|
139
|
+
{{ 'foundation.min.js' | javascript_tag }}
|
140
|
+
/
|
141
|
+
{{ 'foundation.abide.js' | javascript_tag }}
|
142
|
+
{{ 'foundation.accordion.js' | javascript_tag }}
|
143
|
+
{{ 'foundation.alert.js' | javascript_tag }}
|
144
|
+
{{ 'foundation.clearing.js' | javascript_tag }}
|
145
|
+
{{ 'foundation.dropdown.js' | javascript_tag }}
|
146
|
+
{{ 'foundation.interchange.js' | javascript_tag }}
|
147
|
+
{{ 'foundation.joyride.js' | javascript_tag }}
|
148
|
+
{{ 'foundation.js' | javascript_tag }}
|
149
|
+
{{ 'foundation.magellan.js' | javascript_tag }}
|
150
|
+
{{ 'foundation.offcanvas.js' | javascript_tag }}
|
151
|
+
{{ 'foundation.orbit.js' | javascript_tag }}
|
152
|
+
{{ 'foundation.reveal.js' | javascript_tag }}
|
153
|
+
{{ 'foundation.tab.js' | javascript_tag }}
|
154
|
+
{{ 'foundation.tooltip.js' | javascript_tag }}
|
155
|
+
{{ 'foundation.topbar.js' | javascript_tag }}
|
156
|
+
:javascript
|
157
|
+
$(document).foundation();
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# development:
|
2
|
+
# host: dev.example.com
|
3
|
+
# email: john@doe.net
|
4
|
+
# password: apassword
|
5
|
+
# # api_key: <your api key here>
|
6
|
+
# staging:
|
7
|
+
# host: staging.example.com
|
8
|
+
# email: john@doe.net
|
9
|
+
# password: apassword
|
10
|
+
# # api_key: <your api key here>
|
11
|
+
# production:
|
12
|
+
# host: www.example.com
|
13
|
+
# email: john@doe.net
|
14
|
+
# password: apassword
|
15
|
+
# # api_key: <your api key here>
|
@@ -1,12 +1,12 @@
|
|
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: "<%= config[:name] %>"
|
5
5
|
|
6
6
|
# The site's subdomain
|
7
7
|
# This option is for sites on multi-site engines
|
8
8
|
# The value determines where the site can be accessed under the engine's primary domain
|
9
|
-
|
9
|
+
subdomain: <%= config[:name].parameterize %>
|
10
10
|
|
11
11
|
# An array of domain aliases for the site
|
12
12
|
# This option is for sites on multi-site engines
|
@@ -30,5 +30,4 @@ locales: [en]
|
|
30
30
|
# They can be accessed in templates through the site.seo_title, site.meta_keywords, and site.meta_description variables
|
31
31
|
seo_title: <%= @name %>
|
32
32
|
meta_keywords: "some meta keywords"
|
33
|
-
meta_description: "some meta description"
|
34
|
-
|
33
|
+
meta_description: "some meta description"
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|