From 0f797b1b09bca21595211ed380cd24d3a54d9c46 Mon Sep 17 00:00:00 2001 From: Christos Stathis Date: Fri, 4 Nov 2011 13:26:21 +0200 Subject: [PATCH] Fixed statistics --- src/gr/grnet/pithos/web/client/Pithos.java | 8 +------- src/gr/grnet/pithos/web/public/pithos.css | 4 ---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/gr/grnet/pithos/web/client/Pithos.java b/src/gr/grnet/pithos/web/client/Pithos.java index 771d6d9..5b81a5c 100644 --- a/src/gr/grnet/pithos/web/client/Pithos.java +++ b/src/gr/grnet/pithos/web/client/Pithos.java @@ -253,8 +253,6 @@ public class Pithos implements EntryPoint, ResizeHandler { Button upload; - private HTML totalFiles; - private HTML usedBytes; private HTML totalBytes; @@ -381,10 +379,7 @@ public class Pithos implements EntryPoint, ResizeHandler { treeHeader.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); HorizontalPanel statistics = new HorizontalPanel(); statistics.addStyleName("pithos-statistics"); - statistics.add(new HTML("Total Objects: ")); - totalFiles = new HTML(); - statistics.add(totalFiles); - statistics.add(new HTML(" | Used: ")); + statistics.add(new HTML("Used: ")); usedBytes = new HTML(); statistics.add(usedBytes); statistics.add(new HTML(" of ")); @@ -646,7 +641,6 @@ public class Pithos implements EntryPoint, ResizeHandler { } protected void showStatistics() { - totalFiles.setHTML(String.valueOf(account.getNumberOfObjects())); usedBytes.setHTML(String.valueOf(account.getFileSizeAsString())); totalBytes.setHTML(String.valueOf(account.getQuotaAsString())); NumberFormat nf = NumberFormat.getPercentFormat(); diff --git a/src/gr/grnet/pithos/web/public/pithos.css b/src/gr/grnet/pithos/web/public/pithos.css index 41df925..e4e8c3d 100644 --- a/src/gr/grnet/pithos/web/public/pithos.css +++ b/src/gr/grnet/pithos/web/public/pithos.css @@ -348,10 +348,6 @@ table.pithos-permList.props-labels { padding: 5px; } -.pithos-statistics .gwt-html { - font-size: 80%; -} - .pithos-splitPanel { background: url(images/white50.png) transparent; margin-bottom: 34px; -- 1.7.10.4