Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

README.md

NOTE: The official repository for this theme is now at http://github.com/mysociety/adminbootstraptheme

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.

Something went wrong with that request. Please try again.