From 8ca6cc32b2c789a3149861159ad258f2cb9491e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:39:39 +0200 Subject: Adding upstream version 2.11.4. Signed-off-by: Daniel Baumann --- .../application/views/scripts/hosts/show.phtml | 206 +++++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 modules/monitoring/application/views/scripts/hosts/show.phtml (limited to 'modules/monitoring/application/views/scripts/hosts') diff --git a/modules/monitoring/application/views/scripts/hosts/show.phtml b/modules/monitoring/application/views/scripts/hosts/show.phtml new file mode 100644 index 0000000..97b8434 --- /dev/null +++ b/modules/monitoring/application/views/scripts/hosts/show.phtml @@ -0,0 +1,206 @@ +
+ compact): ?> + + + render('list/components/hostssummary.phtml') ?> + render('partials/host/objects-header.phtml'); ?> + getScheduledDowntimes()); + ?> +
+ +
+ + translate('No hosts found matching the filter'); ?> + + render('show/components/extensions.phtml') ?> +

translate('Problem Handling') ?>

+ + + 0): ?> + + + + + + + 0): ?> + + + + + + + + + + + + getComments())) > 0): ?> + + + + + + + + + + + + 0): ?> + + + + + + +
translate('%d unhandled problems'), $unackCount) ?> + qlink( + $this->translate('Acknowledge'), + $acknowledgeLink, + null, + array( + 'class' => 'action-link', + 'icon' => 'check' + ) + ) ?> +
translatePlural( + '%s acknowledgement', + '%s acknowledgements', + $acknowledgedCount + ), + '' . $acknowledgedCount . '' + ); ?> + setLabelEnabled(true) ?> +
translate('Comments') ?> + qlink( + $this->translate('Add comments'), + $addCommentLink, + null, + array( + 'class' => 'action-link', + 'icon' => 'comment-empty' + ) + ) ?> +
+ qlink( + sprintf( + $this->translatePlural( + '%s comment', + '%s comments', + $commentCount + ), + $commentCount + ), + $commentsLink, + null, + array('data-base-target' => '_next') + ); ?> +
+ translate('Downtimes') ?> + + qlink( + $this->translate('Schedule downtimes'), + $downtimeAllLink, + null, + array( + 'icon' => 'plug', + 'class' => 'action-link' + ) + ) ?> +
+ qlink( + sprintf( + $this->translatePlural( + '%d scheduled downtime', + '%d scheduled downtimes', + $scheduledDowntimeCount + ), + $scheduledDowntimeCount + ), + $showDowntimesLink, + null, + array( + 'data-base-target' => '_next' + ) + ) ?> +
+ + hasPermission('monitoring/command/send-custom-notification')): ?> +

translate('Notifications') ?>

+ + + + + + + +
translate('Notifications') ?> + qlink( + $this->translate('Send notifications'), + $sendCustomNotificationLink, + null, + array( + 'class' => 'action-link', + 'icon' => 'bell' + ) + ) ?> +
+ + +

translate('Check Execution') ?>

+ + + + + + + + + + + + + + + + + + + + + + +
translate('Command') ?> + qlink( + $this->translate('Process check result'), + $processCheckResultAllLink, + null, + array( + 'class' => 'action-link', + 'icon' => 'edit' + ) + ) ?> +
translate('Schedule Check') ?>
+ qlink( + $this->translate('Reschedule'), + $rescheduleAllLink, + null, + array( + 'class' => 'action-link', + 'icon' => 'calendar-empty' + ) + ) ?> +
+

translate('Feature Commands') ?>

+ + +
-- cgit v1.2.3