From bb5017d54dba898e072f7ffc0eaadfb4044dccbe Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 18 Jan 2016 12:57:56 +0100 Subject: [PATCH] monitoring: Support tab navigation in monitoring health --- .../Instance/ToggleInstanceFeaturesCommandForm.php | 2 -- .../application/views/scripts/health/info.phtml | 5 +++-- .../application/views/scripts/health/stats.phtml | 10 +++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/modules/monitoring/application/forms/Command/Instance/ToggleInstanceFeaturesCommandForm.php b/modules/monitoring/application/forms/Command/Instance/ToggleInstanceFeaturesCommandForm.php index 722f8d0b3..180434564 100644 --- a/modules/monitoring/application/forms/Command/Instance/ToggleInstanceFeaturesCommandForm.php +++ b/modules/monitoring/application/forms/Command/Instance/ToggleInstanceFeaturesCommandForm.php @@ -26,9 +26,7 @@ class ToggleInstanceFeaturesCommandForm extends CommandForm public function init() { $this->setUseFormAutosubmit(); - $this->setTitle($this->translate('Feature Commands')); $this->setAttrib('class', 'inline instance-features'); - $this->loadDefaultDecorators()->getDecorator('description')->setTag('h2'); } /** diff --git a/modules/monitoring/application/views/scripts/health/info.phtml b/modules/monitoring/application/views/scripts/health/info.phtml index 520cd5f19..f277d4688 100644 --- a/modules/monitoring/application/views/scripts/health/info.phtml +++ b/modules/monitoring/application/views/scripts/health/info.phtml @@ -11,7 +11,7 @@ if (! $this->compact): ?>
-

translate('Process Info') ?>

+

translate('Process Info') ?>

@@ -76,7 +76,8 @@ if (! $this->compact): ?>
- toggleFeaturesForm; ?> +

translate('Feature Commands') ?>

+ toggleFeaturesForm ?>
diff --git a/modules/monitoring/application/views/scripts/health/stats.phtml b/modules/monitoring/application/views/scripts/health/stats.phtml index 05e6c9085..db9599b26 100644 --- a/modules/monitoring/application/views/scripts/health/stats.phtml +++ b/modules/monitoring/application/views/scripts/health/stats.phtml @@ -11,15 +11,15 @@ if (! $this->compact): ?>
-

unhandledProblems ?> translate('Unhandled Problems:') ?> - unhandledProblems ?> +

unhandledProblems ?> translate('Unhandled Problems:') ?> + unhandledProblems ?>

translate('Service Problems:') ?> - + qlink( $this->unhandledServiceProblems, @@ -34,7 +34,7 @@ if (! $this->compact): ?>
translate('Host Problems:') ?> - + qlink( $this->unhandledhostProblems, @@ -50,7 +50,7 @@ if (! $this->compact): ?>

-

+

stats = $hoststats ?> render('list/components/hostssummary.phtml') ?>