Keep device data up to date on device page.

This commit is contained in:
Simo Kinnunen
2014-03-17 20:01:07 +09:00
parent ee8951e467
commit 238d5d6f4e
3 changed files with 18 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
h1 {{ device.value.serial }}
h1 {{ device.value.serial }} {{ device.value.present ? 'present' : 'absent' }}
button(ng-click='showScreen = !showScreen') Show/Hide
button(ng-click='control.identify()') Identify