This gem integrates Designmodo's Flat UI Pro Design for Twitter Bootstrap 2 into the Rails 3 and 4 Asset Pipeline.
For Twitter Bootstrap 3, see flatuipro-1.3 branch.
You must purchase and download a licensed copy to use this gem (none of the assets are packaged per Flat UI Pro license). You may do so by clicking the above image (full disclosure: affiliate link).
The version major and minors should match the Flat UI Pro version. Anything after these are gem versions.
First install and configure dependencies: twitter-bootstrap-rails and jquery-ui-rails .
Add this line to your application's Gemfile:
gem 'designmodo-flatuipro-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install designmodo-flatuipro-rails
One must run this after install and after update of designmodo-flatuipro-rails gem:
$ rails generate flatuipro:install <Flat UI Pro Directory>
If you want to integrate the demo page:
$ rails generate flatuipro:demo
The demo generator creates a 'flatuipro_demo' controller with a default 'flatuipro_demo/index' route.
IMPORTANT: After deciding which components to use from the demo page, make sure to only include the corresponding less/css and js that you need from the flatuipro-demo.* files
After running the install generator, all assets should be setup.
This gem will detect whether you chose less/static for the twitter-bootstrap-rails install and generate either less/css flatuipro files accordingly.
If you haven't bought it already, please use my Designmodo Affiliate Link (image above)
Thanks @jehughes for the blog post that inspired me to stop being lazy and write the demo page generator =)
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)