updted HTML_PAGE

This commit is contained in:
Francesco Mangiacrapa 2024-04-19 17:11:34 +02:00
parent 9071847b48
commit 8579d6030d
2 changed files with 8 additions and 2 deletions

View File

@ -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 += "<img alt=\"D4Science Logo\" src=\"https://services.d4science.org/image/layout_set_logo?img_id=32727\"><br />";
newHTML += "<div id=\"content\">";
newHTML += "<img width=\"200px\" alt=\"D4GNA Logo\" src=\"https://data.d4science.org/shub/E_dmhxT0ZReFpXQ1ZXZUp0M2pXUGhtTEZicHNyMGZUVTB4cTkyc2xqMXFSWmo2Q3o4dWl0dTBmY1p1VTdPN29KMQ==\"><br /><br />";
newHTML += "<p id=\"title-geo\">Geoportal</p><br />";
newHTML += "<p style=\"font-size: 18px;\">" + action + "</p>";
if (waiting) {

View File

@ -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);