aboutsummaryrefslogtreecommitdiff
path: root/web/app/templates/device.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/templates/device.html')
-rw-r--r--web/app/templates/device.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/web/app/templates/device.html b/web/app/templates/device.html
new file mode 100644
index 0000000..ae028b5
--- /dev/null
+++ b/web/app/templates/device.html
@@ -0,0 +1,21 @@
+<div class="container">
+
+ <h1>
+ {{ctrl.device.key}}
+ <small class="text-muted">device</small>
+ </h1>
+
+ <ul>
+ <li>Created: {{ctrl.device.created_timestamp | date}}</li>
+ <li>Name: {{ctrl.property.name}}</li>
+ <li>Description: {{ctrl.property.description}}</li>
+ </ul>
+
+ <h3>Properties</h3>
+
+ <ul>
+ <li ng-repeat="p in ctrl.device.properties | orderBy:'key'">
+ <a href="#/device/{{ctrl.device.id}}/property/{{p.id}}">{{p.key}}</a>
+ </li>
+ </ul>
+</div>