NIHVIVO-336 Use an internal style-sheet in startupStatus-displayRaw.ftl, since we won't be able to get an external CSS file if the servlet filters are broken.

This commit is contained in:
j2blake 2011-09-26 17:00:28 +00:00
parent ceed7c3ae4
commit 17334653cf
2 changed files with 31 additions and 2 deletions

View file

@ -1,6 +1,6 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template startupStatus-display and startupStatus-displayRaw */
/* Styles for Freemarker template startupStatus-display */
table.item {
border: thin solid black;

View file

@ -6,6 +6,9 @@
"raw" because this template works outside of the usual framework, in
case the Freemarker context didn't initialize properly.
This file can't even include a reference to an external CSS file, in case
the servlet routing filters are broken.
-->
<#macro statusItem item>
@ -44,7 +47,33 @@
<html>
<head>
<title>Startup Status</title>
<link rel="stylesheet" type="text/css" href="./css/startupStatus.css">
<style TYPE="text/css">
table.item {
border: thin solid black;
font-family: monospace;
width: 100%;
}
table.item tr.top {
font-size: larger;
}
table.item td {
border: thin solid black;
}
.error td {
background: #FFDDDD;
font-weight: bolder;
}
.warning td {
background: #FFFFDD;
}
.info td {
background: #DDFFDD;
}
.not_executed td {
color: #444444;
}
</style>
</head>
<body>