Files
stf-DeviceFarmer/res/app/control-panes/device-control/device-control.jade
2014-04-03 20:12:11 +09:00

32 lines
1.5 KiB
Plaintext

.interact-control.fill-height.as-table.stf-device-control
.as-cell.fill-height
.as-table.fill-height
.stf-vnc-navbar.as-row
a.stf-vnc-device-name.cursor.dropdown-toggle
p {{ $root.device.serial }} {{ $root.device.present ? 'present' : 'absent' }}
.pull-right
button(type='button', ng-model='showScreen', btn-checkbox).btn.btn-sm.btn-danger
i(ng-show='showScreen', tooltip-html-unsafe='{{"Just control device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye
i(ng-show='!showScreen', tooltip-html-unsafe='{{"View device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye-slash
//button(ng-click='showScreen = !showScreen') Show/Hide
button(ng-click='$root.control.identify()') Identify
.as-row.fill-height(ng-file-drop='$root.install($files)')
div(ng-controller='DeviceScreenCtrl')
device-screen(style='width: 400px; height: 600px; background: gray')
.stf-vnc-bottom.as-row
.controls
.btn-group.btn-group-justified
a(ng-click='$root.control.menu()', title='{{"Menu"|translate}}').btn.btn-primary.btn-lg
i.fa.fa-bars
a(ng-click='$root.control.home()', title='{{"Home"|translate}}').btn.btn-primary.btn-lg
i.fa.fa-home
a(ng-click='$root.control.back()', title='{{"Back"|translate}}').btn.btn-primary.btn-lg
i.fa.fa-mail-reply