twitter bootstrap 3 - Flat UI Pro Can not add on Rails4.2 -
i can not add flat ui pro rails4.2 usedreflection/designmodo-flatuipro-rails can not
step1
・flat-ui-html-developers-license.zip download on desktop
・changed folder name flat-ui-pro
・locate bower.json file unzipped kit, , run following same directory: bower install
- cd
- cd desktop
- cd flat-ui-pro
- cd html
- cd ui
- cd flat-ui-pro-1.3.2
- bower install
step2
gem 'less-rails' gem 'twitter-bootstrap-rails' gem 'jquery-ui-rails' gem 'designmodo-flatuipro-rails', '~> 1.3.2.0.branch' gem 'therubyracer', platforms: :ruby
bundle update , bundle install
step3
bin/rails generate flatuipro:install ~/desktop/flat-ui-pro rake assets:clean rails_env=development rake assets:precompile rails_env=development
step4
rails generate flatuipro:demo
step5 scaffolds.scss
delete
but...collapse layout
flatuipro_demo/index
correctly layout
example post scaffold
select box
collapse layout
correctly layout
why don't try this?
html
<select class="form-control select select-default"> <optgroup label="profile"> <option value="0">my profile</option> <option value="1">my friends</option> </optgroup> <optgroup label="system"> <option value="2">messages</option> <option value="3">my settings</option> <option value="4">logout</option> </optgroup> </select>
js
$(document).ready(function(){ $('.select').select2(); });
i got github issues
https://github.com/designmodo/flat-ui-pro-support/issues/450
Comments
Post a Comment