diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-19 13:02:48 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-25 16:26:52 +1100 |
commit | e31d002858e9dd6b790285ce21f35ca1ae8fa72c (patch) | |
tree | 7fa6ea917c7e4c1c24e1c9488d954f9b7d4a461d /doc/ADMIN.md | |
parent | 2a193d3bc74b812bd9ddee9d7520ca1e98007511 (diff) |
Merge in adminbootstraptheme 323d704ab4f1ffe31f20fcabeaf030c462dfbadf into main project
Diffstat (limited to 'doc/ADMIN.md')
-rw-r--r-- | doc/ADMIN.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/ADMIN.md b/doc/ADMIN.md new file mode 100644 index 000000000..8c1f79e9c --- /dev/null +++ b/doc/ADMIN.md @@ -0,0 +1,26 @@ +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](https://github.com/thomas-mcdonald/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](https://github.com/sebbacon/adminbootstraptheme/commit/45a73d53fc9e8f0b728933ff58764bd8d0612dab). +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](https://github.com/mysociety/adminbootstraptheme/tags) for the correct version of the code to use with your version of Alaveteli. + |