mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
resize bars in overview to 20px high, looks better, less hassle.
git-svn-id: http://www.observium.org/svn/observer/trunk@908 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -45,7 +45,7 @@ if(mysql_result(mysql_query("SELECT count(storage_id) from storage WHERE host_id
|
|||||||
|
|
||||||
echo("<tr bgcolor=$row_colour><td class=tablehead><a href='".$fs_url."' $fs_popup>" . $drive['hrStorageDescr'] . "</a></td>
|
echo("<tr bgcolor=$row_colour><td class=tablehead><a href='".$fs_url."' $fs_popup>" . $drive['hrStorageDescr'] . "</a></td>
|
||||||
<td width=90><a href='".$fs_url."' $fs_popup><img src='$mini_graph' /></a></td>
|
<td width=90><a href='".$fs_url."' $fs_popup><img src='$mini_graph' /></a></td>
|
||||||
<td width=200><a href='".$fs_url."' $fs_popup>".print_percentage_bar (200, 16, $perc, "$used / $total", "ffffff", $left_background, $perc . "%", "ffffff", $right_background)."</a></td>
|
<td width=200><a href='".$fs_url."' $fs_popup>".print_percentage_bar (200, 20, $perc, "$used / $total", "ffffff", $left_background, $perc . "%", "ffffff", $right_background)."</a></td>
|
||||||
</tr>");
|
</tr>");
|
||||||
$drive_rows++;
|
$drive_rows++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ if(mysql_result(mysql_query("SELECT count(*) from processors WHERE device_id = '
|
|||||||
echo("<tr bgcolor=$row_colour><td class=tablehead><a href='".$proc_url."' $proc_popup>" . $text_descr . "</a></td>
|
echo("<tr bgcolor=$row_colour><td class=tablehead><a href='".$proc_url."' $proc_popup>" . $text_descr . "</a></td>
|
||||||
<td width=90><a href='".$proc_url."' $proc_popup><img src='$mini_url'></a></td>
|
<td width=90><a href='".$proc_url."' $proc_popup><img src='$mini_url'></a></td>
|
||||||
<td width=200><a href='".$proc_url."' $proc_popup>
|
<td width=200><a href='".$proc_url."' $proc_popup>
|
||||||
".print_percentage_bar (200, 16, $perc, NULL, "ffffff", $left_background, $perc . "%", "ffffff", $right_background)."
|
".print_percentage_bar (200, 20, $perc, NULL, "ffffff", $left_background, $perc . "%", "ffffff", $right_background)."
|
||||||
</a></td>
|
</a></td>
|
||||||
</tr>");
|
</tr>");
|
||||||
$processor_rows++;
|
$processor_rows++;
|
||||||
|
|||||||
Reference in New Issue
Block a user