Skip to content

tackeyy/rails_mdl_admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RailsMdlAdmin

A gemified version of Google's Material Design Lite library.

https://gyazo.com/744ab31cd69dcd6df101c42a328ce653

Installation

Add this line to your application's Gemfile:

gem 'rails_mdl_admin'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails_mdl_admin

Usage

Install rails_mdl_admin

$ rails generate rails_mdl_admin:install

Require or impote rails_mdl_admin style

 *= require rails_mdl_admin/styles
  @import "rails_mdl_admin/styles";

Example

  1. AdminUser CRUD
$ rails g scaffold AdminUser name:string
$ rake db:migrate
  1. Install rails_mdl_admin and style sheet
$ rails generate rails_mdl_admin:install
 *= require rails_mdl_admin/styles
$ rails s
# then, access localhost:3000/admin_users

TODO

  • Add test.
  • Add sigin in/up form.
  • Add generator which provide user with admin CRUD.
  • Support haml and slim.
  • Support devise and sorcery.

Contributing

  • TODO

License

The gem is available as open source under the terms of the MIT License.

About

Admin page based on Google's Material Design Lite.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published