Skip to content

michaelnera/dauft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages