https://github.com/tackeyy/rails_mdl_admin
Admin page based on Google's Material Design Lite.
https://github.com/tackeyy/rails_mdl_admin
google-material-design-lite mdl rails
Last synced: about 2 months ago
JSON representation
Admin page based on Google's Material Design Lite.
- Host: GitHub
- URL: https://github.com/tackeyy/rails_mdl_admin
- Owner: tackeyy
- License: mit
- Created: 2017-05-14T07:16:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-14T08:29:09.000Z (about 9 years ago)
- Last Synced: 2026-03-03T21:07:01.154Z (4 months ago)
- Topics: google-material-design-lite, mdl, rails
- Language: Ruby
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# RailsMdlAdmin
A gemified version of [Google's Material Design Lite](http://www.getmdl.io/) library.
[](https://gyazo.com/744ab31cd69dcd6df101c42a328ce653)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'rails_mdl_admin'
```
And then execute:
```bash
$ bundle
```
Or install it yourself as:
```bash
$ gem install rails_mdl_admin
```
## Usage
### Install rails_mdl_admin
```bash
$ rails generate rails_mdl_admin:install
```
### Require or impote rails_mdl_admin style
```css
*= require rails_mdl_admin/styles
```
```scss
@import "rails_mdl_admin/styles";
```
## Example
1. AdminUser CRUD
```bash
$ rails g scaffold AdminUser name:string
$ rake db:migrate
```
2. Install rails_mdl_admin and style sheet
```bash
$ rails generate rails_mdl_admin:install
```
```css
*= require rails_mdl_admin/styles
```
```bash
$ 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](http://opensource.org/licenses/MIT).