improved the Modal GUI
This commit is contained in:
parent
1bcd52cc94
commit
234fd875cf
|
@ -43,6 +43,7 @@ import org.gcube.portlets.widgets.mpformbuilder.client.form.generic.CreateMetada
|
|||
import org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean;
|
||||
|
||||
import com.github.gwtbootstrap.client.ui.Alert;
|
||||
import com.github.gwtbootstrap.client.ui.Heading;
|
||||
import com.github.gwtbootstrap.client.ui.Modal;
|
||||
import com.github.gwtbootstrap.client.ui.constants.AlertType;
|
||||
import com.google.gwt.core.client.EntryPoint;
|
||||
|
@ -505,7 +506,7 @@ public class GeoPortalDataEntryApp implements EntryPoint {
|
|||
|
||||
case SHOW_REPORT:
|
||||
final Modal modal2 = new Modal(true, true);
|
||||
modal2.setTitle(concessione.getNome());
|
||||
modal2.setTitle("Report <div style='color:#555; font-size:22px;'>"+concessione.getNome()+"</div>");
|
||||
modal2.setWidth(800);
|
||||
modal2.setCloseVisible(true);
|
||||
if (concessione.getValidationReport() == null) {
|
||||
|
@ -517,6 +518,16 @@ public class GeoPortalDataEntryApp implements EntryPoint {
|
|||
}
|
||||
modal2.show();
|
||||
|
||||
break;
|
||||
|
||||
case EDIT_RECORD:
|
||||
final Modal modal3 = new Modal(true, true);
|
||||
modal3.setTitle("Edit <div style='color:#555; font-size:22px;'>"+concessione.getNome()+"</div>");
|
||||
modal3.setWidth(800);
|
||||
modal3.setCloseVisible(true);
|
||||
modal3.add(new Heading(1, "Under construction..."));
|
||||
modal3.show();
|
||||
|
||||
break;
|
||||
case DELETE_RECORD:
|
||||
|
||||
|
|
Loading…
Reference in New Issue