From 4708e70c612a797b5d15774149ed589996d0c2e3 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Sat, 5 Apr 2008 20:17:27 +0000 Subject: Improve database listing page. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@645171 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/browse.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'share/www/script/browse.js') diff --git a/share/www/script/browse.js b/share/www/script/browse.js index c1127608..927f110d 100644 --- a/share/www/script/browse.js +++ b/share/www/script/browse.js @@ -41,8 +41,9 @@ function CouchIndexPage() { var info = new CouchDB(dbName).info(); $("#databases tbody.content").append( "" + - dbName + "" + info.doc_count +"" + - info.update_seq + ""); + dbName + "" + prettyPrintSize(info.size) + + "" + info.doc_count + + "" + info.update_seq + ""); $("#databases tbody tr:odd").addClass("odd"); $("#databases tbody.footer tr td").text(allDbs.length + " database(s)"); } -- cgit v1.2.3