Completed updated on css and job save errors
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/speciesdiscovery@79440 82a268e6-3cf1-43bd-a215-b396298e98cf
|
@ -1014,7 +1014,7 @@ public class SearchController {
|
|||
|
||||
Info.display("Saving in progress", "...");
|
||||
|
||||
SpeciesDiscovery.taxonomySearchService.saveTaxonomyJob(jobTaxonomyModel.getIdentifier(), destinationFolder.getId(), name, scientificName, dataSourceName, new AsyncCallback<Boolean>() {
|
||||
SpeciesDiscovery.taxonomySearchService.saveTaxonomyJobError(jobTaxonomyModel.getIdentifier(), destinationFolder.getId(), name, scientificName, dataSourceName, new AsyncCallback<Boolean>() {
|
||||
|
||||
@Override
|
||||
public void onSuccess(Boolean result) {
|
||||
|
@ -1144,13 +1144,11 @@ public class SearchController {
|
|||
|
||||
private void saveOccurrenceJobError() {
|
||||
|
||||
WorkspaceLightTreeSavePopup popup = new WorkspaceLightTreeSavePopup("Select where to save the Occurrence points", true, fileName);
|
||||
WorkspaceLightTreeSavePopup popup = new WorkspaceLightTreeSavePopup("Select where to save the error file", true, fileName);
|
||||
popup.setModal(false);
|
||||
popup.setSelectableTypes(ItemType.FOLDER, ItemType.ROOT);
|
||||
popup.center();
|
||||
|
||||
|
||||
|
||||
popup.addPopupHandler(new PopupHandler() {
|
||||
|
||||
public void onPopup(PopupEvent event) {
|
||||
|
@ -1160,7 +1158,7 @@ public class SearchController {
|
|||
|
||||
Info.display("Saving in progress", "...");
|
||||
|
||||
SpeciesDiscovery.taxonomySearchService.saveOccurrenceJob(jobOccurrencesModel, destinationFolder.getId(), name, scientificName, dataSources, new AsyncCallback<Boolean>() {
|
||||
SpeciesDiscovery.taxonomySearchService.saveOccurrenceJobError(jobOccurrencesModel, destinationFolder.getId(), name, scientificName, dataSources, new AsyncCallback<Boolean>() {
|
||||
|
||||
@Override
|
||||
public void onSuccess(Boolean result) {
|
||||
|
|
|
@ -57,7 +57,7 @@ public class SpeciesJobPanel extends ContentPanel{
|
|||
lastQuery = new TextField<String>();
|
||||
|
||||
lastQuery.setReadOnly(true);
|
||||
lastQuery.setWidth(350);
|
||||
lastQuery.setWidth(400);
|
||||
lastQuery.setValue(EMPTY);
|
||||
toolbar.add(new FillToolItem());
|
||||
toolbar.add(txtLastQuery);
|
||||
|
|
|
@ -401,7 +401,7 @@ public class OccurrenceGridJob extends ContentPanel{
|
|||
|
||||
String load = baseModelData.get(JobOccurrencesModel.STATUS).toString();
|
||||
|
||||
if(load.compareTo(DownloadState.COMPLETED.toString())==0 || load.compareTo(DownloadState.SAVED.toString())==0 ){
|
||||
if(load.compareTo(DownloadState.COMPLETED.toString())==0 || load.compareTo(DownloadState.SAVED.toString())==0 || load.compareTo(DownloadState.FAILED.toString())==0){
|
||||
|
||||
String jobIdentifier = baseModelData.get(JobOccurrencesModel.JOBINDENTIFIER);
|
||||
String scientificName = baseModelData.get(JobOccurrencesModel.SCIENTIFICNAME);
|
||||
|
|
|
@ -415,7 +415,7 @@ public class TaxonomyGridJob extends ContentPanel{
|
|||
|
||||
String load = baseModelData.get(JobTaxonomyModel.STATUS).toString();
|
||||
|
||||
if(load.compareTo(DownloadState.COMPLETED.toString())==0 || load.compareTo(DownloadState.SAVED.toString())==0 ){
|
||||
if(load.compareTo(DownloadState.COMPLETED.toString())==0 || load.compareTo(DownloadState.SAVED.toString())==0 || load.compareTo(DownloadState.FAILED.toString())==0){
|
||||
|
||||
String jobIdentifier = baseModelData.get(JobTaxonomyModel.JOBINDENTIFIER);
|
||||
String scientificName = baseModelData.get(JobTaxonomyModel.SCIENTIFICNAME);
|
||||
|
|
|
@ -52,12 +52,19 @@ public interface Resources extends ClientBundle {
|
|||
@Source("gis_products.png")
|
||||
ImageResource getGisProducts();
|
||||
|
||||
@Source("arrow-down.png")
|
||||
// @Source("arrow-down.png")
|
||||
// ImageResource getArrowDown();
|
||||
//
|
||||
// @Source("arrow-right.png")
|
||||
// ImageResource getArrowRight();
|
||||
|
||||
@Source("arrow-down.gif")
|
||||
ImageResource getArrowDown();
|
||||
|
||||
@Source("arrow-right.png")
|
||||
@Source("arrow-right.gif")
|
||||
ImageResource getArrowRight();
|
||||
|
||||
|
||||
@Source("arrow-turn.png")
|
||||
ImageResource getArrowTurn();
|
||||
|
||||
|
|
After Width: | Height: | Size: 77 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
After Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 395 B |
|
@ -102,9 +102,9 @@ public class SessionUtil {
|
|||
|
||||
//for test only
|
||||
// user = "test.user";
|
||||
user = "lucio.lelii";
|
||||
// user = "pasquale.pagano";
|
||||
// user = "lucio.lelii";
|
||||
// user = "pasquale.pagano";
|
||||
user = "francesco.mangiacrapa";
|
||||
|
||||
String scope = "/gcube/devsec"; //Development
|
||||
// String scope = "/d4science.research-infrastructures.eu/gCubeApps/BiodiversityResearchEnvironment"; //Production
|
||||
|
|
|
@ -74,15 +74,22 @@ table {
|
|||
background-color: transparent !important;
|
||||
background: none !important;
|
||||
background-image: none !important;
|
||||
padding: 0px !important;
|
||||
/* padding: 0px !important; */
|
||||
color: #4784C3 !important;
|
||||
/*color: #000 !important;*/
|
||||
font-size: 10px;
|
||||
width: 105px !important;
|
||||
/* width: 105px !important; */
|
||||
/*font-family: Serif, "Times New Roman", Georgia;*/ /*color: black;*/
|
||||
/*font-weight: bold;*/
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
/* the position of the icon is setted with -5px of margin in horizontal*/
|
||||
.button-hyperlink .x-btn-image {
|
||||
/* background-position: -3px, 0px !important; */
|
||||
/* margin-right: 5px !important; */
|
||||
}
|
||||
|
||||
/* remove images */
|
||||
.button-hyperlink .x-btn-tl,.button-hyperlink.x-btn-tr,.button-hyperlink .x-btn-tc,.button-hyperlink .x-btn-ml,.button-hyperlink .x-btn-mr,.button-hyperlink .x-btn-mc,.button-hyperlink .x-btn-bl,.button-hyperlink .x-btn-br,.button-hyperlink .x-btn-bc
|
||||
{
|
||||
|
|