twadzins / twitter-bootstrap-scaffolding

Twitter Bootstrap powered Grails scaffolding templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.0.2.25" to BuildConfig.groovy.
  2. Install the Fields plugin, i.e. add runtime ":fields:1.1" 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

About

Twitter Bootstrap powered Grails scaffolding templates