henare / adminbootstraptheme

A theme for the Alaveteli admin interface that uses Twitter's Bootstrap project to prettify it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adminbootstraptheme

A theme for the Alaveteli admin interface that uses Twitter's Bootstrap project to prettify it. It depends on (and is the default admin theme for) Alaveteli verion 0.6 or above.

If you want to work on the CSS, you'll want to use bootstrap-sass. Do something like:

$ gem install bootstrap-sass
$ gem install compass
$ compass compile --config .compass/config.rb

The javascript is included in a funky way for reasons explained in this commit. To change it, edit the coffeescript at lib/view/general/admin.coffee, and then do something like:

$ coffee -o /tmp/ -c lib/views/general/admin.coffee
$ mv /tmp/admin.js lib/views/general/admin_js.erb

See tags for the correct version of the code to use with your version of Alaveteli.

About

A theme for the Alaveteli admin interface that uses Twitter's Bootstrap project to prettify it

License:MIT License


Languages

Language:JavaScript 51.3%Language:Ruby 41.3%Language:CoffeeScript 7.4%