summaryrefslogtreecommitdiff
path: root/rel/overlay/share/www/dialog/_compact_cleanup.html
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-26 12:21:37 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-26 12:21:37 -0400
commit949f9da6a6548704786d809be76a3a2d47d6fabe (patch)
tree8791c528310a88f4c01bd0d1da0872fb5bdfc3e6 /rel/overlay/share/www/dialog/_compact_cleanup.html
parentea7721877368bf0e356fe5601ce5c99a5460d12f (diff)
move futon to share/www
Diffstat (limited to 'rel/overlay/share/www/dialog/_compact_cleanup.html')
-rw-r--r--rel/overlay/share/www/dialog/_compact_cleanup.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/rel/overlay/share/www/dialog/_compact_cleanup.html b/rel/overlay/share/www/dialog/_compact_cleanup.html
new file mode 100644
index 00000000..506417f4
--- /dev/null
+++ b/rel/overlay/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 &amp; 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>