summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:45:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:45:29 +0000
commit0fa6f7723cca9bf7edc8af84112e8429e82dea84 (patch)
tree52c73718c9e2b6e4aa3f997791786aa2ee6ebcc9 /application/views
parentInitial commit. (diff)
downloadicingaweb2-module-nagvis-0fa6f7723cca9bf7edc8af84112e8429e82dea84.tar.xz
icingaweb2-module-nagvis-0fa6f7723cca9bf7edc8af84112e8429e82dea84.zip
Adding upstream version 1.1.1.upstream/1.1.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/show/map.phtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/application/views/scripts/show/map.phtml b/application/views/scripts/show/map.phtml
new file mode 100644
index 0000000..f59aad3
--- /dev/null
+++ b/application/views/scripts/show/map.phtml
@@ -0,0 +1,18 @@
+<?php if (! $this->compact): ?>
+<div class="controls">
+ <?= $tabs; ?>
+</div>
+<?php endif ?>
+
+<?php
+
+if ($this->height) {
+ $attr = sprintf(' height="%d"', $height);
+} elseif (! $this->compact) {
+ $attr = ' height="99%"';
+} else {
+ $attr = '';
+}
+
+?>
+<iframe id="nagvis-iframe" src="<?= $this->nagvisUrl ?>" width="100%"<?= $attr ?> marginheight=0 marginwidth=0 wspace=0 frameborder=0 ></iframe><!-- onload="nagvis_frame_reload();" --> \ No newline at end of file