From e8ec4001ce1297d5a3db6d3fc8af8de47daa6a61 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 25 Oct 2015 00:33:41 +0200 Subject: wip --- web/static/app/templates/device.html | 34 ++++++++++++++++++++++++++ web/static/app/templates/front-page.html | 23 +++++++++++++++++ web/static/app/templates/property.html | 42 ++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 web/static/app/templates/device.html create mode 100644 web/static/app/templates/front-page.html create mode 100644 web/static/app/templates/property.html (limited to 'web/static/app/templates') diff --git a/web/static/app/templates/device.html b/web/static/app/templates/device.html new file mode 100644 index 0000000..b466fdc --- /dev/null +++ b/web/static/app/templates/device.html @@ -0,0 +1,34 @@ +
+ +

+ {{ctrl.device.key}} + device +

+ + + +

Properties

+ + + + + + + + + + + + + + +
RegisteredKey
+ {{p.created_timestamp | date:'medium'}} + + {{p.key}} +
+
diff --git a/web/static/app/templates/front-page.html b/web/static/app/templates/front-page.html new file mode 100644 index 0000000..68026c3 --- /dev/null +++ b/web/static/app/templates/front-page.html @@ -0,0 +1,23 @@ +
+ +

Devices

+ + + + + + + + + + + + + + +
RegisteredKey
+ {{d.created_timestamp | date:'medium'}} + + {{d.key}} +
+
diff --git a/web/static/app/templates/property.html b/web/static/app/templates/property.html new file mode 100644 index 0000000..5f925e7 --- /dev/null +++ b/web/static/app/templates/property.html @@ -0,0 +1,42 @@ +
+ +

+ {{ctrl.device.key}} + device +

+ +

+ {{ctrl.property.key}} + property +

+ + + +

Latest Values

+ + + + + + + + + + + + + + + + + + + + +
TimestampValue
{{v.timestamp | date:'medium'}}{{v.value}}
{{v.timestamp | date:'medium'}}{{v.value}}
+ +
-- cgit v1.2.3