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 ?> <?php if (! $object->perfdata) return ?>
<tr> <tr class="newsection">
<th><?= $this->translate('Performance data') ?></th> <td colspan="2">
<td> <h2><?= $this->translate('Performance data') ?></h2>
<?= $this->perfdata($object->perfdata) ?> </td>
</td> </tr>
<tr>
<td colspan="2" class="performance-data">
<?= $this->perfdata($object->perfdata) ?>
</td>
</tr> </tr>

View File

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