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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.compass Document how to use compass, and make it work with the bootstrap glyp…
lib
locale-theme/en
public
sass Only show the "hide request" button when a reason has been selected
test
.gitignore Ignore .DS_Store files
MIT-LICENSE
README.md
Rakefile initial attempt to move @wombleton's admin interface work into a stan…
init.rb initial attempt to move @wombleton's admin interface work into a stan…
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.

Something went wrong with that request. Please try again.