- Controlling devices from control-panes.

This commit is contained in:
Gunther Brunner
2014-03-31 16:13:12 +09:00
parent e173a4f648
commit f8a4fee2bb
12 changed files with 116 additions and 72 deletions

View File

@@ -0,0 +1,14 @@
h1 {{ device.serial }} {{ device.present ? 'present' : 'absent' }}
button(ng-click='showScreen = !showScreen') Show/Hide
button(ng-click='control.identify()') Identify
div(ng-if='installation')
strong Installation status: {{ installation.progress}}% ({{ installation.lastData }})
div(ng-controller='DeviceScreenCtrl', ng-file-drop='install($files)')
device-screen(style='width: 400px; height: 600px; background: gray')
button(ng-click='control.menu()') Menu
button(ng-click='control.home()') Home
button(ng-click='control.back()') Back