mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
improvements to BGP stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2200 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
26
html/pages/routing/overview.inc.php
Normal file
26
html/pages/routing/overview.inc.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
foreach ($datas as $type)
|
||||
{
|
||||
if($type != "overview")
|
||||
{
|
||||
if(is_file("pages/routing/overview/".mres($type).".inc.php")) {
|
||||
|
||||
$g_i++;
|
||||
if (!is_integer($g_i/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
|
||||
|
||||
echo('<div style="background-color: '.$row_colour.';">');
|
||||
echo('<div style="padding:4px 0px 0px 8px;"><span class=graphhead>'.$type_text[$type].'</span>');
|
||||
include("pages/routing/overview/".mres($type).".inc.php");
|
||||
echo('</div>');
|
||||
echo('</div>');
|
||||
} else {
|
||||
$graph_title = $type_text[$type];
|
||||
$graph_type = "device_".$type;
|
||||
include("includes/print-device-graph.php");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user