output.phtml: Collapse plugin output if it exceeds 100px

refs #3566
This commit is contained in:
Johannes Meyer 2019-07-18 10:35:30 +02:00
parent cee6eb1ac8
commit b61a952cfd
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
<h2><?= $this->translate('Plugin Output') ?></h2>
<?= $this->pluginOutput($object->output, false, $object->check_command) ?>
<?= $this->pluginOutput($object->long_output, false, $object->check_command) ?>
<div id="check-output-<?= $this->escape(str_replace(' ', '-', $object->check_command)) ?>" class="collapsible" data-visible-height="100">
<?= $this->pluginOutput($object->output, false, $object->check_command) ?>
<?= $this->pluginOutput($object->long_output, false, $object->check_command) ?>
</div>