parent
1e8151bed3
commit
198834294f
|
@ -94,8 +94,14 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
|||
if ($compact) {
|
||||
return join('', $results);
|
||||
} else {
|
||||
$pieCharts = empty($table) ? '' : '<table class="perfdata">' . implode("\n", $table) . '</table>';
|
||||
return $pieCharts;
|
||||
if (empty($table)) {
|
||||
return '';
|
||||
}
|
||||
return sprintf(
|
||||
'<table class="perfdata %s">%s</table>',
|
||||
isset($columns['']) ? 'perfdata-piecharts' : '',
|
||||
implode("\n", $table)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -142,10 +142,11 @@ table.objectstate tr.state.handled td.state {
|
|||
table.perfdata {
|
||||
min-width: 24em;
|
||||
font-size: 0.9em;
|
||||
position: relative;
|
||||
top: 1.8em;
|
||||
}
|
||||
|
||||
table.perfdata.perfdata-piecharts {
|
||||
left: -2.6em;
|
||||
margin-bottom: 1.8em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
table.perfdata th {
|
||||
|
|
Loading…
Reference in New Issue