[drupal] justify sensor timestamp counter with an html align tag
This commit is contained in:
parent
d9732d41bc
commit
4f8d2381ba
|
@ -859,7 +859,7 @@ function _logger_sensors_form() {
|
||||||
$row['function'] = $sensor->function;
|
$row['function'] = $sensor->function;
|
||||||
$row['sensor'] = $sensor->meter;
|
$row['sensor'] = $sensor->meter;
|
||||||
$row['access'] = unix_to_userlocaltime($sensor->access);
|
$row['access'] = unix_to_userlocaltime($sensor->access);
|
||||||
$row['counter'] = str_repeat('0', 10 - strlen($sensor->value)) . $sensor->value;
|
$row['counter'] = '<div align="right">' . $sensor->value . '</div>';
|
||||||
|
|
||||||
$rows[$sensor->meter] = $row;
|
$rows[$sensor->meter] = $row;
|
||||||
$row = array();
|
$row = array();
|
||||||
|
|
Loading…
Reference in New Issue