<img src=“https://codeclimate.com/github/mattways/panel.png” /> <img src=“https://travis-ci.org/mattways/panel.png?branch=master” alt=“Build Status” /> <img src=“https://gemnasium.com/mattways/panel.png” alt=“Dependency Status” />

Panel

Minimalistic and easy to customize panel.

Install

Put this line in your Gemfile:

gem 'panel'

Then bundle:

$ bundle

Usage

To install the panel do:

rails g panel:install

To generate a resource do:

rails g panel:resource model

Customize

To protect the panel directory edit authorize filter in:

app/controllers/panel/base_controller.rb

To change the behavior of a resource:

app/controllers/panel/models_controller.rb

To change the layout edit:

app/views/layouts/panel.html.erb

To change the resource form edit:

app/views/panel/models/_form.html.erb

To change the resource grid edit:

app/views/panel/models/index.html.erb

To change the search scope edit:

app/models/model.rb