updating icon - bar

updating messages

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@178528 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-03-11 11:20:10 +00:00
parent ca1db1bdeb
commit 35302f698b
3 changed files with 6 additions and 4 deletions

View File

@ -245,7 +245,7 @@ public class PerformFishAnalyticsController {
//viewController.resetBatchIdStatus();
viewController.setBatchIdStatus(ControlGroupType.INFO);
viewController.enableLoadBatches(true);
viewController.showAlertForLoadBatches("Please, load the batch(es) by clicking on 'Load Batches' button", AlertType.INFO, false);
viewController.showAlertForLoadBatches("Please load the batch(es) by clicking on 'Load Batches' button", AlertType.INFO, false);
viewController.enableAllAlgorithmsForSubmit(false);
}else {

View File

@ -412,17 +412,17 @@ public class PerformFishAnalitycsFormView extends Composite {
// cg_remote_path.setType(ControlGroupType.NONE);
if (field_select_quarter.getItemCount()>0 && field_select_quarter.getSelectedIndex() == -1) {
cg_select_quarter.setType(ControlGroupType.INFO);
showAlert("Please, select a Quarter", AlertType.INFO);
showAlert("Please select a Quarter", AlertType.INFO);
return false;
}
if (field_select_area.getItemCount()>0 && field_select_area.getSelectedIndex() == -1) {
cg_select_area.setType(ControlGroupType.INFO);
showAlert("Please, select an Area", AlertType.INFO);
showAlert("Please select an Area", AlertType.INFO);
return false;
}
if (field_select_period.getItemCount()>0 && field_select_period.getSelectedIndex() == -1) {
cg_select_period.setType(ControlGroupType.INFO);
showAlert("Please, select a Period", AlertType.INFO);
showAlert("Please select a Period", AlertType.INFO);
return false;
}
return true;

View File

@ -173,8 +173,10 @@ public class TabPanelView extends Composite {
public void setNoSpinner(Tab tab) {
try{
tab.asTabLink().getAnchor().removeStyleName("icon-spin");
tab.asTabLink().getAnchor().removeStyleName("icon-rotate-right");
Element anchorElem = tab.asTabLink().getAnchor().asWidget().getElement();
anchorElem.getFirstChildElement().removeClassName("icon-spin");
anchorElem.getFirstChildElement().removeClassName("icon-rotate-right");
}catch(Exception e){
//silent
}