package org.gcube.datatransfer.resolver.geoportal.exporter; public class HTML_Page { /** * Sets the HTML message. * * @param action the action * @param message the message * @param waiting the waiting * @return the string */ public static String entityHTMLMessage(String action, String message, boolean waiting, String viewPdfURL) { String newHTML = "\n" + " \n" + " \n" + " \n" + " \n" + " D4Science Geoportal - Action\n" + " \n" + " "; newHTML += "\"D4Science
"; newHTML += "
"; newHTML += "

Geoportal


"; newHTML += "
"; newHTML += "

" + action + "

"; if (waiting) { newHTML += "\"D4Science
"; } newHTML += "

" + message + "

"; newHTML += "
"; return newHTML; } /** * Sets the HTML message. * * @param action the action * @param message the message * @param waiting the waiting * @return the string */ public static String getErrorPage(String action, String message) { String newHTML = "\n" + "\n" + " \n" + " \n" + " \n" + ""; newHTML += "\"D4Science
"; newHTML += "
"; newHTML += "

Geoportal Exporter


"; newHTML += "

" + action + "

"; newHTML += "

" + message + "

"; newHTML += "
"; return newHTML; } }