parent
3c9d2b0c9f
commit
53f3d74103
|
@ -29,7 +29,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
||||||
if (! $perfdata->isPercentage()) {
|
if (! $perfdata->isPercentage()) {
|
||||||
$pieChart->setTooltipFormat('{{label}}: {{formatted}} ({{percent}}%)');
|
$pieChart->setTooltipFormat('{{label}}: {{formatted}} ({{percent}}%)');
|
||||||
}
|
}
|
||||||
$pieChart->setStyle('float: left; margin: 0.2em 0.5em 0.2em 0.5em;');
|
$pieChart->setStyle('margin: 0.2em 0.5em 0.2em 0.5em;');
|
||||||
$table[] = '<tr><th>' . $pieChart->render()
|
$table[] = '<tr><th>' . $pieChart->render()
|
||||||
. htmlspecialchars($label)
|
. htmlspecialchars($label)
|
||||||
. '</th><td> '
|
. '</th><td> '
|
||||||
|
|
|
@ -144,12 +144,15 @@ table.perfdata {
|
||||||
}
|
}
|
||||||
|
|
||||||
table.perfdata th {
|
table.perfdata th {
|
||||||
white-space: nowrap;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.perfdata td {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
table.objectlist {
|
table.objectlist {
|
||||||
min-width: 28em;
|
min-width: 28em;
|
||||||
th {
|
th {
|
||||||
|
|
Loading…
Reference in New Issue