aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/templates/property.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-03-05 16:47:32 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2016-03-05 16:47:32 +0100
commit7ca173de3de046501d79164da0c8c8871a03089b (patch)
tree16d857cf2ab7fd8b7b3c29efbacd6b01c2eacec7 /web/static/app/templates/property.html
parentdda9ef2ae7971bceaa792e328c8489cb0695b77e (diff)
downloaddiller-server-7ca173de3de046501d79164da0c8c8871a03089b.tar.gz
diller-server-7ca173de3de046501d79164da0c8c8871a03089b.tar.bz2
diller-server-7ca173de3de046501d79164da0c8c8871a03089b.tar.xz
diller-server-7ca173de3de046501d79164da0c8c8871a03089b.zip
web:
o Adding an API method to get per-hour aggregate values. Doesn't use the by_hour table yet. o Adding a simple line graph component that can graph a single property's value.
Diffstat (limited to 'web/static/app/templates/property.html')
-rw-r--r--web/static/app/templates/property.html30
1 files changed, 18 insertions, 12 deletions
diff --git a/web/static/app/templates/property.html b/web/static/app/templates/property.html
index 969734b..3f3424f 100644
--- a/web/static/app/templates/property.html
+++ b/web/static/app/templates/property.html
@@ -20,20 +20,25 @@
</a>
</p>
- <dl>
- <dt class="col-sm-3">Key</dt>
- <dd class="col-sm-9">
- {{ctrl.property.key}}
- &nbsp;
- </dd>
+ <div class="row">
+ <dl>
+ <dt class="col-sm-3">Key</dt>
+ <dd class="col-sm-9">
+ {{ctrl.property.key}}
+ &nbsp;
+ </dd>
- <dt class="col-sm-3">Created</dt>
- <dd class="col-sm-9">
- {{ctrl.property.created_timestamp | date:'medium'}}
- &nbsp;
- </dd>
- </dl>
+ <dt class="col-sm-3">Created</dt>
+ <dd class="col-sm-9">
+ {{ctrl.property.created_timestamp | date:'medium'}}
+ &nbsp;
+ </dd>
+ </dl>
+ </div>
+ <dl-line-chart class="ct-golden" device="ctrl.device.id" property="ctrl.property.id" interval="ctrl.interval"></dl-line-chart>
+
+ <!--
<h3>
Latest Values
<small ng-hide="ctrl.loading">
@@ -68,5 +73,6 @@
</tr>
</tbody>
</table>
+ -->
</div>