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:
Adam Amstrong 2010-06-12 15:18:12 +00:00
parent e696b60ba7
commit c231ce7a13
6 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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'];

View File

@ -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>

View File

@ -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);