diff options
Diffstat (limited to 'foris/templates')
-rw-r--r-- | foris/templates/javascript/ups_pfc8591/ups_pfc8591.js.tpl (renamed from foris/templates/javascript/i2c_collect/i2c_collect.js.tpl) | 2 | ||||
-rw-r--r-- | foris/templates/ups_pfc8591/ups_pfc8591.tpl (renamed from foris/templates/i2c_collect/i2c_collect.tpl) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/foris/templates/javascript/i2c_collect/i2c_collect.js.tpl b/foris/templates/javascript/ups_pfc8591/ups_pfc8591.js.tpl index 0ca8108..5ee281d 100644 --- a/foris/templates/javascript/i2c_collect/i2c_collect.js.tpl +++ b/foris/templates/javascript/ups_pfc8591/ups_pfc8591.js.tpl @@ -66,7 +66,7 @@ $(document).ready(function() { }); /* -Foris.WS["i2c-collect"] = function (data) { +Foris.WS["ups-pfc8591"] = function (data) { for (d in data) { Foris.lineChartData[d].datasets[0].data.push(data[d][0]); Foris.lineChartData[d].datasets[0].data.shift(); diff --git a/foris/templates/i2c_collect/i2c_collect.tpl b/foris/templates/ups_pfc8591/ups_pfc8591.tpl index 12226a5..e2ae1ef 100644 --- a/foris/templates/i2c_collect/i2c_collect.tpl +++ b/foris/templates/ups_pfc8591/ups_pfc8591.tpl @@ -1,7 +1,7 @@ %rebase("config/base.tpl", **locals()) -<div id="page-i2c-collect" class="config-page"> +<div id="page-ups-pfc8591" class="config-page"> %include("_messages.tpl") <div id="canvas-container"> %for fld in ["voltage", "light", "temperature", "trimmer"]: |