Skip to content

Pace automatic web page progress bar, integrated in Rails assets pipeline.

License

Notifications You must be signed in to change notification settings

acidtib/pace-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pace-Rails Gem Version

Automatic web page progress bar.

Rails 4+

Include pace-rails in Gemfile:

gem 'pace-rails'

or you can install from latest build:

gem 'pace-rails', git: '[email protected]:yovu/pace-rails.git'

Usage

Add the following to your app/assets/javascripts/application.js file:

//= require pace/pace

Pace supports a few themes, select one of the following and have fun and create your own.

In app/assets/stylesheets/application.css, add one of the following:

Chosse a color black | blue | green | orange | pink | purple | red | silver | white | yellow

Example *= require pace/blue/pace-theme-barber-shop

/*
*= require pace/color/pace-theme-barber-shop
*= require pace/color/pace-theme-big-counter
*= require pace/color/pace-theme-bounce
*= require pace/color/pace-theme-center-atom
*= require pace/color/pace-theme-center-circle
*= require pace/color/pace-theme-center-radar
*= require pace/color/pace-theme-center-simple
*= require pace/color/pace-theme-corner-indicator
*= require pace/color/pace-theme-fill-left
*= require pace/color/pace-theme-flash
*= require pace/color/pace-theme-flat-top
*= require pace/color/pace-theme-loading-bar
*= require pace/color/pace-theme-mac-osx
*= require pace/color/pace-theme-minimal
*/

You may need to restart your Rails server.

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

About

Pace automatic web page progress bar, integrated in Rails assets pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages