Footer added to My Organizations Page

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130815 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-07-26 10:39:41 +00:00
parent 69c832d8ef
commit 6418d1a510
2 changed files with 19 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import java.util.Map.Entry;
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanConnectorAccessPoint;
import com.github.gwtbootstrap.client.ui.Button;
import com.github.gwtbootstrap.client.ui.Footer;
import com.github.gwtbootstrap.client.ui.Paragraph;
import com.github.gwtbootstrap.client.ui.base.ListItem;
import com.github.gwtbootstrap.client.ui.base.UnorderedList;
@ -83,6 +84,11 @@ public class CkanOrganizationsPanel extends VerticalPanel{
list.addStyleName("list-panel-organizations-style");
vPanel.add(list);
}
String html = "Powered by <a href=\"http://www.gcube-system.org\" target=\"_blank\">gCube</a> | <a href=\"http://ckan.org\" target=\"_blank\">CKAN</a>";
Footer footer = new Footer(html);
footer.setStyleName("footer-organizations");
add(footer);
setWidth("100%");
setStyleName("my-organizations-container-style");
}

View File

@ -61,8 +61,7 @@ h1 {
background-size: auto auto !important;
width: 100% !important;
height: 100% !important;
background: #eeeeee
url("images/bg.png") !important;
background: #eeeeee url("images/bg.png") !important;
}
.horizontal-panel-organizations {
@ -94,4 +93,16 @@ h1 {
padding: 30px !important;
color: #aaaaaa !important;
font-style: italic !important;
}
.footer-organizations {
color: rgba(255, 255, 255, 0.6);
min-height: 10px;
padding: 2px 0 0 2px;
font-size: 12px;
background-color: #005d7a;
}
.footer-organizations>a {
color: rgba(255, 255, 255, 0.6) !important;
}