aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/templates/property.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-10-30 21:29:34 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-10-30 21:30:26 +0100
commitdd72e7992f126c4a42a0791228400738072f297d (patch)
tree52be7697566f837b8e39fddd09a401b646bfdb6f /web/static/app/templates/property.html
parent2cab7558863fe8827e1d939733dd77779666d641 (diff)
downloaddiller-server-dd72e7992f126c4a42a0791228400738072f297d.tar.gz
diller-server-dd72e7992f126c4a42a0791228400738072f297d.tar.bz2
diller-server-dd72e7992f126c4a42a0791228400738072f297d.tar.xz
diller-server-dd72e7992f126c4a42a0791228400738072f297d.zip
web:
o Handling empty property and value tables. o Testing a better layout of device overview.
Diffstat (limited to 'web/static/app/templates/property.html')
-rw-r--r--web/static/app/templates/property.html9
1 files changed, 8 insertions, 1 deletions
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 @@
<th>Value</th>
</tr>
</thead>
- <tbody>
+ <tbody ng-if="ctrl.values.length == 0">
+ <tr>
+ <td>
+ No values registered
+ </td>
+ </tr>
+ </tbody>
+ <tbody ng-if="ctrl.values.length > 0">
<tr ng-repeat="v in ctrl.values">
<td><dl-timestamp value="v.timestamp"></dl-timestamp></td>
<td>{{v.value}}</td>