From 2dfba84802dfab764d1f6557868b71815e9ee9fd Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 21 Apr 2011 10:37:23 +0000 Subject: [PATCH] dynamically build sensor 'health' dropdown, allowing for new sensor types, also adding power to the menu. power is now using the icon from the device type... may need some renaming? is not the right icon :[ git-svn-id: http://www.observium.org/svn/observer/trunk@2121 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-menubar.php | 68 ++++++++++++++++++++++++++++----- html/pages/health.inc.php | 9 ++++- 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index b5f12a1cfd..92318f2ab1 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -201,22 +201,72 @@ if ($deleted_ports) { echo('
  • Health
    diff --git a/html/pages/health.inc.php b/html/pages/health.inc.php index b6a3c0e07a..e0a0bb6220 100644 --- a/html/pages/health.inc.php +++ b/html/pages/health.inc.php @@ -1,6 +1,13 @@