summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/host
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/host')
-rw-r--r--application/views/scripts/host/show.phtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/application/views/scripts/host/show.phtml b/application/views/scripts/host/show.phtml
new file mode 100644
index 0000000..413baf2
--- /dev/null
+++ b/application/views/scripts/host/show.phtml
@@ -0,0 +1,13 @@
+<?php
+/** @var \Icinga\Web\View $this */
+/** @var \Icinga\Web\Widget\Tabs $tabs */
+/** @var string $host */
+?>
+<div class="controls">
+ <?= $tabs->showOnlyCloseButton() ?>
+</div>
+<div class="content restricted">
+ <h1><?= $this->translate('Access Denied') ?></h1>
+ <p><?= sprintf($this->translate('You are lacking permission to access host "%s".'), $this->escape($host)) ?></p>
+ <a href="#" class="close-container-control action-link"><?= $this->icon('cancel') ?><?= $this->translate('Hide this message') ?></a>
+</div>