mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
more time period corrections
git-svn-id: http://www.observium.org/svn/observer/trunk@3145 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -19,9 +19,9 @@ foreach (dbFetchRows("SELECT * FROM ports WHERE `device_id` = ? AND `ifVrf` = ?"
|
||||
<a href='device/".$device['device_id']."/port/".$port['interface_id']."/' onmouseover=\"return overlib('\
|
||||
<div style=\'font-size: 16px; padding:5px; font-weight: bold; color: #e5e5e5;\'>".$device['hostname']." - ".$port['ifDescr']."</div>\
|
||||
".$port['ifAlias']." \
|
||||
<img src=\'graph.php?type=$graph_type&id=".$port['interface_id']."&from=-2day&to=".$config['time']['now']."&width=450&height=150\'>\
|
||||
<img src=\'graph.php?type=$graph_type&id=".$port['interface_id']."&from=".$config['time']['twoday']."&to=".$config['time']['now']."&width=450&height=150\'>\
|
||||
', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >".
|
||||
"<img src='graph.php?type=$graph_type&id=".$port['interface_id']."&from=-2day&to=".$config['time']['now']."&width=132&height=40&legend=no'>
|
||||
"<img src='graph.php?type=$graph_type&id=".$port['interface_id']."&from=".$config['time']['twoday']."&to=".$config['time']['now']."&width=132&height=40&legend=no'>
|
||||
</a>
|
||||
<div style='font-size: 9px;'>".truncate(short_port_descr($port['ifAlias']), 22, '')."</div>
|
||||
</div>");
|
||||
|
Reference in New Issue
Block a user