diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css index ad2a3d4..be24977 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css @@ -1,9 +1,17 @@ @CHARSET "UTF-8"; - .ribbon { line-height: 13px; - font-size: 11px; + font-size: 11px; } +.workAreaPanel { + background-color: white; +} +.logo { + margin: auto; + max-width: 600px !important; + max-height: 308px !important; + display: block; +} diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.java b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.java index a92dd42..c2757b6 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.java +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.java @@ -7,15 +7,19 @@ import com.google.gwt.resources.client.CssResource; /** * - * @author Giancarlo Panichi + * @author Giancarlo Panichi * * */ public interface SAIStyles extends CssResource { + + @ClassName("ribbon") + public String getRibbon(); + + @ClassName("workAreaPanel") + public String getWorkAreaPanel(); - @ClassName("ribbon") - public String getRibbon(); - - - + @ClassName("logo") + public String getLogo(); + } diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/StatAlgoImporterResources.java b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/StatAlgoImporterResources.java index aa97966..5c753d9 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/StatAlgoImporterResources.java +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/StatAlgoImporterResources.java @@ -25,6 +25,9 @@ public interface StatAlgoImporterResources extends ClientBundle { @Source("WikiLink.txt") ExternalTextResource wikiLink(); + @Source("sai-logo.png") + ImageResource saiLogo(); + @Source("help_32.png") ImageResource help32(); diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/sai-logo.png b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/sai-logo.png new file mode 100644 index 0000000..c4b9bf3 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/sai-logo.png differ diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/workarea/WorkAreaPanel.java b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/workarea/WorkAreaPanel.java index e04d89f..fcaf1ff 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/workarea/WorkAreaPanel.java +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/client/workarea/WorkAreaPanel.java @@ -43,7 +43,10 @@ public class WorkAreaPanel extends SimpleContainer { } private void create() { - + //addStyleName(StatAlgoImporterResources.INSTANCE.saiStyles().getWorkAreaPanel()); + //Image logo = new Image(StatAlgoImporterResources.INSTANCE.saiLogo()); + //logo.addStyleName(StatAlgoImporterResources.INSTANCE.saiStyles().getLogo()); + //add(logo); } private void bindToEvents() { diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml index 591ab9d..f84ba45 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml @@ -22,9 +22,9 @@ - + diff --git a/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css b/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css index ad2a3d4..be24977 100644 --- a/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css +++ b/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/SAIStyles.css @@ -1,9 +1,17 @@ @CHARSET "UTF-8"; - .ribbon { line-height: 13px; - font-size: 11px; + font-size: 11px; } +.workAreaPanel { + background-color: white; +} +.logo { + margin: auto; + max-width: 600px !important; + max-height: 308px !important; + display: block; +} diff --git a/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/sai-logo.png b/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/sai-logo.png new file mode 100644 index 0000000..c4b9bf3 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/client/resource/sai-logo.png differ diff --git a/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml b/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml index 59cb0ba..6946436 100644 --- a/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/statisticalalgorithmsimporter/statalgoimporter.gwt.xml @@ -23,8 +23,9 @@ +