mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Prettify HTML for device SLA panel
This commit is contained in:
@@ -51,8 +51,6 @@ unset($sep);
|
|||||||
|
|
||||||
print_optionbar_end();
|
print_optionbar_end();
|
||||||
|
|
||||||
echo '<table>';
|
|
||||||
|
|
||||||
foreach ($slas as $sla) {
|
foreach ($slas as $sla) {
|
||||||
if ($vars['view'] != 'all' && $vars['view'] != $sla['rtt_type']) {
|
if ($vars['view'] != 'all' && $vars['view'] != $sla['rtt_type']) {
|
||||||
continue;
|
continue;
|
||||||
@@ -69,14 +67,16 @@ foreach ($slas as $sla) {
|
|||||||
|
|
||||||
$graph_array['type'] = 'device_sla';
|
$graph_array['type'] = 'device_sla';
|
||||||
$graph_array['id'] = $sla['sla_id'];
|
$graph_array['id'] = $sla['sla_id'];
|
||||||
echo '<tr><td>';
|
echo '<div class="panel panel-default">
|
||||||
echo '<h3>'.htmlentities($name).'</h3>';
|
<div class="panel-heading">
|
||||||
|
<h3 class="panel-title">'.htmlentities($name).'</h3>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">';
|
||||||
|
echo "<div class='row'>";
|
||||||
include 'includes/print-graphrow.inc.php';
|
include 'includes/print-graphrow.inc.php';
|
||||||
|
echo '</div>';
|
||||||
echo '</td></tr>';
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</table>';
|
|
||||||
|
|
||||||
$pagetitle[] = 'SLAs';
|
$pagetitle[] = 'SLAs';
|
||||||
|
Reference in New Issue
Block a user