1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 12:00:08 +02:00

Preparing for the future, the device will rotate.

This commit is contained in:
Gunther Brunner 2014-04-07 19:47:59 +09:00
parent 9ce7f545a2
commit 09d4212965
2 changed files with 12 additions and 3 deletions

View file

@ -27,8 +27,6 @@
i.fa.fa-2x.fa-download.drop-area-icon i.fa.fa-2x.fa-download.drop-area-icon
p.drop-area-text(translate) Drop file to upload p.drop-area-text(translate) Drop file to upload
//treecontrol.tree-classic(tree-model='treeData', options='treeOptions') //treecontrol.tree-classic(tree-model='treeData', options='treeOptions')
span employee: {{node.name}} age {{node.age}} span employee: {{node.name}} age {{node.age}}

View file

@ -5,12 +5,23 @@
.stf-vnc-navbar.as-row .stf-vnc-navbar.as-row
a.stf-vnc-device-name.cursor.dropdown-toggle a.stf-vnc-device-name.cursor.dropdown-toggle
p {{ $root.device.serial }} {{ $root.device.present ? 'present' : 'absent' }} p {{ $root.device.serial }} {{ $root.device.present ? 'present' : 'absent' }}
.pull-right .pull-right
button(ng-click='$root.control.identify()', tooltip='Find Device', tooltip-placement='bottom').btn.btn-sm.btn-info-outline
i.fa.fa-info
span
button(type='button', ng-click='$root.control.rotate(0)', tooltip='Rotate Left', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline
i.fa.fa-rotate-left
button(type='button', ng-click='$root.control.rotate(90)', tooltip='Rotate Right', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline
i.fa.fa-rotate-right
button(type='button', ng-model='showScreen', btn-checkbox).btn.btn-sm.btn-danger 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='{{"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 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='showScreen = !showScreen') Show/Hide
button(ng-click='$root.control.identify()') Identify