diff --git a/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/HTML_Page.java b/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/HTML_Page.java index 7e61d84..c681435 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/HTML_Page.java +++ b/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/HTML_Page.java @@ -35,6 +35,12 @@ public class HTML_Page { + " text-align: center;\n" + " }\n" + "\n" + + " #title-geo {\n" + + " font-weight: bold;\n" + + " color: black;\n" + + " font-size: 26px;\n" + + " }\n" + + "\n" + " #message {\n" + " color: gray;\n" + " font-size: 24px;\n" @@ -66,7 +72,7 @@ public class HTML_Page { newHTML += "\"D4Science
"; newHTML += "
"; - newHTML += "\"D4GNA

"; + newHTML += "

Geoportal


"; newHTML += "

" + action + "

"; if (waiting) { diff --git a/src/main/java/org/gcube/datatransfer/resolver/services/GeoportalExporter.java b/src/main/java/org/gcube/datatransfer/resolver/services/GeoportalExporter.java index 17c7815..9727b48 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/services/GeoportalExporter.java +++ b/src/main/java/org/gcube/datatransfer/resolver/services/GeoportalExporter.java @@ -112,7 +112,7 @@ public class GeoportalExporter { LOG.info("Serving request as User-Agent {}", userAgentName); final String pollingCode = ucdID + "_" + projectID + "_" + System.currentTimeMillis(); String serviceViewPDF_URL = String.format("%s/%s/view/%s", Util.getServerURL(req), - req.getContextPath(), pollingCode); + "geoportal", pollingCode); String entity = HTML_Page.entityHTMLMessage("Exporting as PDF...", "The project with id: " + projectID, true, serviceViewPDF_URL);