Cosmetic changes
authorChristos Stathis <chstath@ebs.gr>
Thu, 13 Oct 2011 14:10:05 +0000 (17:10 +0300)
committerChristos Stathis <chstath@ebs.gr>
Thu, 13 Oct 2011 14:10:05 +0000 (17:10 +0300)
src/gr/grnet/pithos/web/client/Pithos.java
src/gr/grnet/pithos/web/client/StatusPanel.java
src/gr/grnet/pithos/web/client/TopPanel.java
src/gr/grnet/pithos/web/public/gss.css

index 050a297..6cc6592 100644 (file)
@@ -271,7 +271,7 @@ public class Pithos implements EntryPoint, ResizeHandler {
         outer.setWidth("100%");
 
         topPanel = new TopPanel(this, Pithos.images);
-        topPanel.setWidth("75%");
+        topPanel.setWidth("100%");
         outer.add(topPanel);
         outer.setCellHorizontalAlignment(topPanel, HasHorizontalAlignment.ALIGN_CENTER);
         
@@ -392,7 +392,7 @@ public class Pithos implements EntryPoint, ResizeHandler {
         outer.setCellHorizontalAlignment(splitPanel, HasHorizontalAlignment.ALIGN_CENTER);
 
         statusPanel = new StatusPanel();
-        statusPanel.setWidth("75%");
+        statusPanel.setWidth("100%");
         outer.add(statusPanel);
         outer.setCellHorizontalAlignment(statusPanel, HasHorizontalAlignment.ALIGN_CENTER);
 
index 34296d6..baf7204 100644 (file)
@@ -34,6 +34,7 @@
  */
 package gr.grnet.pithos.web.client;
 
+import com.google.gwt.user.client.ui.Anchor;
 import com.google.gwt.user.client.ui.Composite;
 import com.google.gwt.user.client.ui.HTML;
 import com.google.gwt.user.client.ui.HasHorizontalAlignment;
@@ -57,15 +58,20 @@ public class StatusPanel extends Composite {
         inner.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
                HorizontalPanel firstLine = new HorizontalPanel();
                firstLine.setSpacing(8);
-        firstLine.add(new HTML("<a href='javascript:void(0)'>About</a> |"));
-        firstLine.add(new HTML("<a href='javascript:void(0)'>Help</a> |"));
-        firstLine.add(new HTML("<a href='javascript:void(0)'>Contact</a> |"));
-        firstLine.add(new HTML("<a href='javascript:void(0)'>Terms</a> |"));
-        firstLine.add(new HTML("<a href='javascript:void(0)'>Privacy</a>"));
+               firstLine.addStyleName("pithos-statusbar");
+               firstLine.add(new Anchor("About"));
+               firstLine.add(new HTML("|"));
+        firstLine.add(new Anchor("Help"));
+               firstLine.add(new HTML("|"));
+        firstLine.add(new Anchor("Contact"));
+               firstLine.add(new HTML("|"));
+        firstLine.add(new Anchor("Terms"));
+               firstLine.add(new HTML("|"));
+        firstLine.add(new Anchor("Privacy"));
                inner.add(firstLine);
 
         HorizontalPanel secondLine = new HorizontalPanel();
-        secondLine.add(new HTML("Copyright (C) 2011 Greek Research and Technology Network"));
+        secondLine.add(new HTML("<a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011 Greek Research and Technology Network</a>"));
         inner.add(secondLine);
         outer.add(inner);
         outer.addStyleName("pithos-statusbar");
index da692db..7f664b7 100644 (file)
@@ -87,8 +87,12 @@ public class TopPanel extends Composite {
                outer.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
                outer.setStyleName("pithos-topPanel");
 
+               HorizontalPanel inner = new HorizontalPanel();
+               inner.setWidth("75%");
+               inner.setVerticalAlignment(HasVerticalAlignment.ALIGN_BOTTOM);
+               
                HTML logos = new HTML("<table><tr><td>" + AbstractImagePrototype.create(images.pithosLogo()).getHTML() + "</td></tr></table>");
-               outer.add(logos);
+               inner.add(logos);
 
         MenuBar username = new MenuBar();
         username.setStyleName("pithos-usernameMenu");
@@ -129,8 +133,12 @@ public class TopPanel extends Composite {
         username.addItem(userItem);
         username.addSeparator();
         username.addItem(new MenuItem("en", (Command) null));
-        outer.add(username);
-               outer.setCellHorizontalAlignment(username, HasHorizontalAlignment.ALIGN_RIGHT);
+        inner.add(username);
+        inner.setCellHorizontalAlignment(username, HasHorizontalAlignment.ALIGN_RIGHT);
+        
+        outer.add(inner);
+        outer.setCellHorizontalAlignment(inner, HasHorizontalAlignment.ALIGN_CENTER);
+        outer.setCellVerticalAlignment(inner, HasVerticalAlignment.ALIGN_BOTTOM);
                initWidget(outer);
        }
 }
index 56bde74..147fa68 100644 (file)
@@ -7,11 +7,16 @@ body {
 }
 
 a {
-       color: darkblue;
+       color: white;
+       text-decoration: none;
+}
+
+a:hover {
+       color: white;
 }
 
 a:visited {
-       color: darkblue;
+       color: white;
 }
 
 a.info {
@@ -149,6 +154,7 @@ table.pithos-permList.props-labels {
        background-color: #4085a5;
        font-size: 80%;
        height: 60px;
+       border-bottom: 1px solid white;
 }
 
 .pithos-usernameMenu {
@@ -180,6 +186,7 @@ table.pithos-permList.props-labels {
        vertical-align: middle;
        font-weight: normal;
        height:145px;
+       color: white;
 }
 
 .pithos-List {
@@ -275,3 +282,7 @@ table.pithos-permList.props-labels {
 .pithos-credentialsText {
        padding: 10px;
 }
+
+.grnet-sign {
+       color: #72ADC8;
+}
\ No newline at end of file