mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 18:53:23 +02:00
- Controlling devices from control-panes.
This commit is contained in:
14
res/app/control-panes/device-control/device-control.jade
Normal file
14
res/app/control-panes/device-control/device-control.jade
Normal 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
|
||||
Reference in New Issue
Block a user