Skip to content

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
JavaScript Ruby CoffeeScript

This branch is 3 commits behind sebbacon:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.compass
lib
locale-theme/en
public
sass
test
.gitignore
MIT-LICENSE
README.md
Rakefile
init.rb
install.rb
uninstall.rb

README.md

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.