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:
parent
ceed7c3ae4
commit
17334653cf
2 changed files with 31 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
/* $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 {
|
table.item {
|
||||||
border: thin solid black;
|
border: thin solid black;
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
|
|
||||||
"raw" because this template works outside of the usual framework, in
|
"raw" because this template works outside of the usual framework, in
|
||||||
case the Freemarker context didn't initialize properly.
|
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>
|
<#macro statusItem item>
|
||||||
|
@ -44,7 +47,33 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Startup Status</title>
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue