summaryrefslogtreecommitdiff
path: root/src/fauxton/app/templates/documents/advanced_options.html
blob: c0bf44a49d6822a1282f48bb62b2d458ddcfb3b1 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!--
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.
-->
<div class="errors-container"></div>
<form class="view-query-update custom-inputs">
  <div class="controls-group">
    <div class="row-fluid">
      <div class="controls controls-row">
        <input name="key" class="span6" type="text" placeholder="Key">
        <input name="keys" class="span6" type="text" placeholder="Keys">
      </div>
    </div>
    <div class="row-fluid">
      <div class="controls controls-row">
        <input name="startkey" class="span6" type="text" placeholder="Start Key">
        <input name="endkey" class="span6" type="text" placeholder="End Key">
      </div>
    </div>
  </div>
  <div class="controls-group">
    <div class="row-fluid">
      <div class="controls controls-row">
        <div class="checkbox inline">  
          <input id="check1" type="checkbox" name="include_docs" value="true">  
          <label name="include_docs" for="check1">Include Docs</label>  
          <% if (hasReduce) { %>
          <input id="check2" name="reduce" type="checkbox" value="true">
          <label for="check2">Reduce</label>  
        </div> 
        <label id="select1" class="drop-down inline">
          Group Level:
          <select id="select1" disabled name="group_level" class="input-small">
            <option value="0">None</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
            <option value="4">4</option>
            <option value="5">5</option>
            <option value="6">6</option>
            <option value="7">7</option>
            <option value="8">8</option>
            <option value="9">9</option>
            <option value="999" selected="selected">exact</option>
          </select>
        </label>
        <% } %>
        <div class="checkbox inline">  
          <input id="check3" name="stale" type="checkbox" value="ok">
          <label for="check3">Stale</label>
          <input id="check4" name="descending" type="checkbox" value="true">  
          <label for="check4">Descending</label>  
        </div> 
        <label class="drop-down inline">
          Limit:
          <select name="limit" class="input-small">
            <option>5</option>
            <option selected="selected">10</option>
            <option>25</option>
            <option>50</option>
            <option>100</option>
          </select>
        </label>
        <div class="checkbox inline">  
          <input id="check5" name="inclusive_end" type="checkbox" value="false">
          <label for="check5">Disable Inclusive End</label>
          <input id="check6" name="update_seq" type="checkbox" value="true">  
          <label for="check6">Descending</label>  
        </div>
      </div>
    </div>
  </div>
  <div class="controls-group">
    <div class="row-fluid">
      <div id="button-options" class="controls controls-row">
        <button type="submit" class="btn btn-primary btn-large">Query</button>
        <% if (showPreview) { %>
        <button class="btn btn-info btn-large preview">Preview</button>
        <% } %>
      </div>
    </div>
  </div>
</form>
</div>