Fixed statistics
authorChristos Stathis <chstath@ebs.gr>
Fri, 4 Nov 2011 11:26:21 +0000 (13:26 +0200)
committerChristos Stathis <chstath@ebs.gr>
Fri, 4 Nov 2011 11:26:21 +0000 (13:26 +0200)
src/gr/grnet/pithos/web/client/Pithos.java
src/gr/grnet/pithos/web/public/pithos.css

index 771d6d9..5b81a5c 100644 (file)
@@ -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:&nbsp;"));
-        totalFiles = new HTML();
-        statistics.add(totalFiles);
-        statistics.add(new HTML("&nbsp;|&nbsp;Used:&nbsp;"));
+        statistics.add(new HTML("Used:&nbsp;"));
         usedBytes = new HTML();
         statistics.add(usedBytes);
         statistics.add(new HTML("&nbsp;of&nbsp;"));
@@ -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();
index 41df925..e4e8c3d 100644 (file)
@@ -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;