NEW displaying site URL in the health check
This commit is contained in:
parent
c5084be7d9
commit
6c7ec7040b
|
@ -69,6 +69,7 @@ class EnvironmentChecker extends RequestHandler {
|
|||
}
|
||||
|
||||
$resultText = $result->customise(array(
|
||||
"URL" => Director::absoluteBaseURL(),
|
||||
"Title" => $this->title,
|
||||
"Name" => $this->checkSuiteName,
|
||||
"ErrorCode" => $this->errorCode,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue