summaryrefslogtreecommitdiff
path: root/rel/overlay/share/www/dialog/_compact_cleanup.html
blob: 506417f4546846edd383298c10ca50424305c6cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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>