mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix background color
Fixed class definitions
This commit is contained in:
@@ -222,7 +222,7 @@ function generate_device_link($device, $text=null, $vars=array(), $start=0, $end
|
||||
$url = generate_device_url($device, $vars);
|
||||
|
||||
// beginning of overlib box contains large hostname followed by hardware & OS details
|
||||
$contents = '<div style="background-color: #FFFFFF;"><span class=list-large>'.$device['hostname'].'</span>';
|
||||
$contents = '<div><span class="list-large">'.$device['hostname'].'</span>';
|
||||
if ($device['hardware']) {
|
||||
$contents .= ' - '.$device['hardware'];
|
||||
}
|
||||
@@ -248,8 +248,8 @@ function generate_device_link($device, $text=null, $vars=array(), $start=0, $end
|
||||
foreach ($graphs as $entry) {
|
||||
$graph = $entry['graph'];
|
||||
$graphhead = $entry['text'];
|
||||
$contents .= '<div class=overlib-box style="background-color: #FFFFFF;">';
|
||||
$contents .= '<span class=overlib-title>'.$graphhead.'</span><br />';
|
||||
$contents .= '<div class="overlib-box">';
|
||||
$contents .= '<span class="overlib-title">'.$graphhead.'</span><br />';
|
||||
$contents .= generate_minigraph_image($device, $start, $end, $graph);
|
||||
$contents .= generate_minigraph_image($device, $config['time']['week'], $end, $graph);
|
||||
$contents .= '</div>';
|
||||
@@ -279,6 +279,7 @@ function generate_device_link($device, $text=null, $vars=array(), $start=0, $end
|
||||
function overlib_link($url, $text, $contents, $class) {
|
||||
global $config;
|
||||
|
||||
$contents = "<div style=\'background-color: #FFFFFF;\'>".$contents.'</div>';
|
||||
$contents = str_replace('"', "\'", $contents);
|
||||
$output = '<a class="'.$class.'" href="'.$url.'"';
|
||||
if ($config['web_mouseover'] === false) {
|
||||
|
Reference in New Issue
Block a user