*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -25,6 +26,8 @@ echo "$title
";
Desc |
Current |
High |
+ High warn |
+ Low warn |
Low |
Alerts |
|
@@ -35,6 +38,8 @@ foreach (dbFetchRows("SELECT * FROM `$table` WHERE `device_id` = ? AND `sensor_d
$rollback[] = array(
'sensor_id' => $sensor['sensor_id'],
'sensor_limit' => $sensor['sensor_limit'],
+ 'sensor_limit_warn' => $sensor['sensor_limit_warn'],
+ 'sensor_limit_low_warn' => $sensor['sensor_limit_low_warn'],
'sensor_limit_low' => $sensor['sensor_limit_low'],
'sensor_alert' => $sensor['sensor_alert'],
);
@@ -59,21 +64,25 @@ foreach (dbFetchRows("SELECT * FROM `$table` WHERE `device_id` = ? AND `sensor_d
-
-
-
+
+ |
+
+
+
+
+ |
+
+
+
|
-
-
-
|
-
+
|
Clear custom
@@ -90,6 +99,8 @@ foreach ($rollback as $reset_data) {
echo '
+
+
';
@@ -101,18 +112,27 @@ foreach ($rollback as $reset_data) {
|