diff options
author | Christopher Lenz <cmlenz@apache.org> | 2010-01-19 23:23:43 +0000 |
---|---|---|
committer | Christopher Lenz <cmlenz@apache.org> | 2010-01-19 23:23:43 +0000 |
commit | 08bac9b0be9b90b0b93593be87a8ca82736aa17a (patch) | |
tree | c4b4931c419cbd742fedc9c33ce83223a5d45ddc /share/www/database.html | |
parent | f5c66809addd233b1ba579a76fc30ab0e6fa4e08 (diff) |
Futon: Merge the different compaction/cleanup buttons into a single button on the database page, which will bring up a dialog allowing you to choose which type of compaction/cleanup to perform.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900999 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/database.html')
-rw-r--r-- | share/www/database.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/share/www/database.html b/share/www/database.html index a3a02a52..ea15a66f 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -115,10 +115,8 @@ specific language governing permissions and limitations under the License. $.futon.storage.set("per_page", this.value); }); $("#toolbar button.add").click(page.newDocument); - $("#toolbar button.compact").click(page.compactDatabase); - $("#toolbar button.viewcleanup").click(page.viewCleanup); + $("#toolbar button.compact").click(page.compactAndCleanup); $("#toolbar button.delete").click(page.deleteDatabase); - $("#toolbar button.compactview").click(page.compactView); $('#jumpto input').suggest(function(text, callback) { page.db.allDocs({ @@ -163,10 +161,8 @@ specific language governing permissions and limitations under the License. </div> <ul id="toolbar"> <li><button class="add">New Document</button></li> - <li><button class="compact">Compact Database…</button></li> - <li><button class="viewcleanup">View Cleanup…</button></li> + <li><button class="compact">Compact & Cleanup…</button></li> <li><button class="delete">Delete Database…</button></li> - <li><button class="compactview" style="display: none">Compact View…</button></li> </ul> <div id="viewcode" class="collapsed" style="display: none"> |