Commits

J. Chris Anderson  committed 52fc6a3

roll Applications tab out of Futon index page

  • Participants
  • Parent commits 8ecf01a

Comments (0)

Files changed (3)

File share/www/index.html

             <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>

File share/www/script/futon.browse.js

               $("#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()

File share/www/style/layout.css

 
 /* 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;
 }