mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
monitoring: Respect whitespace characters in the plugin output in list views
fixes #10786
This commit is contained in:
parent
18e3884b8b
commit
35754fbe8e
@ -86,9 +86,7 @@ if (! $this->compact): ?>
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<span class="state-icons"><?= implode(' ', $this->hostFlags($host)) ?></span>
|
<span class="state-icons"><?= implode(' ', $this->hostFlags($host)) ?></span>
|
||||||
</div>
|
</div>
|
||||||
<p class="overview-plugin-output">
|
<p class="overview-plugin-output"><?= $this->pluginOutput($this->ellipsis($host->host_output, 10000), true) ?></p>
|
||||||
<?= $this->pluginOutput($this->ellipsis($host->host_output, 10000), true) ?>
|
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
<?php foreach($this->addColumns as $col): ?>
|
<?php foreach($this->addColumns as $col): ?>
|
||||||
<td><?= $this->escape($host->$col) ?></td>
|
<td><?= $this->escape($host->$col) ?></td>
|
||||||
|
@ -70,9 +70,7 @@ if (! $this->compact): ?>
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
<p class="overview-plugin-output">
|
<p class="overview-plugin-output"><?= $this->pluginOutput($this->ellipsis($notification->notification_output, 10000), true) ?></p>
|
||||||
<?= $this->pluginOutput($this->ellipsis($notification->notification_output, 10000), true) ?>
|
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
@ -90,9 +90,7 @@ if (! $this->compact): ?>
|
|||||||
<div class="overview-performance-data">
|
<div class="overview-performance-data">
|
||||||
<?= $this->perfdata($service->service_perfdata, true, 5) ?>
|
<?= $this->perfdata($service->service_perfdata, true, 5) ?>
|
||||||
</div>
|
</div>
|
||||||
<p class="overview-plugin-output">
|
<p class="overview-plugin-output"><?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?></p>
|
||||||
<?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach($this->addColumns as $col): ?>
|
<?php foreach($this->addColumns as $col): ?>
|
||||||
|
@ -77,6 +77,7 @@
|
|||||||
font-family: @font-family-fixed;
|
font-family: @font-family-fixed;
|
||||||
font-size: @font-size-small;
|
font-size: @font-size-small;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Table for performance data in detail views
|
// Table for performance data in detail views
|
||||||
|
Loading…
x
Reference in New Issue
Block a user