From 69e15b6243bb20d8a3dc53a1889bde68504f7c28 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 19 Apr 2024 17:37:22 +0200 Subject: [PATCH] updated html page --- .../resolver/geoportal/exporter/HTML_Page.java | 7 +++++++ .../datatransfer/resolver/services/GeoportalExporter.java | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 2ed0608..074065b 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 @@ -119,6 +119,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" @@ -130,6 +136,7 @@ public class HTML_Page { newHTML += "\"D4Science
"; newHTML += "
"; + newHTML += "

Geoportal Exporter


"; newHTML += "

" + action + "

"; newHTML += "

" + message + "

"; newHTML += "
"; 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 6025a5c..3d62c29 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/services/GeoportalExporter.java +++ b/src/main/java/org/gcube/datatransfer/resolver/services/GeoportalExporter.java @@ -215,7 +215,7 @@ public class GeoportalExporter { throws WebApplicationException { LOG.info(this.getClass().getSimpleName() + " viewPDF - GET starts..."); - LOG.info("param is: pdfCode: {}", pdfCode); + LOG.info("param "+PDF_CODE+": {}", pdfCode); FetchPDF fetchedPDF = map.get(pdfCode); LOG.info("FileReference at code {} is {}", pdfCode, fetchedPDF);