icons for posts, likes and comments changed (bootstrap's ones are now used)

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/user-statistics@131824 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-09-27 09:16:04 +00:00
parent 963694852d
commit 80861705d0
8 changed files with 30 additions and 66 deletions

View File

@ -61,7 +61,7 @@ public class StatisticsPanel extends Composite {
/** /**
* tooltip for the above image * tooltip for the above image
*/ */
private static final String ALERT_MESSAGE = "Information not available at the moment."; private static final String ALERT_MESSAGE = "Information not available at the moment";
/** /**
* Title of the page * Title of the page
@ -458,11 +458,8 @@ public class StatisticsPanel extends Composite {
if(!isProfilePage || getUserToShowId() == null) if(!isProfilePage || getUserToShowId() == null)
activityDone.setEventBus(eventBus); activityDone.setEventBus(eventBus);
String urlPostsIcon = GWT.getModuleBaseURL() + "../images/share-blue.png";
if(isRoot || isProfilePage) if(isRoot || isProfilePage)
activityDone.setPosts( activityDone.setPosts(
urlPostsIcon,
formattedNumbers(postsBean.getFeedsNumber()), formattedNumbers(postsBean.getFeedsNumber()),
TOOLTIP_POSTS_DONE, TOOLTIP_POSTS_DONE,
TOOLTIP_POSTS_DONE + " (" + postsBean.getFeedsNumber() + ")", TOOLTIP_POSTS_DONE + " (" + postsBean.getFeedsNumber() + ")",
@ -470,7 +467,6 @@ public class StatisticsPanel extends Composite {
information.getCurrentPageLanding()); information.getCurrentPageLanding());
else else
activityDone.setPosts( activityDone.setPosts(
urlPostsIcon,
formattedNumbers(postsBean.getFeedsNumber()), formattedNumbers(postsBean.getFeedsNumber()),
TOOLTIP_POSTS_DONE, TOOLTIP_POSTS_DONE,
TOOLTIP_POSTS_DONE_VRE + " (" + postsBean.getFeedsNumber() + ")", TOOLTIP_POSTS_DONE_VRE + " (" + postsBean.getFeedsNumber() + ")",
@ -480,10 +476,8 @@ public class StatisticsPanel extends Composite {
numberOfWrittenFeeds = postsBean.getFeedsNumber(); numberOfWrittenFeeds = postsBean.getFeedsNumber();
activityDoneWidgetContainer.appendToPanel(activityDone); activityDoneWidgetContainer.appendToPanel(activityDone);
String urlLikesIcon = GWT.getModuleBaseURL() + "../images/star_blue.png";
if(isRoot || isProfilePage) if(isRoot || isProfilePage)
activityDone.setLikes( activityDone.setLikes(
urlLikesIcon,
formattedNumbers(postsBean.getLikesMade()), formattedNumbers(postsBean.getLikesMade()),
TOOLTIP_LIKES_DONE, TOOLTIP_LIKES_DONE,
TOOLTIP_LIKES_DONE + " (" + postsBean.getLikesMade() + ")", TOOLTIP_LIKES_DONE + " (" + postsBean.getLikesMade() + ")",
@ -491,17 +485,14 @@ public class StatisticsPanel extends Composite {
information.getCurrentPageLanding()); information.getCurrentPageLanding());
else else
activityDone.setLikes( activityDone.setLikes(
urlLikesIcon,
formattedNumbers(postsBean.getLikesMade()), formattedNumbers(postsBean.getLikesMade()),
TOOLTIP_LIKES_DONE_VRE, TOOLTIP_LIKES_DONE_VRE,
TOOLTIP_LIKES_DONE_VRE + " (" + postsBean.getLikesMade() + ")", TOOLTIP_LIKES_DONE_VRE + " (" + postsBean.getLikesMade() + ")",
ShowUserStatisticAction.LIKES_MADE_BY_USER, ShowUserStatisticAction.LIKES_MADE_BY_USER,
information.getCurrentPageLanding()); information.getCurrentPageLanding());
String urlCommentsIcon = GWT.getModuleBaseURL() + "../images/comment_edit.png";
if(isRoot || isProfilePage) if(isRoot || isProfilePage)
activityDone.setComments( activityDone.setComments(
urlCommentsIcon,
formattedNumbers(postsBean.getCommentsMade()), formattedNumbers(postsBean.getCommentsMade()),
TOOLTIP_REPLIES_DONE, TOOLTIP_REPLIES_DONE,
TOOLTIP_REPLIES_DONE + " (" + postsBean.getCommentsMade() + ")", TOOLTIP_REPLIES_DONE + " (" + postsBean.getCommentsMade() + ")",
@ -509,7 +500,6 @@ public class StatisticsPanel extends Composite {
information.getCurrentPageLanding()); information.getCurrentPageLanding());
else else
activityDone.setComments( activityDone.setComments(
urlCommentsIcon,
formattedNumbers(postsBean.getCommentsMade()), formattedNumbers(postsBean.getCommentsMade()),
TOOLTIP_REPLIES_DONE_VRE, TOOLTIP_REPLIES_DONE_VRE,
TOOLTIP_REPLIES_DONE_VRE +" (" + postsBean.getCommentsMade() + ")", TOOLTIP_REPLIES_DONE_VRE +" (" + postsBean.getCommentsMade() + ")",
@ -527,7 +517,6 @@ public class StatisticsPanel extends Composite {
if(isRoot || isProfilePage) if(isRoot || isProfilePage)
activityGot.setLikes( activityGot.setLikes(
urlLikesIcon,
formattedNumbers(postsBean.getLikesReceived()), formattedNumbers(postsBean.getLikesReceived()),
TOOLTIP_LIKES_GOT, TOOLTIP_LIKES_GOT,
TOOLTIP_LIKES_GOT+ " (" + postsBean.getLikesReceived() + ")", TOOLTIP_LIKES_GOT+ " (" + postsBean.getLikesReceived() + ")",
@ -535,7 +524,6 @@ public class StatisticsPanel extends Composite {
information.getCurrentPageLanding()); information.getCurrentPageLanding());
else else
activityGot.setLikes( activityGot.setLikes(
urlLikesIcon,
formattedNumbers(postsBean.getLikesReceived()), formattedNumbers(postsBean.getLikesReceived()),
TOOLTIP_LIKES_GOT_VRE, TOOLTIP_LIKES_GOT_VRE,
TOOLTIP_LIKES_GOT_VRE + " (" + postsBean.getLikesReceived() + ")", TOOLTIP_LIKES_GOT_VRE + " (" + postsBean.getLikesReceived() + ")",
@ -546,7 +534,6 @@ public class StatisticsPanel extends Composite {
if(isRoot || isProfilePage) if(isRoot || isProfilePage)
activityGot.setComments( activityGot.setComments(
urlCommentsIcon,
formattedNumbers(postsBean.getCommentsReceived()), formattedNumbers(postsBean.getCommentsReceived()),
TOOLTIP_REPLIES_GOT, TOOLTIP_REPLIES_GOT,
TOOLTIP_REPLIES_GOT + " (" + postsBean.getCommentsReceived() + ")", TOOLTIP_REPLIES_GOT + " (" + postsBean.getCommentsReceived() + ")",
@ -554,7 +541,6 @@ public class StatisticsPanel extends Composite {
information.getCurrentPageLanding()); information.getCurrentPageLanding());
else else
activityGot.setComments( activityGot.setComments(
urlCommentsIcon,
formattedNumbers(postsBean.getCommentsReceived()), formattedNumbers(postsBean.getCommentsReceived()),
TOOLTIP_REPLIES_GOT_VRE, TOOLTIP_REPLIES_GOT_VRE,
TOOLTIP_REPLIES_GOT_VRE + " (" + postsBean.getCommentsReceived() + ")", TOOLTIP_REPLIES_GOT_VRE + " (" + postsBean.getCommentsReceived() + ")",
@ -653,11 +639,9 @@ public class StatisticsPanel extends Composite {
GWT.log("Increment number of post message received"); GWT.log("Increment number of post message received");
numberOfWrittenFeeds ++; numberOfWrittenFeeds ++;
String urlPostsIcon = GWT.getModuleBaseURL() + "../images/share-blue.png";
if(isRoot) if(isRoot)
activityDone.setPosts( activityDone.setPosts(
urlPostsIcon,
formattedNumbers(numberOfWrittenFeeds), formattedNumbers(numberOfWrittenFeeds),
TOOLTIP_POSTS_DONE, TOOLTIP_POSTS_DONE,
TOOLTIP_POSTS_DONE + " (" + numberOfWrittenFeeds + ")", TOOLTIP_POSTS_DONE + " (" + numberOfWrittenFeeds + ")",
@ -665,7 +649,6 @@ public class StatisticsPanel extends Composite {
informationBeanRetrieved.getCurrentPageLanding()); informationBeanRetrieved.getCurrentPageLanding());
else else
activityDone.setPosts( activityDone.setPosts(
urlPostsIcon,
formattedNumbers(numberOfWrittenFeeds), formattedNumbers(numberOfWrittenFeeds),
TOOLTIP_POSTS_DONE, TOOLTIP_POSTS_DONE,
TOOLTIP_POSTS_DONE_VRE + " (" + numberOfWrittenFeeds + ")", TOOLTIP_POSTS_DONE_VRE + " (" + numberOfWrittenFeeds + ")",
@ -696,11 +679,9 @@ public class StatisticsPanel extends Composite {
// they can't be less than zero... // they can't be less than zero...
numberOfWrittenFeeds --; numberOfWrittenFeeds --;
numberOfWrittenFeeds = numberOfWrittenFeeds < 0 ? 0: numberOfWrittenFeeds; numberOfWrittenFeeds = numberOfWrittenFeeds < 0 ? 0: numberOfWrittenFeeds;
String urlPostsIcon = GWT.getModuleBaseURL() + "../images/share-blue.png";
if(isRoot) if(isRoot)
activityDone.setPosts( activityDone.setPosts(
urlPostsIcon,
formattedNumbers(numberOfWrittenFeeds), formattedNumbers(numberOfWrittenFeeds),
TOOLTIP_POSTS_DONE, TOOLTIP_POSTS_DONE,
TOOLTIP_POSTS_DONE + " (" + numberOfWrittenFeeds + ")", TOOLTIP_POSTS_DONE + " (" + numberOfWrittenFeeds + ")",
@ -708,7 +689,6 @@ public class StatisticsPanel extends Composite {
informationBeanRetrieved.getCurrentPageLanding()); informationBeanRetrieved.getCurrentPageLanding());
else else
activityDone.setPosts( activityDone.setPosts(
urlPostsIcon,
formattedNumbers(numberOfWrittenFeeds), formattedNumbers(numberOfWrittenFeeds),
TOOLTIP_POSTS_DONE, TOOLTIP_POSTS_DONE,
TOOLTIP_POSTS_DONE_VRE + " (" + numberOfWrittenFeeds + ")", TOOLTIP_POSTS_DONE_VRE + " (" + numberOfWrittenFeeds + ")",
@ -737,11 +717,9 @@ public class StatisticsPanel extends Composite {
GWT.log("Increment number of likes received"); GWT.log("Increment number of likes received");
numberOfLikesGot ++; numberOfLikesGot ++;
String urlLikesIcon = GWT.getModuleBaseURL() + "../images/star_blue.png";
if(isRoot) if(isRoot)
activityGot.setLikes( activityGot.setLikes(
urlLikesIcon,
formattedNumbers(numberOfLikesGot), formattedNumbers(numberOfLikesGot),
TOOLTIP_LIKES_GOT, TOOLTIP_LIKES_GOT,
TOOLTIP_LIKES_GOT + " (" + numberOfLikesGot + ")", TOOLTIP_LIKES_GOT + " (" + numberOfLikesGot + ")",
@ -749,7 +727,6 @@ public class StatisticsPanel extends Composite {
informationBeanRetrieved.getCurrentPageLanding()); informationBeanRetrieved.getCurrentPageLanding());
else else
activityGot.setLikes( activityGot.setLikes(
urlLikesIcon,
formattedNumbers(numberOfLikesGot), formattedNumbers(numberOfLikesGot),
TOOLTIP_LIKES_GOT_VRE, TOOLTIP_LIKES_GOT_VRE,
TOOLTIP_LIKES_GOT_VRE + " (" + numberOfLikesGot + ")", TOOLTIP_LIKES_GOT_VRE + " (" + numberOfLikesGot + ")",
@ -781,11 +758,9 @@ public class StatisticsPanel extends Composite {
// they can't be less than zero... // they can't be less than zero...
numberOfLikesGot --; numberOfLikesGot --;
numberOfLikesGot = numberOfLikesGot < 0 ? 0: numberOfLikesGot; numberOfLikesGot = numberOfLikesGot < 0 ? 0: numberOfLikesGot;
String urlLikesIcon = GWT.getModuleBaseURL() + "../images/star_blue.png";
if(isRoot) if(isRoot)
activityGot.setLikes( activityGot.setLikes(
urlLikesIcon,
formattedNumbers(numberOfLikesGot), formattedNumbers(numberOfLikesGot),
TOOLTIP_LIKES_GOT, TOOLTIP_LIKES_GOT,
TOOLTIP_LIKES_GOT + " (" + numberOfLikesGot + ")", TOOLTIP_LIKES_GOT + " (" + numberOfLikesGot + ")",
@ -793,7 +768,6 @@ public class StatisticsPanel extends Composite {
informationBeanRetrieved.getCurrentPageLanding()); informationBeanRetrieved.getCurrentPageLanding());
else else
activityGot.setLikes( activityGot.setLikes(
urlLikesIcon,
formattedNumbers(numberOfLikesGot), formattedNumbers(numberOfLikesGot),
TOOLTIP_LIKES_GOT_VRE, TOOLTIP_LIKES_GOT_VRE,
TOOLTIP_LIKES_GOT_VRE + " (" + numberOfLikesGot + ")", TOOLTIP_LIKES_GOT_VRE + " (" + numberOfLikesGot + ")",
@ -824,19 +798,16 @@ public class StatisticsPanel extends Composite {
numberOfCommentsGot ++; numberOfCommentsGot ++;
String urlCommentsIcon = GWT.getModuleBaseURL() + "../images/comment_edit.png";
if(isRoot) if(isRoot)
activityGot.setComments( activityGot.setComments(
urlCommentsIcon,
formattedNumbers(numberOfCommentsGot), formattedNumbers(numberOfCommentsGot),
TOOLTIP_REPLIES_GOT, TOOLTIP_REPLIES_GOT,
TOOLTIP_REPLIES_GOT + " (" + numberOfCommentsGot + ")", TOOLTIP_REPLIES_GOT + " (" + numberOfCommentsGot + ")",
ShowUserStatisticAction.COMMENTS_GOT_BY_USER, ShowUserStatisticAction.COMMENTS_GOT_BY_USER,
informationBeanRetrieved.getCurrentPageLanding()); informationBeanRetrieved.getCurrentPageLanding());
else else
activityGot.setComments( activityGot.setComments(
urlCommentsIcon,
formattedNumbers(numberOfCommentsGot), formattedNumbers(numberOfCommentsGot),
TOOLTIP_REPLIES_GOT_VRE, TOOLTIP_REPLIES_GOT_VRE,
TOOLTIP_REPLIES_GOT_VRE + " (" + numberOfCommentsGot + ")", TOOLTIP_REPLIES_GOT_VRE + " (" + numberOfCommentsGot + ")",
@ -868,10 +839,8 @@ public class StatisticsPanel extends Composite {
// they can't be less than zero... // they can't be less than zero...
numberOfCommentsGot --; numberOfCommentsGot --;
numberOfCommentsGot = numberOfCommentsGot < 0 ? 0: numberOfCommentsGot; numberOfCommentsGot = numberOfCommentsGot < 0 ? 0: numberOfCommentsGot;
String urlCommentsIcon = GWT.getModuleBaseURL() + "../images/comment_edit.png";
if(isRoot) if(isRoot)
activityGot.setComments( activityGot.setComments(
urlCommentsIcon,
formattedNumbers(numberOfCommentsGot), formattedNumbers(numberOfCommentsGot),
TOOLTIP_REPLIES_GOT, TOOLTIP_REPLIES_GOT,
TOOLTIP_REPLIES_GOT + " (" + numberOfCommentsGot + ")", TOOLTIP_REPLIES_GOT + " (" + numberOfCommentsGot + ")",
@ -879,7 +848,6 @@ public class StatisticsPanel extends Composite {
informationBeanRetrieved.getCurrentPageLanding()); informationBeanRetrieved.getCurrentPageLanding());
else else
activityGot.setComments( activityGot.setComments(
urlCommentsIcon,
formattedNumbers(numberOfCommentsGot), formattedNumbers(numberOfCommentsGot),
TOOLTIP_REPLIES_GOT_VRE, TOOLTIP_REPLIES_GOT_VRE,
TOOLTIP_REPLIES_GOT_VRE + " (" + numberOfCommentsGot + ")", TOOLTIP_REPLIES_GOT_VRE + " (" + numberOfCommentsGot + ")",

View File

@ -3,6 +3,7 @@ package org.gcube.portlet.user.userstatisticsportlet.client.ui;
import org.gcube.portal.databook.shared.ShowUserStatisticAction; import org.gcube.portal.databook.shared.ShowUserStatisticAction;
import org.gcube.portlet.user.userstatisticsportlet.client.events.ShowFeedsRelatedToUserStatisticsEvent; import org.gcube.portlet.user.userstatisticsportlet.client.events.ShowFeedsRelatedToUserStatisticsEvent;
import com.github.gwtbootstrap.client.ui.Button;
import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style.Cursor; import com.google.gwt.dom.client.Style.Cursor;
import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickEvent;
@ -11,7 +12,6 @@ import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget; import com.google.gwt.user.client.ui.Widget;
@ -25,13 +25,13 @@ public class ActivityWidget extends Composite {
} }
@UiField @UiField
Image likesImage; Button likesButton;
@UiField @UiField
Image commentsImage; Button commentsButton;
@UiField @UiField
Image postsImage; Button postsButton;
@UiField @UiField
Label likesValue; Label likesValue;
@ -46,21 +46,24 @@ public class ActivityWidget extends Composite {
public ActivityWidget() { public ActivityWidget() {
initWidget(uiBinder.createAndBindUi(this)); initWidget(uiBinder.createAndBindUi(this));
// set styles
commentsButton.addStyleName("buttons-statistics-style");
likesButton.addStyleName("buttons-statistics-style");
postsButton.addStyleName("buttons-statistics-style");
} }
/** /**
* Set comments information * Set comments information
* @param url
* @param value * @param value
* @param tipIcon * @param tipIcon
* @param tipValue * @param tipValue
* @param actionToTakeOnClick * @param actionToTakeOnClick
* @param landingPage * @param landingPage
*/ */
public void setComments(String url, String value, String tipIcon, String tipValue, final ShowUserStatisticAction actionToTakeOnClick, final String landingPage){ public void setComments(String value, String tipIcon, String tipValue, final ShowUserStatisticAction actionToTakeOnClick, final String landingPage){
commentsImage.setUrl(url); commentsButton.setTitle(tipIcon);
commentsImage.setTitle(tipIcon);
commentsValue.setText(value); commentsValue.setText(value);
commentsValue.setTitle(tipValue); commentsValue.setTitle(tipValue);
@ -82,22 +85,20 @@ public class ActivityWidget extends Composite {
// set to visible // set to visible
commentsValue.setVisible(true); commentsValue.setVisible(true);
commentsImage.setVisible(true); commentsButton.setVisible(true);
} }
/** /**
* Set likes information * Set likes information
* @param url
* @param value * @param value
* @param tipIcon * @param tipIcon
* @param tipValue * @param tipValue
* @param actionToTakeOnClick * @param actionToTakeOnClick
* @param landingPage * @param landingPage
*/ */
public void setLikes(String url, String value, String tipIcon, String tipValue, final ShowUserStatisticAction actionToTakeOnClick, final String landingPage){ public void setLikes(String value, String tipIcon, String tipValue, final ShowUserStatisticAction actionToTakeOnClick, final String landingPage){
likesImage.setUrl(url); likesButton.setTitle(tipIcon);
likesImage.setTitle(tipIcon);
likesValue.setText(value); likesValue.setText(value);
likesValue.setTitle(tipValue); likesValue.setTitle(tipValue);
@ -119,22 +120,20 @@ public class ActivityWidget extends Composite {
// set to visible // set to visible
likesValue.setVisible(true); likesValue.setVisible(true);
likesImage.setVisible(true); likesButton.setVisible(true);
} }
/** /**
* Set posts information * Set posts information
* @param url
* @param value * @param value
* @param tipIcon * @param tipIcon
* @param tipValue * @param tipValue
* @param actionToTakeOnClick * @param actionToTakeOnClick
* @param landingPage * @param landingPage
*/ */
public void setPosts(String url, String value, String tipIcon, String tipValue, final ShowUserStatisticAction actionToTakeOnClick, final String landingPage){ public void setPosts(String value, String tipIcon, String tipValue, final ShowUserStatisticAction actionToTakeOnClick, final String landingPage){
postsImage.setUrl(url); postsButton.setTitle(tipIcon);
postsImage.setTitle(tipIcon);
postsValue.setText(value); postsValue.setText(value);
postsValue.setTitle(tipValue); postsValue.setTitle(tipValue);
@ -156,7 +155,7 @@ public class ActivityWidget extends Composite {
// set to visible // set to visible
postsValue.setVisible(true); postsValue.setVisible(true);
postsImage.setVisible(true); postsButton.setVisible(true);
} }
/** /**

View File

@ -1,12 +1,7 @@
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"> xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:b="urn:import:com.github.gwtbootstrap.client.ui">
<ui:style> <ui:style>
.statistic-icon {
display: inline-block;
vertical-align: text-bottom;
}
.statistic-value { .statistic-value {
color: #0084B4 !important; color: #0084B4 !important;
font-size: 14px; font-size: 14px;
@ -15,16 +10,13 @@
} }
</ui:style> </ui:style>
<g:HTMLPanel> <g:HTMLPanel>
<g:Image styleName="{style.statistic-icon}" ui:field="postsImage" <b:Button ui:field="postsButton" icon="SHARE_ALT" type="LINK" visible="false"></b:Button>
visible="false"></g:Image>
<g:Label styleName="{style.statistic-value}" ui:field="postsValue" <g:Label styleName="{style.statistic-value}" ui:field="postsValue"
visible="false"></g:Label> visible="false"></g:Label>
<g:Image styleName="{style.statistic-icon}" ui:field="likesImage" <b:Button ui:field="likesButton" icon="THUMBS_UP_ALT" type="LINK" visible="false"></b:Button>
visible="false"></g:Image>
<g:Label styleName="{style.statistic-value}" ui:field="likesValue" <g:Label styleName="{style.statistic-value}" ui:field="likesValue"
visible="false"></g:Label> visible="false"></g:Label>
<g:Image styleName="{style.statistic-icon}" ui:field="commentsImage" <b:Button ui:field="commentsButton" icon="COMMENTS" type="LINK" visible="false"></b:Button>
visible="false"></g:Image>
<g:Label styleName="{style.statistic-value}" ui:field="commentsValue" <g:Label styleName="{style.statistic-value}" ui:field="commentsValue"
visible="false"></g:Label> visible="false"></g:Label>
</g:HTMLPanel> </g:HTMLPanel>

View File

@ -61,7 +61,7 @@ public class ServerUtils {
*/ */
public static String getDevelopmentUser() { public static String getDevelopmentUser() {
String user = UserStatisticsServiceImpl.defaultUserId; String user = UserStatisticsServiceImpl.defaultUserId;
// user = "costantino.perciante"; // user = "costantino.perciante";
return user; return user;
} }

View File

@ -75,4 +75,9 @@
.improve-profile-hint-message { .improve-profile-hint-message {
margin-top: 15px !important; margin-top: 15px !important;
padding: 25px !important; padding: 25px !important;
}
.buttons-statistics-style {
pointer-events: none;
padding: 2px 3px !important;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB