aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/templates/property.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/app/templates/property.html')
-rw-r--r--web/static/app/templates/property.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/web/static/app/templates/property.html b/web/static/app/templates/property.html
index 65a66e8..cd003ca 100644
--- a/web/static/app/templates/property.html
+++ b/web/static/app/templates/property.html
@@ -16,7 +16,15 @@
<li>Description: {{ctrl.property.description}}</li>
</ul>
- <h3>Latest Values</h3>
+ <h3>
+ Latest Values
+ <small ng-hide="ctrl.loading">
+ <a href ng-click="ctrl.refresh()">refresh</a>
+ </small>
+ <small ng-show="ctrl.loading">
+ Loading <dl-dots></dl-dots>
+ </small>
+ </h3>
<table class="table">
<thead>
@@ -27,7 +35,7 @@
</thead>
<tbody>
<tr ng-repeat="v in ctrl.values">
- <td>{{v.timestamp | date:'medium'}}</td>
+ <td><dl-timestamp value="v.timestamp"></dl-timestamp></td>
<td>{{v.value}}</td>
</tr>
</tbody>