Revision b850b91d src/gr/grnet/pithos/web/client/StatusPanel.java
b/src/gr/grnet/pithos/web/client/StatusPanel.java | ||
---|---|---|
34 | 34 |
*/ |
35 | 35 |
package gr.grnet.pithos.web.client; |
36 | 36 |
|
37 |
import com.google.gwt.core.client.GWT; |
|
37 | 38 |
import com.google.gwt.user.client.ui.Anchor; |
38 | 39 |
import com.google.gwt.user.client.ui.Composite; |
39 | 40 |
import com.google.gwt.user.client.ui.HTML; |
... | ... | |
50 | 51 |
* The constructor of the status panel. |
51 | 52 |
*/ |
52 | 53 |
public StatusPanel() { |
54 |
Configuration conf = GWT.create(Configuration.class); |
|
53 | 55 |
HorizontalPanel outer = new HorizontalPanel(); |
54 | 56 |
outer.setWidth("100%"); |
55 | 57 |
outer.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); |
... | ... | |
70 | 72 |
inner.add(firstLine); |
71 | 73 |
|
72 | 74 |
HorizontalPanel secondLine = new HorizontalPanel(); |
73 |
secondLine.add(new HTML("Pithos Web Client v0.1 <a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011-2012 Greek Research and Technology Network</a>"));
|
|
75 |
secondLine.add(new HTML("Pithos Web Client v" + conf.version() + " <a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011-2012 Greek Research and Technology Network</a>"));
|
|
74 | 76 |
secondLine.addStyleName("grnet-sign"); |
75 | 77 |
inner.add(secondLine); |
76 | 78 |
outer.add(inner); |
Also available in: Unified diff