mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02:00
align all minigraphs on the device overview
git-svn-id: http://www.observium.org/svn/observer/trunk@1273 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -32,7 +32,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE
|
|||||||
$humidity_link_a = $humidity_link . $humidity['sensor_descr'] . "</a>";
|
$humidity_link_a = $humidity_link . $humidity['sensor_descr'] . "</a>";
|
||||||
|
|
||||||
$humidity['sensor_descr'] = truncate($humidity['sensor_descr'], 25, '');
|
$humidity['sensor_descr'] = truncate($humidity['sensor_descr'], 25, '');
|
||||||
echo("<tr bgcolor='$row_colour'><td class=tablehead><strong>$humidity_link_a</strong></td><td width=80 align=right class=tablehead>$humidity_link_b<td width=35 align=right class=tablehead>$humidity_link_c</td></tr>");
|
echo("<tr bgcolor='$row_colour'><td class=tablehead><strong>$humidity_link_a</strong></td><td width=80 align=right class=tablehead>$humidity_link_b<td width=80 align=right class=tablehead>$humidity_link_c</td></tr>");
|
||||||
if($i == $rows) { echo("</table></td><td valign=top><table width=100% cellspacing=0 cellpadding=2>"); }
|
if($i == $rows) { echo("</table></td><td valign=top><table width=100% cellspacing=0 cellpadding=2>"); }
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE
|
|||||||
$temp_link_a = $temp_link . $temp['sensor_descr'] . "</a>";
|
$temp_link_a = $temp_link . $temp['sensor_descr'] . "</a>";
|
||||||
|
|
||||||
$temp['sensor_descr'] = truncate($temp['sensor_descr'], 25, '');
|
$temp['sensor_descr'] = truncate($temp['sensor_descr'], 25, '');
|
||||||
echo("<tr bgcolor='$row_colour'><td class=tablehead><strong>$temp_link_a</strong></td><td width=80 align=right class=tablehead>$temp_link_b<td width=35 align=right class=tablehead>$temp_link_c</td></tr>");
|
echo("<tr bgcolor='$row_colour'><td class=tablehead><strong>$temp_link_a</strong></td><td width=80 align=right class=tablehead>$temp_link_b<td width=80 align=right class=tablehead>$temp_link_c</td></tr>");
|
||||||
if($i == $rows) { echo("</table></td><td valign=top><table width=100% cellspacing=0 cellpadding=2>"); }
|
if($i == $rows) { echo("</table></td><td valign=top><table width=100% cellspacing=0 cellpadding=2>"); }
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user