diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index 65eedd1..ea3d26e 100644
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -4,6 +4,7 @@
+
diff --git a/pom.xml b/pom.xml
index 3d007bc..1c21421 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,6 +56,10 @@
+
+ com.github.gwtbootstrap
+ gwt-bootstrap
+
com.google.gwt
gwt-servlet
diff --git a/src/main/java/org/gcube/portlet/user/userstatisticsportlet/client/StatisticsPanel.java b/src/main/java/org/gcube/portlet/user/userstatisticsportlet/client/StatisticsPanel.java
index d84d496..95708db 100644
--- a/src/main/java/org/gcube/portlet/user/userstatisticsportlet/client/StatisticsPanel.java
+++ b/src/main/java/org/gcube/portlet/user/userstatisticsportlet/client/StatisticsPanel.java
@@ -11,13 +11,14 @@ import org.gcube.portlet.user.userstatisticsportlet.client.ui.StatisticWidget;
import org.gcube.portlet.user.userstatisticsportlet.shared.PostsStatsBean;
import org.gcube.portlet.user.userstatisticsportlet.shared.UserInformation;
+import com.github.gwtbootstrap.client.ui.Button;
+import com.github.gwtbootstrap.client.ui.constants.ButtonType;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.i18n.client.NumberFormat;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
-import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HTML;
@@ -311,6 +312,7 @@ public class StatisticsPanel extends Composite {
if(profileStrengthInt < profileImproveThreshold){
final Button improveProfileButton = new Button(IMPROVE_BUTTON_LABEL);
+ improveProfileButton.setType(ButtonType.WARNING);
improveProfileButton.setTitle("Improve your profile.");
improveProfileButton.addClickHandler(new ClickHandler() {
@@ -325,7 +327,7 @@ public class StatisticsPanel extends Composite {
});
profileStrengthLabel.setStyleName("statistic-value-inline");
- improveProfileButton.setStyleName("button-improve-profile");
+ improveProfileButton.addStyleName("button-improve-profile");
profileStrength.appendToPanel(improveProfileButton);
}
diff --git a/src/main/java/org/gcube/portlet/user/userstatisticsportlet/server/UserStatisticsServiceImpl.java b/src/main/java/org/gcube/portlet/user/userstatisticsportlet/server/UserStatisticsServiceImpl.java
index b942305..130b474 100644
--- a/src/main/java/org/gcube/portlet/user/userstatisticsportlet/server/UserStatisticsServiceImpl.java
+++ b/src/main/java/org/gcube/portlet/user/userstatisticsportlet/server/UserStatisticsServiceImpl.java
@@ -118,7 +118,7 @@ public class UserStatisticsServiceImpl extends RemoteServiceServlet implements U
*/
public String getDevelopmentUser() {
String user = userid;
- // user = "massimiliano.assante";
+ // user = "costantino.perciante";
return user;
}
diff --git a/src/main/resources/org/gcube/portlet/user/userstatisticsportlet/Statistics.gwt.xml b/src/main/resources/org/gcube/portlet/user/userstatisticsportlet/Statistics.gwt.xml
index 608aaf9..c6cd7a8 100644
--- a/src/main/resources/org/gcube/portlet/user/userstatisticsportlet/Statistics.gwt.xml
+++ b/src/main/resources/org/gcube/portlet/user/userstatisticsportlet/Statistics.gwt.xml
@@ -6,6 +6,9 @@
+
+
+