Updated SAI interface

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@158125 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-11-02 14:38:38 +00:00
parent a05de7e000
commit d30c302836
9 changed files with 41 additions and 14 deletions

View File

@ -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;
}

View File

@ -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();
}

View File

@ -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();

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -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() {

View File

@ -22,9 +22,9 @@
<!-- <inherits name="com.google.gwt.logging.Logging" /> -->
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
<!-- Debug CSS style -->
<!-- Debug CSS style
<set-configuration-property name="CssResource.style"
value="pretty" />
value="pretty" /> -->
<inherits name='org.gcube.portal.clientcontext.GCubeClientContext' />
<inherits name='edu.ycp.cs.dh.acegwt.acegwt' />

View File

@ -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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -23,8 +23,9 @@
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
<!-- Debug CSS style -->
<!--
<set-configuration-property name="CssResource.style"
value="pretty" />
value="pretty" /> -->
<inherits name='org.gcube.portal.clientcontext.GCubeClientContext' />
<inherits name='edu.ycp.cs.dh.acegwt.acegwt' />