Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

rudionrails/alertify-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alertify-rails

This gem provides alertify.js (v0.3.15) for Rails.

Installation

In your Gemfile:

gem 'alertify-rails'

or system wide:

$ gem install alertify-rails

Usage

The alertify files will be added to the asset pipeline and available for you to use. Add the following line to app/assets/javascripts/application.js

//= require alertify

In order to get the CSS, add the following line to app/assets/stylesheets/application.scss

@import 'alertify/core';
@import 'alertify/themes/default'; // Chose one theme of default, bootstrap and bootstrap3

If that doesn't work, try:

@import 'alertify.core';
@import 'alertify.default';

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

Copyright © 2012 Rudolf Schmidt, released under the MIT license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages