[drupal] justify sensor timestamp counter with an html align tag
This commit is contained in:
parent
d9732d41bc
commit
4f8d2381ba
|
@ -859,8 +859,8 @@ function _logger_sensors_form() {
|
|||
$row['function'] = $sensor->function;
|
||||
$row['sensor'] = $sensor->meter;
|
||||
$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;
|
||||
$row = array();
|
||||
|
||||
|
|
Loading…
Reference in New Issue