You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jc...@apache.org on 2009/03/06 05:50:59 UTC

svn commit: r750769 - in /couchdb/trunk/share/www: index.html script/futon.browse.js style/layout.css

Author: jchris
Date: Fri Mar  6 04:50:58 2009
New Revision: 750769

URL: http://svn.apache.org/viewvc?rev=750769&view=rev
Log:
roll Applications tab out of Futon index page

Modified:
    couchdb/trunk/share/www/index.html
    couchdb/trunk/share/www/script/futon.browse.js
    couchdb/trunk/share/www/style/layout.css

Modified: couchdb/trunk/share/www/index.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/index.html?rev=750769&r1=750768&r2=750769&view=diff
==============================================================================
--- couchdb/trunk/share/www/index.html [utf-8] (original)
+++ couchdb/trunk/share/www/index.html [utf-8] Fri Mar  6 04:50:58 2009
@@ -63,7 +63,6 @@
             <tr>
               <th>Name</th>
               <th class="size">Size</th>
-              <th class="apps">Applications</th>
               <th class="count">Number of Documents</th>
               <th class="seq">Update Seq</th>
             </tr>

Modified: couchdb/trunk/share/www/script/futon.browse.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=750769&r1=750768&r2=750769&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Fri Mar  6 04:50:58 2009
@@ -52,16 +52,9 @@
               $("#databases tbody.content").append("<tr>" + 
                 "<th><a href='database.html?" + encodeURIComponent(dbName) + "'>" +
                   dbName + "</a></th>" +
-                "<td class='size'></td><td class='apps'></td><td class='count'></td>" +
+                "<td class='size'></td><td class='count'></td>" +
                 "<td class='seq'></td></tr>");
-              var db = $.couch.db(dbName);
-              db.allApps({
-                eachApp : function(name, path) {
-                  $("#databases tbody.content tr:eq(" + idx + ")")
-                    .find("td.apps").append('<a href="'+path+'">'+name+'</a> ');
-                }
-              });
-              db.info({
+              $.couch.db(dbName).info({
                 success: function(info) {
                   $("#databases tbody.content tr:eq(" + idx + ")")
                     .find("td.size").text($.futon.formatSize(info.disk_size)).end()

Modified: couchdb/trunk/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=750769&r1=750768&r2=750769&view=diff
==============================================================================
--- couchdb/trunk/share/www/style/layout.css (original)
+++ couchdb/trunk/share/www/style/layout.css Fri Mar  6 04:50:58 2009
@@ -336,8 +336,8 @@
 
 /* Database table */
 
-#databases thead th.apps, #databases thead th.size, #databases thead th.count, #databases thead th.seq,
-#databases thead th.apps, #databases tbody td.size, #databases tbody td.count, #databases tbody td.seq {
+#databases thead th.size, #databases thead th.count, #databases thead th.seq,
+#databases tbody td.size, #databases tbody td.count, #databases tbody td.seq {
   text-align: right;
 }