mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	newer icons, clean up style of some health pages
git-svn-id: http://www.observium.org/svn/observer/trunk@1151 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		@@ -8,6 +8,8 @@
 | 
			
		||||
 | 
			
		||||
   if(devicepermitted($proc['device_id'])) { 
 | 
			
		||||
 | 
			
		||||
    if(!is_integer($i/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
 | 
			
		||||
 | 
			
		||||
    $device = $proc;
 | 
			
		||||
 | 
			
		||||
    $text_descr = $proc['processor_descr'];
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ $sql  = "SELECT * FROM `storage` AS S, `devices` AS D WHERE S.device_id = D.devi
 | 
			
		||||
$query = mysql_query($sql);
 | 
			
		||||
 | 
			
		||||
echo("<div style='padding: 5px;'>
 | 
			
		||||
        <table width=100% cellspacing=0 cellpadding=2>");
 | 
			
		||||
        <table width=100% cellspacing=0 cellpadding=6>");
 | 
			
		||||
 | 
			
		||||
echo("<tr class=tablehead>
 | 
			
		||||
        <th width=280>Device</th>
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@ if($_SESSION['userlevel'] >= '5') {
 | 
			
		||||
 | 
			
		||||
$query = mysql_query($sql);
 | 
			
		||||
 | 
			
		||||
echo('<table cellspacing="0" cellpadding="2" width="100%">');
 | 
			
		||||
echo('<table cellspacing="0" cellpadding="6" width="100%">');
 | 
			
		||||
 | 
			
		||||
echo('<tr class=tablehead>
 | 
			
		||||
        <th width="280">Device</th>
 | 
			
		||||
@@ -30,6 +30,8 @@ while($temp = mysql_fetch_array($query))
 | 
			
		||||
  $temp_popup = "<a onmouseover=\"return overlib('<img src=\'$weekly_temp\'>', LEFT);\" onmouseout=\"return nd();\">
 | 
			
		||||
        " . $temp['temp_descr'] . "</a>";
 | 
			
		||||
 | 
			
		||||
  $temp['temp_current'] = round($temp['temp_current'],1);
 | 
			
		||||
 | 
			
		||||
  $temp_perc = $temp['temp_current'] / $temp['temp_limit'] * 100;
 | 
			
		||||
  $temp_colour = percent_colour($temp_perc);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user