A theme for the Alaveteli admin interface that uses Twitter's Bootstrap project to prettify it
JavaScript Ruby CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.compass
lib
locale-theme/en
public
sass Only show the "hide request" button when a reason has been selected Jun 15, 2012
test
.gitignore
MIT-LICENSE
README.md
Rakefile
init.rb
install.rb
uninstall.rb

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.