summaryrefslogtreecommitdiff
path: root/share/www/browse/database.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-04-10 10:27:56 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-04-10 10:27:56 +0000
commitd7e0687f4ecd82af8f2cf25d6a0ba676ee051e23 (patch)
treee3fbbb221d880468b2de1acab30183409b9e57e9 /share/www/browse/database.html
parenta95cb866043f25f09b40ec95140f16eb69d0adb1 (diff)
Add DB compaction button to Futon. Closes COUCHDB-38. Thanks to Jim Lindley for the patch!
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@646734 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/browse/database.html')
-rw-r--r--share/www/browse/database.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/www/browse/database.html b/share/www/browse/database.html
index 33041bd7..e52c3b8a 100644
--- a/share/www/browse/database.html
+++ b/share/www/browse/database.html
@@ -78,6 +78,7 @@ specific language governing permissions and limitations under the License.
$.cookies.set(page.dbName + ".perpage", this.value);
});
$("#toolbar button.add").click(page.addDocument);
+ $("#toolbar button.compact").click(page.compactDatabase);
$("#toolbar button.delete").click(page.deleteDatabase);
});
</script>
@@ -98,6 +99,7 @@ specific language governing permissions and limitations under the License.
</div>
<ul id="toolbar">
<li><button class="add">Create Document …</button></li>
+ <li><button class="compact">Compact Database</button></li>
<li><button class="delete">Delete Database</button></li>
</ul>