aboutsummaryrefslogtreecommitdiff
path: root/views/index.hbs
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-03-31 21:00:04 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-03-31 21:00:04 +0100
commit5531f72248d0372000fe09e031e5a70fb11dafe7 (patch)
tree1c09b1b37a583d9f73311d4f0119bfc9cc987f89 /views/index.hbs
parentf53f1d433b5d458ff0b8a5893e8127a8be3630f7 (diff)
downloadtplink-energy-monitor-5531f72248d0372000fe09e031e5a70fb11dafe7.tar.xz
tplink-energy-monitor-5531f72248d0372000fe09e031e5a70fb11dafe7.zip
Add monthly usage graph
Diffstat (limited to 'views/index.hbs')
-rw-r--r--views/index.hbs16
1 files changed, 15 insertions, 1 deletions
diff --git a/views/index.hbs b/views/index.hbs
index ae7dac9..3a8233f 100644
--- a/views/index.hbs
+++ b/views/index.hbs
@@ -104,7 +104,8 @@
</div>
<div class="row">
- <div class="col-md-6 col-sm-6 col-xs-12">
+
+ <div class="col-md-8 col-sm-8 col-xs-12">
<div class="x_panel tile">
<div class="x_title">
<h2>
@@ -118,6 +119,19 @@
</div>
</div>
+ <div class="col-md-4 col-sm-4 col-xs-12">
+ <div class="x_panel tile">
+ <div class="x_title">
+ <h2>
+ <strong>Last 12 months (kWH)</strong>
+ </h2>
+ <div class="clearfix"></div>
+ </div>
+ <div class="x_content">
+ <canvas id="mu-chart" height="270"></canvas>
+ </div>
+ </div>
+ </div>
</div>