NEW displaying site URL in the health check

This commit is contained in:
Julian Seidenberg 2013-02-04 11:39:54 +13:00
parent c5084be7d9
commit 6c7ec7040b
2 changed files with 8 additions and 1 deletions

View File

@ -69,6 +69,7 @@ class EnvironmentChecker extends RequestHandler {
}
$resultText = $result->customise(array(
"URL" => Director::absoluteBaseURL(),
"Title" => $this->title,
"Name" => $this->checkSuiteName,
"ErrorCode" => $this->errorCode,

View File

@ -13,9 +13,14 @@
h1 {
font-size: 30px;
margin-bottom: 10px;
margin-bottom: 3px;
margin-left: 8px;
}
h2 {
font-size: 16px;
margin: 2px 0 10px 8px;
}
p {
margin-left: 10px;
@ -57,6 +62,7 @@
<body>
<h1 class="$Status">$Title: $Status</h1>
<h2 class="website">Site: $URL</h2>
<table>
<tr><th>Check</th> <th>Status</th> <th>Message</th></tr>