
Product
Redesigned Repositories Page: A Faster Way to Prioritize Security Risk
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
A simple Ruby On Rails gem to replace standard browser's checkboxes and radio buttons with Font Awesome icons.
This gem has a dependency to the font-awesome-rails gem and makes Font Awesome and font-awesome-rails available in your application implicitly.
Add this to your Gemfile:
gem 'fa-checkbox'
and run bundle install
.
In your application.css, include the css file:
/*
*= require fa-checkbox
*/
to make it picked up by the asset pipline. Restart your webserver if it was running.
If you support some old browsers that make trouble with custom @font-face
fonts, you can disable fa-checkbox
by conditional inclusion of fa-checkbox-revert.css
. You need to make it available to your application by pre-compiling it first. Add this line to confic/initializers/assets.rb
or another your environment initialization file:
Rails.application.config.assets.precompile += %w(fa-checkbox-revert.css)
And included it to your application layout depending on your conditions. For example, for IE8 and below:
<!--[if lt IE 9]>
<%= stylesheet_link_tag 'fa-checkbox-revert', media: :all %>
<!--<![endif]-->
Make sure that all labels in your application are linked to their checkboxes and radio buttons with <label for='...'>
attribute properly. Otherwise they will not react to you clicks.
FAQs
Unknown package
We found that fa-checkbox 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.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.
Security News
Multiple deserialization flaws in PyTorch Lightning could allow remote code execution when loading untrusted model files, affecting versions up to 2.4.0.