diff --git a/webapp/web/templates/freemarker/body/admin/startupStatus-display.ftl b/webapp/web/templates/freemarker/body/admin/startupStatus-display.ftl new file mode 100644 index 000000000..e76332f7b --- /dev/null +++ b/webapp/web/templates/freemarker/body/admin/startupStatus-display.ftl @@ -0,0 +1,72 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- + Template for the page that displays the StartupStatus on request. + + Unlike the "raw" page, this one assumes that the usual Freemarker framework is in place. +--> + +<#macro statusItem item> + <#if item.level = "FATAL"> + <#assign color = "error" > + <#elseif item.level = "WARNING"> + <#assign color = "warning" > + <#elseif item.level = "INFO"> + <#assign color = "info" > + <#elseif item.level = "NOT_EXECUTED"> + <#assign color = "not_executed" > + <#else> + <#assign color = "" > + #if> +
${item.level} | +${item.shortSourceName} | +
${item.message} | +|
${item.sourceName} | +|
${item.cause} | +
VIVO detected a fatal error during startup.
++ Continue +
+ <#list status.errorItems as item> + <@statusItem item=item /> + #list> +#if> + +<#if status.warningItems?has_content> +VIVO issued warnings during startup.
++ Continue +
+ <#list status.warningItems as item> + <@statusItem item=item /> + #list> +#if> + +The full list of startup events and messages.
+