![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This plugin is designed to quickly generate views for Rails applications in need of dashboard functionality. This includes admin panels and SaaS applications. I found that over the course of my projects, I needed Dashboard pages very often, so by creating this gem, I'm at least saving my self a bunch of time.
Easiest way is to run the install task:
$ rails g rails_modular_admin:install
Add this line to your application's Gemfile:
gem 'rails_modular_admin'
And then execute:
$ bundle
Now install through the included generator:
rails g rails_modular_admin:install
The install generator copies over the custom theme.scss file, which you can use to include your own color scheme. Now, add the following lines to your application.scss:
@import "custom-theme";
@import "rails_modular_admin";
Add bootstrap, popper, and jquery to application.js and import bootstrap Change the variables in custom-theme.scss to change the colors in your application. Finally, add this line to your application.html.erb at the bottom (after the tag and before the tag). Do not add the rails_modular_admin javascripts to your application.js, because it needs to be loaded after the rest of the page for the reference block.
<%= javascript_include_tag 'rails_modular_admin' %>
Rails Modular Admin includes a generator to install the commonly needed views for an administration application. To copy over the templates, run:
rails g rails_modular_admin:<user_model>:views
where <user_model> is the name of the model for which you want to install the authentication views, which is typicall just User.
Write a pull request and I'll get to it as soon as I can.
The gem is available as open source under the terms of the MIT License.
[*] Update install task to automatically adjust package.json and run yarn install. -> Ended up being able to do this by just bundling node_modules with the gem. [] Theme choices. [] Generators to install common views, namely the dashboard and login pages (devise). [] Helper methods for commonly used assets or features. [] Test suite because it's currently non-existent. [] Tests for each JavaScript dependency presence. [] Fix implementation when user has custom javascripts that depend on Bootstrap, thus loading it twice.
FAQs
Unknown package
We found that rails_modular_admin 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.