Merge pull request #15 from adriaaah/revert-14-small-beautify
Revert "Beautify"
This commit is contained in:
commit
b6d9fc1a28
|
@ -28,18 +28,18 @@ $def with (output, now)
|
|||
<br>
|
||||
<table width=100%>
|
||||
<thead class="server-link">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<tr><th colspan="2">
|
||||
<a href="$output[server]['url']" target="_blank">$output[server]['name']</a>
|
||||
</th>
|
||||
</tr>
|
||||
</th></tr>
|
||||
</thead>
|
||||
$for check in output[server]['result'].keys():
|
||||
$ isError = output[server]['result'].get(check)
|
||||
$if isError != 0:
|
||||
<tr>
|
||||
<td><a href="$output[server]['url']/$check" target="_blank">$check</a></td>
|
||||
<td><a href="$output[server]['url']/$check" target="_blank"><img src="static/img/error.png"></a></td>
|
||||
<td><a href="$output[server]['url']/$check"
|
||||
target="_blank">$check</a></td>
|
||||
<td><a href="$output[server]['url']/$check"
|
||||
target="_blank"><img src="static/img/error.png"></a></td>
|
||||
</tr>
|
||||
$else:
|
||||
<tr>
|
||||
|
@ -58,18 +58,18 @@ $def with (output, now)
|
|||
<br>
|
||||
<table width=100%>
|
||||
<thead class="server-link">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<tr><th colspan="2">
|
||||
<a href="$output[server]['url']" target="_blank">$output[server]['name']</a>
|
||||
</th>
|
||||
</tr>
|
||||
</th></tr>
|
||||
</thead>
|
||||
$for check in output[server]['result'].keys():
|
||||
$ isError = output[server]['result'].get(check)
|
||||
$if isError != 0:
|
||||
<tr>
|
||||
<td><a href="$output[server]['url']/$check" target="_blank">$check</a></td>
|
||||
<td><a href="$output[server]['url']/$check" target="_blank"><img src="static/img/error.png"></a></td>
|
||||
<td><a href="$output[server]['url']/$check"
|
||||
target="_blank">$check</a></td>
|
||||
<td><a href="$output[server]['url']/$check"
|
||||
target="_blank"><img src="static/img/error.png"></a></td>
|
||||
</tr>
|
||||
$else:
|
||||
<tr>
|
||||
|
@ -84,9 +84,7 @@ $def with (output, now)
|
|||
|
||||
<div class="canvas-container">
|
||||
<div class="canvas-graph">
|
||||
<div class="canvas-header">
|
||||
<h2 style="margin: 0">Hosts status</h2>
|
||||
</div>
|
||||
<div class="canvas-header"><h2 style="margin: 0">Hosts status</h2></div>
|
||||
<canvas id="canvas" width="400" height="400"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue