couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [21/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins to 8aad450
Date Mon, 09 Sep 2013 09:53:41 GMT
reordering query buttons


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0cfd582a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0cfd582a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0cfd582a

Branch: refs/heads/1867-feature-plugins
Commit: 0cfd582a87bda8c4d3420891184ed312b55ac33b
Parents: 9586002
Author: sean barclay <fudd1011@hotmail.com>
Authored: Tue Aug 20 21:29:00 2013 -0700
Committer: Jan Lehnardt <jan@apache.org>
Committed: Mon Sep 9 11:16:43 2013 +0200

----------------------------------------------------------------------
 .../app/templates/documents/view_editor.html    | 85 +++++++++++---------
 src/fauxton/assets/less/fauxton.less            |  7 +-
 2 files changed, 50 insertions(+), 42 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0cfd582a/src/fauxton/app/templates/documents/view_editor.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/view_editor.html b/src/fauxton/app/templates/documents/view_editor.html
index 9a7c8dd..3f0d959 100644
--- a/src/fauxton/app/templates/documents/view_editor.html
+++ b/src/fauxton/app/templates/documents/view_editor.html
@@ -109,42 +109,6 @@ the License.
     <div class="tab-pane" id="query">
       <div class="advanced-options well">
         <form class="view-query-update">
-          <div class="controls controls-row">
-            <label class="span3 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>
-            <label class="span3 checkbox inline">
-              <input name="include_docs" type="checkbox" value="true"> Include Docs
-            </label>
-            <% if (hasReduce) { %>
-            <label class="span2 checkbox inline">
-              <input name="reduce" type="checkbox" value="true"> Reduce
-            </label>
-            <label class="span4 inline">
-              Group Level:
-              <select 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>
           <div class="row-fluid">
             <div class="controls controls-row">
               <input name="key" class="span6" type="text" placeholder="Key">
@@ -159,16 +123,57 @@ the License.
           </div>
           <div class="row-fluid">
             <div class="controls controls-row">
-              <label class="span2 checkbox inline">
+
+              <label class="checkbox inline">
+                <input name="include_docs" type="checkbox" value="true"> Include Docs
+              </label>
+
+              <% if (hasReduce) { %>
+              <label class="checkbox inline">
+                <input name="reduce" type="checkbox" value="true"> Reduce
+              </label>
+
+              <label class="checkbox inline">
+                Group Level:
+                <select 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>
+            <div class="controls controls-row">
+              <label class="checkbox inline">
                 <input name="stale" type="checkbox" value="ok"> Stale
               </label>
-              <label class="span2 checkbox inline">
+              <label class="checkbox inline">
                 <input name="descending" type="checkbox" value="true"> Descending
               </label>
-              <label class="span4 checkbox inline">
+              <label class="checkbox 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>
+            <div class="controls controls-row">
+              <label class="checkbox inline">
                 <input name="inclusive_end" type="checkbox" value="false"> Disable
Inclusive End
               </label>
-              <label class="span4 checkbox inline">
+              <label class="checkbox inline">
                 <input name="update_seq" type="checkbox" value="true"> Include Update
Sequence
               </label>
             </div>

http://git-wip-us.apache.org/repos/asf/couchdb/blob/0cfd582a/src/fauxton/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/less/fauxton.less b/src/fauxton/assets/less/fauxton.less
index d19813f..49c973a 100644
--- a/src/fauxton/assets/less/fauxton.less
+++ b/src/fauxton/assets/less/fauxton.less
@@ -610,10 +610,11 @@ tbody {padding-top: 10px;}
 
 
 /*form elements and buttons*/
-
 .btn-group {
   > .btn + .dropdown-toggle,
-  > .btn:first-child
+  > .btn:first-child,
+  > .btn:last-child,
+  > .dropdown-toggle
   {
     .border-radius(0);
     background-image: none;
@@ -680,6 +681,7 @@ input[type=text], input[type=password],
   padding: 7px;
   margin-top: -5px;
   border: 1px solid @inputBorder;
+  .border-radius(0);
 }
 
 
@@ -743,6 +745,7 @@ tr.all-docs-item{
 /*documents and databases */
 .view.show{
   color: @fontGrey;
+  margin-top: 56px;
 }
 
 div.spinner {


Mime
View raw message