outer.setWidth("100%");
topPanel = new TopPanel(this, Pithos.images);
- topPanel.setWidth("75%");
+ topPanel.setWidth("100%");
outer.add(topPanel);
outer.setCellHorizontalAlignment(topPanel, HasHorizontalAlignment.ALIGN_CENTER);
outer.setCellHorizontalAlignment(splitPanel, HasHorizontalAlignment.ALIGN_CENTER);
statusPanel = new StatusPanel();
- statusPanel.setWidth("75%");
+ statusPanel.setWidth("100%");
outer.add(statusPanel);
outer.setCellHorizontalAlignment(statusPanel, HasHorizontalAlignment.ALIGN_CENTER);
*/
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;
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");
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");
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);
}
}
}
a {
- color: darkblue;
+ color: white;
+ text-decoration: none;
+}
+
+a:hover {
+ color: white;
}
a:visited {
- color: darkblue;
+ color: white;
}
a.info {
background-color: #4085a5;
font-size: 80%;
height: 60px;
+ border-bottom: 1px solid white;
}
.pithos-usernameMenu {
vertical-align: middle;
font-weight: normal;
height:145px;
+ color: white;
}
.pithos-List {
.pithos-credentialsText {
padding: 10px;
}
+
+.grnet-sign {
+ color: #72ADC8;
+}
\ No newline at end of file