From 6fe0dfb0dc47cf5eb567e088aad37df66432968a Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Fri, 6 Sep 2019 09:16:28 +0000 Subject: [PATCH] Updating on Task #17248 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@181510 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../controllers/PerformFishAnalyticsController.java | 3 --- .../client/viewbinder/TabPanelView.java | 5 +++++ src/main/webapp/PerformFishAnalytics.css | 9 +++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/performfishanalytics/client/controllers/PerformFishAnalyticsController.java b/src/main/java/org/gcube/portlets/user/performfishanalytics/client/controllers/PerformFishAnalyticsController.java index 9ade250..3d09591 100644 --- a/src/main/java/org/gcube/portlets/user/performfishanalytics/client/controllers/PerformFishAnalyticsController.java +++ b/src/main/java/org/gcube/portlets/user/performfishanalytics/client/controllers/PerformFishAnalyticsController.java @@ -50,13 +50,10 @@ import com.github.gwtbootstrap.client.ui.Tab; import com.github.gwtbootstrap.client.ui.constants.AlertType; import com.github.gwtbootstrap.client.ui.constants.ControlGroupType; import com.google.gwt.core.client.Scheduler; -import com.google.gwt.core.client.Scheduler.ScheduledCommand; import com.google.gwt.core.shared.GWT; -import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.shared.HandlerManager; import com.google.gwt.resources.client.TextResource; -import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.ComplexPanel; diff --git a/src/main/java/org/gcube/portlets/user/performfishanalytics/client/viewbinder/TabPanelView.java b/src/main/java/org/gcube/portlets/user/performfishanalytics/client/viewbinder/TabPanelView.java index ff8ccac..bb337a7 100644 --- a/src/main/java/org/gcube/portlets/user/performfishanalytics/client/viewbinder/TabPanelView.java +++ b/src/main/java/org/gcube/portlets/user/performfishanalytics/client/viewbinder/TabPanelView.java @@ -12,6 +12,9 @@ import com.github.gwtbootstrap.client.ui.TabPanel.ShowEvent; import com.github.gwtbootstrap.client.ui.TabPanel.ShowEvent.Handler; import com.github.gwtbootstrap.client.ui.constants.IconType; import com.google.gwt.core.client.GWT; +import com.google.gwt.dom.client.Style; +import com.google.gwt.dom.client.Style.TextAlign; +import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.logical.shared.AttachEvent; @@ -138,7 +141,9 @@ public class TabPanelView extends Composite { tab.setHeading(tabTitle); results.add(tab); if(tabDescr!=null) { + //tabDescr = "
"+tabDescr+"
"; HTML html = new HTML(tabDescr); + html.addStyleName("to-algorithms-descr"); tab.add(html); } tab.add(w); diff --git a/src/main/webapp/PerformFishAnalytics.css b/src/main/webapp/PerformFishAnalytics.css index a4026db..a6e7436 100644 --- a/src/main/webapp/PerformFishAnalytics.css +++ b/src/main/webapp/PerformFishAnalytics.css @@ -323,3 +323,12 @@ table.simpletable-synoptic td:first-child{ font-size: 16px; font-weight: bold; } + +.to-algorithms-descr { + margin: 20px; + font-size: 16px; + color: #888; + text-align: justify; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: bold; +}