Description
Implement a "Compact" button for each bucket. Similarly to "Documents" "Views" or "Edit". Not sure if it should be inside details (as edit) or outside (as views and docs).
Clicking button should find controllers.compactAll property of bucket info and send empty POST to URL listed there. It will be something that looks like /pools/default/buckets/default/controllers/compactBucket.
E.g.: http://i.imgur.com/wykQp.png
And:
wget --user=Administrator --password=asdasd http://lh:9000/pools/default/buckets/default/controller/compactBucket --post-data=""