monitoring/CSS: Style pie charts in the service overview

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-11 15:23:10 +01:00
parent 040425d9e2
commit 6a5efd560d
2 changed files with 20 additions and 4 deletions

View File

@ -86,10 +86,14 @@ if (! $this->compact): ?>
) ?>
<span class="state-icons"><?= implode(' ', $this->serviceFlags($service)) ?></span>
</div>
<div class="sparkline-box"><?= $this->perfdata($service->service_perfdata, true, 5) ?></div>
<p class="overview-plugin-output">
<?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?>
</p>
<div class="overview-plugin-output-container">
<div class="overview-performance-data">
<?= $this->perfdata($service->service_perfdata, true, 5) ?>
</div>
<p class="overview-plugin-output">
<?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?>
</p>
</div>
</td>
<?php foreach($this->addColumns as $col): ?>
<td><?= $this->escape($service->$col) ?></td>

View File

@ -37,6 +37,18 @@
font-size: @font-size-small;
}
// Container for plugin output and performance data in overviews
.overview-plugin-output-container {
.clearfix();
}
// Performance data pies in overviews
.overview-performance-data {
float: right;
font-size: @font-size-small;
}
// Plugin output in overviews
.overview-plugin-output {
color: @text-color-light;