perfdata: occupy more space, highglight like output

This commit is contained in:
Thomas Gelf 2015-06-18 11:39:55 +02:00
parent 7e20b66aac
commit a4ab4db1ca
2 changed files with 16 additions and 10 deletions

View File

@ -1,7 +1,11 @@
<?php if (! $object->perfdata) return ?>
<tr>
<th><?= $this->translate('Performance data') ?></th>
<td>
<?= $this->perfdata($object->perfdata) ?>
</td>
<tr class="newsection">
<td colspan="2">
<h2><?= $this->translate('Performance data') ?></h2>
</td>
</tr>
<tr>
<td colspan="2" class="performance-data">
<?= $this->perfdata($object->perfdata) ?>
</td>
</tr>

View File

@ -264,6 +264,7 @@ td.state {
font-size: inherit;
color: inherit;
margin: 0;
padding-bottom: 0.1em;
}
h3 .author {
@ -1214,14 +1215,15 @@ table.objectstate tr.state td.state {
border-radius: 0;
}
table.avp td.performance-data {
padding: 0.3em 0 0.3em 1em;
border-left: 4px solid #d8d8d8;
}
table.perfdata {
min-width: 24em;
font-size: 0.9em;
}
table.perfdata.perfdata-piecharts {
left: -2.6em;
position: relative;
width: 100%;
}
table.perfdata th {