summaryrefslogtreecommitdiff
path: root/share/www/dialog
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-10-30 23:08:42 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-10-30 23:08:42 +0000
commit78088d9faa123bcae39ed16dd0e15f8d41b34bd3 (patch)
treec3dcbdb77dda6fbd166c602d0323ab196176f8a2 /share/www/dialog
parent97dc2ded847aec78ec2ac1f60eec583ae7111f6c (diff)
Closes COUCHDB-547 - Adding a View Compaction Button
Thanks to Joshua Bronson for the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@831485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/dialog')
-rw-r--r--share/www/dialog/_compact_database.html2
-rw-r--r--share/www/dialog/_compact_view.html28
2 files changed, 29 insertions, 1 deletions
diff --git a/share/www/dialog/_compact_database.html b/share/www/dialog/_compact_database.html
index 87ce5d6f..5c898a3c 100644
--- a/share/www/dialog/_compact_database.html
+++ b/share/www/dialog/_compact_database.html
@@ -17,7 +17,7 @@ specific language governing permissions and limitations under the License.
<fieldset>
<p class="help">
Compacting a database removes deleted documents and previous revisions.
- It is an <strong>irreversible operation</strong> and my take
+ It is an <strong>irreversible operation</strong> and may take
a while to complete for large databases.
</p>
</fieldset>
diff --git a/share/www/dialog/_compact_view.html b/share/www/dialog/_compact_view.html
new file mode 100644
index 00000000..e64d97e3
--- /dev/null
+++ b/share/www/dialog/_compact_view.html
@@ -0,0 +1,28 @@
+<!--
+
+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 View</h2>
+ <fieldset>
+ <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>
+ </fieldset>
+ <div class="buttons">
+ <button type="submit">Compact</button>
+ <button type="button" class="cancel">Cancel</button>
+ </div>
+</form>