
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
jquery_mobile_fa_rails
Advanced tools
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.
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
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>
View the Original Icons | View the Font Awesome Icons
Credit due where credit is due. Thanks to Andy Matthews for converting this wonderful icon pack to be used in jQuery Mobile.
Dual license: MIT/GPL
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).
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that jquery_mobile_fa_rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.