Revision f2ae0948

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;
38 37
import com.google.gwt.i18n.client.Dictionary;
39
import com.google.gwt.user.client.ui.Anchor;
40
import com.google.gwt.user.client.ui.Composite;
41
import com.google.gwt.user.client.ui.HTML;
42
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
43
import com.google.gwt.user.client.ui.HorizontalPanel;
44
import com.google.gwt.user.client.ui.VerticalPanel;
38
import com.google.gwt.user.client.ui.*;
45 39

  
46 40
/**
47 41
 * The panel that displays a status bar with quota information.
......
53 47
	 */
54 48
	public StatusPanel() {
55 49
		Dictionary otherProperties = Dictionary.getDictionary("otherProperties");
50
        final String SERVICE_NAME = otherProperties.get("SERVICE_NAME");
51
        final String SERVICE_URL = otherProperties.get("SERVICE_URL");
52
        final String COMPANY_NAME = otherProperties.get("COMPANY_NAME");
53
        final String COMPANY_URL = otherProperties.get("COMPANY_URL");
54
        final String COPYRIGHT_MESSAGE = otherProperties.get("COPYRIGHT_MESSAGE");
55
        final String SYNNEFO_JS_LIB_VERSION = otherProperties.get("SYNNEFO_JS_LIB_VERSION");
56 56

  
57 57
		HorizontalPanel outer = new HorizontalPanel();
58 58
		outer.setWidth("100%");
......
62 62
        inner.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
63 63
		HorizontalPanel firstLine = new HorizontalPanel();
64 64
		firstLine.setSpacing(8);
65
		firstLine.add(new Anchor("About"));
66
		firstLine.add(new HTML("|"));
67
        firstLine.add(new Anchor("Help"));
68
		firstLine.add(new HTML("|"));
69
        firstLine.add(new Anchor("Contact"));
70
		firstLine.add(new HTML("|"));
71
        firstLine.add(new Anchor("Terms"));
72
		firstLine.add(new HTML("|"));
73
        firstLine.add(new Anchor("Privacy"));
65
        firstLine.add(new HTML("<a class='grnet-sign' href='" + COMPANY_URL + "'>" + COPYRIGHT_MESSAGE + "</a>"));
74 66
		inner.add(firstLine);
75 67

  
76 68
        HorizontalPanel secondLine = new HorizontalPanel();
77
        secondLine.add(new HTML("Pithos Web Client v" + otherProperties.get("version") + " <a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011-2013 Greek Research and Technology Network</a>"));
78
        secondLine.addStyleName("grnet-sign");
69
        secondLine.add(new HTML(
70
            "<div class='software'>Powered by <a href='" + SERVICE_URL +
71
            "'>Synnefo</a> <span class='version'>v " + SYNNEFO_JS_LIB_VERSION + "</span></div>"));
72
        secondLine.addStyleName("software");
79 73
        inner.add(secondLine);
80 74
        outer.add(inner);
81 75
        outer.addStyleName("pithos-statusbar");
b/src/gr/grnet/pithos/web/public/pithos.css
417 417
	color: #72ADC8;
418 418
}
419 419

  
420
.software {
421
  font-size: 0.6em;
422
  margin-top: 7px;
423
  color: #fff;
424
}
425

  
426
.version {
427
  font-weight: bold;
428
}
429

  
420 430
.pithos-logo {
421 431
	position: absolute;
422 432
	top: 65px;

Also available in: Unified diff