Update device-summary-vert.inc.php

This commit is contained in:
Bennett Blodinger
2016-08-19 13:45:04 -04:00
committed by GitHub
parent aeb1c1fc43
commit 60e13a5d15

View File

@@ -5,7 +5,7 @@ $temp_output = '
<div class="panel panel-default panel-condensed table-responsive">
<table class="table table-hover table-condensed table-striped">
<thead>
<tr class="info">
<tr>
<th>Summary</th>
<th><a href="devices/">Devices</a></th>
<th><a href="ports/">Ports</a></th>
@@ -23,7 +23,7 @@ $temp_output .= '
</tr>
</thead>
<tbody>
<tr class="active">
<tr>
<th><span class="green">Up</span></th>
<td><a href="devices/format=list_detail/state=up/"><span class="green">'. $devices['up'] .'</span></a></td>
<td><a href="ports/format=list_detail/state=up/"><span class="green">'. $ports['up'] .'</span></a></td>
@@ -38,7 +38,7 @@ if ($config['show_services']) {
$temp_output .= '
</tr>
<tr class="active">
<tr>
<th><span class="red">Down</span></th>
<td><a href="devices/format=list_detail/state=down/"><span class="red">'. $devices['down'] .'</span></a></td>
<td><a href="ports/format=list_detail/state=down/"><span class="red">'. $ports['down'] .'</span></a></td>
@@ -54,7 +54,7 @@ if ($config['show_services']) {
$temp_output .= '
</tr>
<tr class="active">
<tr>
<th><span class="grey">Ignored</span></th>
<td><a href="devices/format=list_detail/ignore=1/"><span class="grey">'. $devices['ignored'] .'</span></a></td>
<td><a href="ports/format=list_detail/ignore=1/"><span class="grey">'. $ports['ignored'] .'</span></a></td>
@@ -69,7 +69,7 @@ if ($config['show_services']) {
$temp_output .= '
</tr>
<tr class="active">
<tr>
<th><span class="black">Disabled/Shutdown</span></th>
<td><a href="devices/format=list_detail/disabled=1/"><span class="black">'. $devices['disabled'] .'</span></a></td>
<td><a href="ports/format=list_detail/state=admindown/"><span class="black">'. $ports['shutdown'] .'</span></a></td>
@@ -86,7 +86,7 @@ if ($config['show_services']) {
if ($config['summary_errors']) {
$temp_output .= '
</tr>
<tr class="active">
<tr>
<th><span class="black">Errored</span></th>
<td>-</td>
<td><a href="ports/format=list_detail/errors=1/"><span class="black"> '.$ports['errored'].'</span></a></td>
@@ -100,7 +100,7 @@ if ($config['summary_errors']) {
$temp_output .= '
</tr>
<tr class="active">
<tr>
<th><span class="grey">Total</span></th>
<td><a href="devices/"><span>'. $devices['count'] .'</span></a></td>
<td><a href="ports/"><span>'. $ports['count'] .'</span></a></td>