mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 15:55:16 +02:00
Device screen now has the ability to hide and clear the canvas.
This commit is contained in:
@@ -16,9 +16,10 @@
|
||||
button(type='button', ng-click='control.rotate(90)', tooltip='Landscape', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline
|
||||
i.fa.fa-mobile.fa-rotate-90
|
||||
|
||||
// NOTE: ui-bootstrap bug: tooltip breaks btn-checkbox so don't put in the same button
|
||||
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
|
||||
i(ng-show='showScreen', tooltip-html-unsafe='{{"Hide Screen"|translate}}', tooltip-placement='bottom').fa.fa-eye
|
||||
i(ng-show='!showScreen', tooltip-html-unsafe='{{"Show Screen"|translate}}', tooltip-placement='bottom').fa.fa-eye-slash
|
||||
|
||||
.device-name-container(dropdown)
|
||||
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
|
||||
|
||||
Reference in New Issue
Block a user