diff options
Diffstat (limited to 'modules/monitoring/application/views/scripts/downtimes')
-rw-r--r-- | modules/monitoring/application/views/scripts/downtimes/delete-all.phtml | 12 | ||||
-rw-r--r-- | modules/monitoring/application/views/scripts/downtimes/show.phtml | 19 |
2 files changed, 31 insertions, 0 deletions
diff --git a/modules/monitoring/application/views/scripts/downtimes/delete-all.phtml b/modules/monitoring/application/views/scripts/downtimes/delete-all.phtml new file mode 100644 index 0000000..e6435fe --- /dev/null +++ b/modules/monitoring/application/views/scripts/downtimes/delete-all.phtml @@ -0,0 +1,12 @@ +<div class="controls"> + + <?php if (! $this->compact): ?> + <?= $this->tabs; ?> + <?php endif ?> + + <?= $this->render('partials/downtime/downtimes-header.phtml'); ?> +</div> + +<div class="content object-command"> + <?= $delAllDowntimeForm ?> +</div>
\ No newline at end of file diff --git a/modules/monitoring/application/views/scripts/downtimes/show.phtml b/modules/monitoring/application/views/scripts/downtimes/show.phtml new file mode 100644 index 0000000..73d9bf6 --- /dev/null +++ b/modules/monitoring/application/views/scripts/downtimes/show.phtml @@ -0,0 +1,19 @@ +<div class="controls"> +<?php if (! $this->compact): ?> + <?= $this->tabs ?> +<?php endif ?> + <?= $this->render('partials/downtime/downtimes-header.phtml') ?> +</div> + +<div class="content multi-commands"> + <h2> <?= $this->translate('Commands') ?> </h2> + <?= $this->qlink( + sprintf($this->translate('Remove all %d scheduled downtimes'), $downtimes->count()), + $removeAllLink, + null, + array( + 'icon' => 'trash', + 'title' => $this->translate('Remove all selected downtimes') + ) + ) ?> +</div> |