Twitter Bootstrap powered Grails scaffolding templates
Groovy Gosu
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
grails-app
src
test/unit/twitter/bootstrap/scaffolding
web-app
.gitignore
application.properties
readme.md

readme.md

Twitter Bootstrap Scaffolding

This is an experimental Grails project using Twitter Bootstrap for scaffolded views.

Demo

Check out the demo on Cloud Foundry.

Installation

You can either use this project as a template or to add to an existing Grails application:

  1. Install the Twitter Bootstrap Resources plugin, i.e. add runtime ":twitter-bootstrap:2.3.1" to BuildConfig.groovy.
  2. Install the Fields plugin, i.e. add runtime ":fields:1.3" to BuildConfig.groovy.
  3. Copy the following files into your Grails application.
    • src/templates/scaffolding/*
    • web-app/css/scaffolding.css
    • grails-app/conf/ScaffoldingResources.groovy
    • grails-app/taglib/**/*
    • grails-app/views/index.gsp
    • grails-app/views/layouts/bootstrap.gsp
    • grails-app/views/_fields/default/_field.gsp