Device screen now has the ability to hide and clear the canvas.

This commit is contained in:
Gunther Brunner
2014-05-14 18:12:22 +09:00
parent d1fa99a4c5
commit d59c156297
5 changed files with 10 additions and 29 deletions

View File

@@ -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