mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +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:
parent
e696b60ba7
commit
c231ce7a13
@ -41,7 +41,7 @@ if(!$where) {
|
||||
|
||||
if (file_exists('.svn'))
|
||||
{
|
||||
list(,$dbu_rev) = split(': ',@shell_exec('svn info database-update.sql|grep ^Revision'));
|
||||
list(,$dbu_rev) = preg_split('/: /',@shell_exec('svn info database-update.sql|grep ^Revision'));
|
||||
|
||||
$device_query = mysql_query("SELECT revision FROM `dbSchema`");
|
||||
if ($rev = @mysql_fetch_array($device_query))
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 766 B |
Binary file not shown.
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 793 B |
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user