You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2013/08/08 15:26:18 UTC

[10/13] git commit: updated refs/heads/master to a9c390e

Design Doc MetaData look/feel update


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

Branch: refs/heads/master
Commit: cd88c3118c3d17a2cd30380227ec4ffccb7f16b2
Parents: f77b117
Author: sean barclay <fu...@hotmail.com>
Authored: Wed Aug 7 11:08:31 2013 -0700
Committer: Garren Smith <ga...@gmail.com>
Committed: Thu Aug 8 15:21:27 2013 +0200

----------------------------------------------------------------------
 .../app/templates/documents/ddoc_info.html       | 17 ++++++++++++-----
 src/fauxton/assets/less/database.less            | 19 +++++++++++++++++++
 2 files changed, 31 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/cd88c311/src/fauxton/app/templates/documents/ddoc_info.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/ddoc_info.html b/src/fauxton/app/templates/documents/ddoc_info.html
index 15dfe48..508cba3 100644
--- a/src/fauxton/app/templates/documents/ddoc_info.html
+++ b/src/fauxton/app/templates/documents/ddoc_info.html
@@ -13,9 +13,16 @@ the License.
 -->
 <div class="well" >
   <h2> Design Doc MetaData </h2>
-  <ul style="list-style-type: none;">
-  <% _.each(view_index, function (val, key) { %>
-    <li><strong> <%= key %></strong> : <%= val %>  </li>
-  <% }); %>
-  </ul>
+  <div class="row-fluid">
+	<% i=0; _.map(view_index, function (val, key) { %>
+		<% if(i%2==0){%>
+			<div class="row-fluid">
+		<% }; %>
+	    <div class="span6 well-item"><strong> <%= key %></strong> : <%= val %>  </div>
+	    <% if(i%2==1){%>
+			</div>
+		<% }; %>
+	  	<% ++i;
+	}); %>
+  </div>
 </div>

http://git-wip-us.apache.org/repos/asf/couchdb/blob/cd88c311/src/fauxton/assets/less/database.less
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/less/database.less b/src/fauxton/assets/less/database.less
index b96e730..3854bcd 100644
--- a/src/fauxton/assets/less/database.less
+++ b/src/fauxton/assets/less/database.less
@@ -172,3 +172,22 @@ table.active-tasks{
         cursor: pointer;
     }
 }
+
+.well{
+    .row-fluid{
+        margin: 0;
+    }
+    .row-fluid .row-fluid:last-child .well-item {
+        border: none;
+    }
+    .well-item{
+        color: #666;
+        font-size: 12px;
+        border-bottom: 1px solid #e5e5e5;
+        padding: 8px 4px;
+        strong {
+            font-size: 16px;
+        }  
+    } 
+}
+