<?php if (! $this->compact): ?>
<div class="controls">
    <?= $tabs; ?>
</div>
<?php endif ?>

<?php

if ($this->height) {
    $attr = sprintf(' height="%d"', $height);
} else {
    $attr = ' height="99%"';
}

?>
<iframe id="nagvis-iframe" src="<?= $this->nagvisUrl ?>" width="100%"<?= $attr ?> marginheight=0 marginwidth=0 wspace=0 frameborder=0 ></iframe><!-- onload="nagvis_frame_reload();" -->
