Project

dauft

0.0
No commit activity in last 3 years
No release in over 3 years
Design Applications Using Foundation Templates
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

DAUFT

Design Applications Using Foundation Templates

This gem uses Zurb Foundation HTML templates.

This gem requires you to install zurb-foundation gem.

For the current version, these are the available templates: Banded, Blog, Feed, Grid, and Store

Installation

First, add this to your Gemfile:

gem 'zurb-foundation'

Then, add this again to your Gemfile under development group:

gem 'dauft'

And then execute:

$ bundle

Usage

First, setup zurb-foundation:

$ rails g foundation:install

Templates:

Banded, Blog, Feed, Grid, and Store

To create a layout:

$ rails g dauft:layout template_name

$ rails g dauft:layout store

To use this template for a controller, add this line to your controller:

layout 'template_name'

layout 'store'

To create views that uses a template:

$ rails g dauft:view template_name controller_name action_1 action_2

$ rails g dauft:view store products index

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Links/References

  1. Zurb Foundation home page: http://foundation.zurb.com/
  2. Zurb Foundation github: https://github.com/zurb/foundation
  3. Zurb Foundation templates: http://foundation.zurb.com/templates.php