aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/static/app/templates/device.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/web/static/app/templates/device.html b/web/static/app/templates/device.html
index 270c461..d1fb6f9 100644
--- a/web/static/app/templates/device.html
+++ b/web/static/app/templates/device.html
@@ -90,17 +90,25 @@
<table class="table" ng-if="ctrl.device.properties.length > 0">
<thead>
<tr>
- <td>Registered</td>
<td>Key</td>
+ <td>Last value</td>
+ <td>Last timestamp</td>
+ <td>Registered</td>
</tr>
</thead>
<tbody>
<tr ng-repeat="p in ctrl.device.properties | orderBy:'key'">
<td>
- {{p.created_timestamp | date:'medium'}}
+ <a href="#/device/{{ctrl.device.id}}/property/{{p.id}}">{{p.key}}</a>
</td>
<td>
- <a href="#/device/{{ctrl.device.id}}/property/{{p.id}}">{{p.key}}</a>
+ {{p.last_value}}
+ </td>
+ <td>
+ {{p.last_timestamp | date:'medium'}}
+ </td>
+ <td>
+ {{p.created_timestamp | date:'medium'}}
</td>
</tr>
</tbody>