diff options
-rw-r--r-- | share/www/index.html | 1 | ||||
-rw-r--r-- | share/www/script/futon.browse.js | 11 | ||||
-rw-r--r-- | share/www/style/layout.css | 4 |
3 files changed, 4 insertions, 12 deletions
diff --git a/share/www/index.html b/share/www/index.html index e1de6a2c..ae10dac6 100644 --- a/share/www/index.html +++ b/share/www/index.html @@ -63,7 +63,6 @@ specific language governing permissions and limitations under the License. <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> diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js index 6a282da6..30cff66e 100644 --- a/share/www/script/futon.browse.js +++ b/share/www/script/futon.browse.js @@ -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() diff --git a/share/www/style/layout.css b/share/www/style/layout.css index c17c1942..0971c2ee 100644 --- a/share/www/style/layout.css +++ b/share/www/style/layout.css @@ -336,8 +336,8 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; /* 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; } |