From 9e9173e70ceec134fe0f73269e7a97eccce6f26e Mon Sep 17 00:00:00 2001 From: Ariel Antigua Date: Thu, 23 Aug 2018 11:26:07 -0400 Subject: [PATCH] initial commit --- html/pages/device/apps/ats-watts.inc.php | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 html/pages/device/apps/ats-watts.inc.php diff --git a/html/pages/device/apps/ats-watts.inc.php b/html/pages/device/apps/ats-watts.inc.php new file mode 100644 index 0000000..d02b10f --- /dev/null +++ b/html/pages/device/apps/ats-watts.inc.php @@ -0,0 +1,27 @@ + 'ATS Watts', +); + +foreach ($graphs as $key => $text) { + $graph_type = $key; + $graph_array['height'] = '100'; + $graph_array['width'] = '215'; + $graph_array['to'] = $config['time']['now']; + $graph_array['id'] = $app['app_id']; + $graph_array['type'] = 'application_'.$key; + + echo '
+
+

'.$text.'

+
+
+
'; + include 'includes/print-graphrow.inc.php'; + echo '
'; + echo '
'; + echo '
'; +}