Project

cis_pace

0.0
No commit activity in last 3 years
No release in over 3 years
Automatic page load progress bar
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

pace-cis

Automatic page load progress bar.

Include pace.js and a CSS theme of your choice, and you get a beautiful progress indicator for your page load and ajax navigation.

No need to hook into any of your code, progress is detected automatically.

INSTALLTION

First thing you need to do is the installation , you can follow the below mentioned steps to install the gem inside your rails application. You need to add sudo if you are not using rvm(ruby version manager)

Add this following line in your Gemfile.

gem 'pace-cis'

Then run,

bundle install

Configuration:

If your working in Rails version >= 3 then just run the below command

  rails g pace_cis:install

Running the above command will insert the required things into your js and css files the default css it include is the "pace-theme-corner-indicator" if you want to change it as per your projects requirement then other options are shown below.

The other css options available to add in your application.css are as follows

  *= require pace-theme-big-counter

Or

  *= require pace-theme-barber-shop

Or

  *= require pace-theme-bounce

Or

  *= require pace-theme-center-circle

Or

  *= require pace-theme-corner-indicator

Or

  *= require pace-theme-fill-left

Or

  *= require pace-theme-flash

Or

  *= require pace-theme-flat-top

Or

  *= require pace-theme-mac-osx

Or

  *= require pace-theme-minimal

If you want to change the color of the progress bar according to your project requirement:

  .pace .pace-progress:after {
    color :green !important;
  }

Reference Site:

For more information you can refer to following site:

pace.js