aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ADMIN.md
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-03-06 15:14:08 -0800
committerLouise Crow <louise.crow@gmail.com>2013-03-06 15:14:08 -0800
commit455a1f07f3099d1d94fff2a7efcf99fb8fd6841d (patch)
treed2b6603b99104a99443d230f01115b0626050c91 /doc/ADMIN.md
parentbda2645de69bfee361280c4bfe3dc1bef8aa330d (diff)
parentb8388eeb637476cfc2e9ec9ee791cab341e76f95 (diff)
Merge remote-tracking branch 'openaustralia_github/merge_adminbootstrap_theme' into develop
Diffstat (limited to 'doc/ADMIN.md')
-rw-r--r--doc/ADMIN.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/ADMIN.md b/doc/ADMIN.md
new file mode 100644
index 000000000..059010e68
--- /dev/null
+++ b/doc/ADMIN.md
@@ -0,0 +1,21 @@
+Doing development work on the administration interface
+======================================================
+
+The Alaveteli admin interface uses Twitter's Bootstrap project to prettify it.
+
+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
+