couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject git commit: updated refs/heads/api-options to 8f7c3f8
Date Tue, 17 Dec 2013 17:34:22 GMT
Updated Branches:
  refs/heads/api-options 1a7672c63 -> 8f7c3f83c


Updated the CSS


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

Branch: refs/heads/api-options
Commit: 8f7c3f83c4b53d366ae611c22ac45fa8ea294d67
Parents: 1a7672c
Author: suelockwood <deathbear@apache.org>
Authored: Tue Dec 17 12:34:18 2013 -0500
Committer: suelockwood <deathbear@apache.org>
Committed: Tue Dec 17 12:34:18 2013 -0500

----------------------------------------------------------------------
 src/fauxton/app/modules/documents/views.js                  | 2 ++
 .../app/templates/documents/advanced_options_menu.html      | 9 ++++-----
 src/fauxton/assets/less/database.less                       | 7 +++++++
 3 files changed, 13 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/8f7c3f83/src/fauxton/app/modules/documents/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js
index c803c81..596e0da 100644
--- a/src/fauxton/app/modules/documents/views.js
+++ b/src/fauxton/app/modules/documents/views.js
@@ -971,6 +971,8 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum
 
   Views.AdvancedOptionsMenu = FauxtonAPI.View.extend({
     template: 'templates/documents/advanced_options_menu',
+    tagName: "div",
+    className: "controls-group advanced-options-menu",
     events: {
       "click input": "updateRows",
       'change #group-level': 'updateRows',

http://git-wip-us.apache.org/repos/asf/couchdb/blob/8f7c3f83/src/fauxton/app/templates/documents/advanced_options_menu.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/advanced_options_menu.html b/src/fauxton/app/templates/documents/advanced_options_menu.html
index 0bb501d..9763e4b 100644
--- a/src/fauxton/app/templates/documents/advanced_options_menu.html
+++ b/src/fauxton/app/templates/documents/advanced_options_menu.html
@@ -1,14 +1,13 @@
-<div class="controls-group">
-  <div class="row-fluid">
+  <div class="row-fluid custom-inputs">
     <div class="controls controls-row">
       <div class="checkbox inline">  
         <input id="include-docs" type="checkbox" name="include_docs" value="true">
 
-        <label name="include_docs" for="check1">Include Docs</label>  
+        <label for="include_docs">Include Docs</label>  
       </div> 
       <% if (hasReduce) { %>
       <div class="checkbox inline">  
         <input id="reduce" name="reduce" type="checkbox" value="true">
-        <label for="check2">Reduce</label>  
+        <label for="reduce">Reduce</label>  
         <label id="group-level-label" style="display:none" class="drop-down inline">
           Group Level:
           <select id="group-level"  name="group_level" class="input-small">
@@ -30,5 +29,5 @@
       <a data-bypass="true" id="query-nav" class="" href="#query" data-toggle="tab">More
query options</a></li>
     </div> 
   </div> 
-</div> 
+ 
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/8f7c3f83/src/fauxton/assets/less/database.less
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/less/database.less b/src/fauxton/assets/less/database.less
index 6f2ae92..6dc3158 100644
--- a/src/fauxton/assets/less/database.less
+++ b/src/fauxton/assets/less/database.less
@@ -236,3 +236,10 @@ table#changes-table {
 
 }
 
+.advanced-options-menu {
+    a {
+        padding-left: 20px;
+        text-decoration: underline;
+    }
+}
+


Mime
View raw message