aboutsummaryrefslogtreecommitdiff
path: root/foris/templates/i2c_collect/i2c_collect.tpl
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-08-15 17:57:25 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-08-15 17:57:25 +0200
commit8e8481885d3134e8d994a30fd5254fc6d41df9ea (patch)
treefefb65fec9f438ee319d1c523ccb8e7417ee215b /foris/templates/i2c_collect/i2c_collect.tpl
parent137e9ac603fac87d42a9e383885827a4e769110d (diff)
downloadturris-ups-pfc8591-8e8481885d3134e8d994a30fd5254fc6d41df9ea.tar.gz
turris-ups-pfc8591-8e8481885d3134e8d994a30fd5254fc6d41df9ea.tar.bz2
turris-ups-pfc8591-8e8481885d3134e8d994a30fd5254fc6d41df9ea.zip
Rename from i2c-collect to more suitable ups-pfc8591v0.2
Diffstat (limited to 'foris/templates/i2c_collect/i2c_collect.tpl')
-rw-r--r--foris/templates/i2c_collect/i2c_collect.tpl33
1 files changed, 0 insertions, 33 deletions
diff --git a/foris/templates/i2c_collect/i2c_collect.tpl b/foris/templates/i2c_collect/i2c_collect.tpl
deleted file mode 100644
index 12226a5..0000000
--- a/foris/templates/i2c_collect/i2c_collect.tpl
+++ /dev/null
@@ -1,33 +0,0 @@
-
-%rebase("config/base.tpl", **locals())
-
-<div id="page-i2c-collect" class="config-page">
-%include("_messages.tpl")
- <div id="canvas-container">
-%for fld in ["voltage", "light", "temperature", "trimmer"]:
- <canvas id="canvas-{{ fld }}"></canvas>
-%end
- </div>
-</div>
-
-
-<script>
-var graph_data = {
-%for fld in ["voltage", "light", "temperature", "trimmer"]:
- "{{ fld }}": [
-% for _, val in enumerate(data[fld]):
- {{ val[1] }},
-% end
- ],
-%end
-};
-var graph_labels = {
-%for fld in ["voltage", "light", "temperature", "trimmer"]:
- "{{ fld }}": [
-% for _, val in enumerate(data[fld]):
- "{{ val[0] }}",
-% end
- ],
-%end
-};
-</script>