From dd72e7992f126c4a42a0791228400738072f297d Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 30 Oct 2015 21:29:34 +0100 Subject: web: o Handling empty property and value tables. o Testing a better layout of device overview. --- web/static/app/templates/device.html | 74 +++++++++++++++++++++++++++++++--- web/static/app/templates/property.html | 9 ++++- 2 files changed, 76 insertions(+), 7 deletions(-) (limited to 'web') diff --git a/web/static/app/templates/device.html b/web/static/app/templates/device.html index b466fdc..b8936f3 100644 --- a/web/static/app/templates/device.html +++ b/web/static/app/templates/device.html @@ -5,15 +5,77 @@ device - + + +
+
Created
+
{{ctrl.device.created_timestamp | date}}
+ +
Name
+
 {{ctrl.device.name}}
+ +
Description
+
 {{ctrl.device.description}}
+
+ +

Properties

+ +
+
+

+ No properties registered... +

+
+
+ + diff --git a/web/static/app/templates/property.html b/web/static/app/templates/property.html index cd003ca..5e8199d 100644 --- a/web/static/app/templates/property.html +++ b/web/static/app/templates/property.html @@ -33,7 +33,14 @@ - + + + + + + -- cgit v1.2.3
RegisteredValue
+ No values registered +
{{v.value}}