From 45019979f3a06300139aeef72e7ef6f3f4d5833f Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Fri, 6 Mar 2009 04:50:58 +0000 Subject: roll Applications tab out of Futon index page git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750769 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/index.html | 1 - share/www/script/futon.browse.js | 11 ++--------- 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. Name Size - Applications Number of Documents Update Seq 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("" + "" + dbName + "" + - "" + + "" + ""); - var db = $.couch.db(dbName); - db.allApps({ - eachApp : function(name, path) { - $("#databases tbody.content tr:eq(" + idx + ")") - .find("td.apps").append(''+name+' '); - } - }); - 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; } -- cgit v1.2.3