NIHVIVO-3313: Refactored markup and styles for Startup Status page
This commit is contained in:
parent
d3fc45f2c6
commit
1982c96756
3 changed files with 113 additions and 105 deletions
|
@ -18,49 +18,51 @@
|
|||
<#else>
|
||||
<#assign color = "" >
|
||||
</#if>
|
||||
<tr><td>
|
||||
<table cellspacing="0" class="item ${color}">
|
||||
<tr class="top">
|
||||
<td width="20%">${item.level}</td>
|
||||
<td>${item.shortSourceName}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">${item.message}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">${item.sourceName}</td>
|
||||
</tr>
|
||||
|
||||
<li class="item ${color}" role="listitem">
|
||||
<h4>${item.level}: ${item.shortSourceName}</h4>
|
||||
|
||||
<ul class="item-spec" role="navigation">
|
||||
<li role="listitem">${item.message}</li>
|
||||
<li role="listitem">${item.sourceName}</li>
|
||||
<#if item.cause??>
|
||||
<tr>
|
||||
<td colspan="2"><pre>${item.cause}</pre></td>
|
||||
</tr>
|
||||
<li role="listitem"><pre>${item.cause}</pre></li>
|
||||
</#if>
|
||||
</table>
|
||||
</td></tr>
|
||||
</ul>
|
||||
</li>
|
||||
</#macro>
|
||||
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.css" />')}
|
||||
|
||||
<#if status.errorItems?has_content>
|
||||
<h2>Fatal error</h2>
|
||||
|
||||
<p>VIVO detected a fatal error during startup.</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
|
||||
<#list status.errorItems as item>
|
||||
<@statusItem item=item />
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
||||
<#if status.warningItems?has_content>
|
||||
<h2>Warning</h2>
|
||||
|
||||
<p>VIVO issued warnings during startup.</p>
|
||||
<#list status.warningItems as item>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation"><#list status.warningItems as item>
|
||||
<@statusItem item=item />
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
||||
<h2>Startup trace</h2>
|
||||
|
||||
<p>The full list of startup events and messages.</p>
|
||||
<table cellspacing="0" class="trace">
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
|
||||
<#list status.statusItems as item>
|
||||
<@statusItem item=item />
|
||||
</#list>
|
||||
</table>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue