Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jquery_mobile_fa_rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery_mobile_fa_rails

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

JqueryMobileFaRails

jQuery Mobile Font Awesome Icon Pack for Ruby on Rails

Extending jQuery Mobile's default icon set.

This gem inserts the Font Awesome icon set into the Rails asset pipeline for use with jQuery Mobile.

Icon categories include currency symbols, media control, social media, common application icons, and more.

Twitter Bootstrap's Font Awesome includes 140 icons which cover just about any icon you'd need in your application. The jQuery Mobile Font Awesome Rails collection allows you to use these icons in conjunction with jQuery Mobile's default icon set.

Installation

Add this line to your application's Gemfile:

gem 'jquery_mobile_fa_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery_mobile_fa_rails

Usage

Add the following to your application.css.scss manifest

@import "jqm-font-awesome"

or add the following to the specific page you want to include Font Awesome icons on

<%= stylesheet_link_tag "jqm-font-awesome" %>

Once you have included the CSS file you can incorporate all of the Font Awesome 2.0 icons into your jQuery Mobile project by using the data-icon attribute.

<ul data-role="navbar">
	<li><a href="#" data-icon="calendar">Calendar</a></li>
	<li><a href="#" data-icon="user">Account</a></li>
</ul>

Examples

View the Original Icons | View the Font Awesome Icons

18px icons Font Awesome icons

Credit

Credit due where credit is due. Thanks to Andy Matthews for converting this wonderful icon pack to be used in jQuery Mobile.

Licenses

Dual license: MIT/GPL

Font Awesome License

Version 2.0 of the Font Awesome font, CSS, and LESS files are licensed under CC BY 3.0: http://creativecommons.org/licenses/by/3.0/ A mention of 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable source code is considered acceptable attribution (most common on the web). If human readable source code is not available to the end user, a mention in an 'About' or 'Credits' screen is considered acceptable (most common in desktop or mobile software).

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

FAQs

Package last updated on 01 Nov 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc