From 8ec136aee68630b6a03868e8274227c21703a129 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Mon, 28 Jul 2014 16:43:04 +0000 Subject: [PATCH] overrided breadcrumbs stylesheet git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@99046 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../resources/ExampleConfigurator.java | 26 +++++++++++++++++++ .../workspace/resources/ExampleResources.java | 18 +++++++++++++ .../workspace/resources/css/bootstrap.min.css | 5 ++++ .../user/workspace/WorkspacePortlet.gwt.xml | 15 +++++++++-- 4 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 src/main/java/org/gcube/portlets/user/workspace/resources/ExampleConfigurator.java create mode 100644 src/main/java/org/gcube/portlets/user/workspace/resources/ExampleResources.java create mode 100644 src/main/java/org/gcube/portlets/user/workspace/resources/css/bootstrap.min.css diff --git a/src/main/java/org/gcube/portlets/user/workspace/resources/ExampleConfigurator.java b/src/main/java/org/gcube/portlets/user/workspace/resources/ExampleConfigurator.java new file mode 100644 index 0000000..fabe237 --- /dev/null +++ b/src/main/java/org/gcube/portlets/user/workspace/resources/ExampleConfigurator.java @@ -0,0 +1,26 @@ +package org.gcube.portlets.user.workspace.resources; +/** + * + */ + + +/** + * @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it + * @Jul 28, 2014 + * + */ + +import com.github.gwtbootstrap.client.ui.config.Configurator; +import com.github.gwtbootstrap.client.ui.resources.Resources; +import com.google.gwt.core.client.GWT; + +public class ExampleConfigurator implements Configurator { + + public Resources getResources() { + return GWT.create(ExampleResources.class); + } + + public boolean hasResponsiveDesign() { + return false; + } +} diff --git a/src/main/java/org/gcube/portlets/user/workspace/resources/ExampleResources.java b/src/main/java/org/gcube/portlets/user/workspace/resources/ExampleResources.java new file mode 100644 index 0000000..de1811b --- /dev/null +++ b/src/main/java/org/gcube/portlets/user/workspace/resources/ExampleResources.java @@ -0,0 +1,18 @@ +package org.gcube.portlets.user.workspace.resources; +/** + * + */ + + +/** + * @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it + * @Jul 28, 2014 + * + */ +import com.github.gwtbootstrap.client.ui.resources.Resources; +import com.google.gwt.resources.client.TextResource; + +public interface ExampleResources extends Resources { + @Source("css/bootstrap.min.css") + TextResource bootstrapCss(); +} \ No newline at end of file diff --git a/src/main/java/org/gcube/portlets/user/workspace/resources/css/bootstrap.min.css b/src/main/java/org/gcube/portlets/user/workspace/resources/css/bootstrap.min.css new file mode 100644 index 0000000..9ac6b5c --- /dev/null +++ b/src/main/java/org/gcube/portlets/user/workspace/resources/css/bootstrap.min.css @@ -0,0 +1,5 @@ +@CHARSET "UTF-8"; + +.testcss{ + +} \ No newline at end of file diff --git a/src/main/resources/org/gcube/portlets/user/workspace/WorkspacePortlet.gwt.xml b/src/main/resources/org/gcube/portlets/user/workspace/WorkspacePortlet.gwt.xml index 7d8bb5b..a8fced5 100644 --- a/src/main/resources/org/gcube/portlets/user/workspace/WorkspacePortlet.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/workspace/WorkspacePortlet.gwt.xml @@ -5,9 +5,9 @@ - + - + @@ -31,4 +31,15 @@ + + + + + + + + + +