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/dialog/_compact_cleanup.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/dialog/_compact_cleanup.html')
-rw-r--r-- | share/www/dialog/_compact_cleanup.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/share/www/dialog/_compact_cleanup.html b/share/www/dialog/_compact_cleanup.html new file mode 100644 index 00000000..506417f4 --- /dev/null +++ b/share/www/dialog/_compact_cleanup.html @@ -0,0 +1,51 @@ +<!-- + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +--> +<form action="" method="post"> + <h2>Compact & Cleanup</h2> + <fieldset class="radiogroup"> + <label> + <input type="radio" name="action" value="compact_database" checked> + Compact Database + </label> + <p class="help"> + Compacting a database removes deleted documents and previous revisions. + It is an <strong>irreversible operation</strong> and may take + a while to complete for large databases. + </p> + <hr> + <label> + <input type="radio" name="action" value="compact_views"> + Compact Views + </label> + <p class="help"> + View compaction will affect all views in this design document. This + operation may take some time to complete. Your views will still operate + normally during compaction. + </p> + <hr> + <label> + <input type="radio" name="action" value="view_cleanup"> + Cleanup Views + </label> + <p class="help"> + Cleaning up views in a database removes old view files still stored + on the filesystem. It is an <strong>irreversible operation</strong>. + </p> + </fieldset> + <div class="buttons"> + <button type="submit">Run</button> + <button type="button" class="cancel">Cancel</button> + </div> +</form> |