summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-03-06 04:50:58 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-03-06 04:50:58 +0000
commit45019979f3a06300139aeef72e7ef6f3f4d5833f (patch)
tree7eda6be66b3b649192672fcc6e95de9f78976172 /share/www
parentb64710f6e894fc70c962c2ea2493accfb3738652 (diff)
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
Diffstat (limited to 'share/www')
-rw-r--r--share/www/index.html1
-rw-r--r--share/www/script/futon.browse.js11
-rw-r--r--share/www/style/layout.css4
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;
}