diff --git a/res/app/control-panes/device-control/device-control.css b/res/app/control-panes/device-control/device-control.css index 0c370f41..cfe2f48f 100644 --- a/res/app/control-panes/device-control/device-control.css +++ b/res/app/control-panes/device-control/device-control.css @@ -77,6 +77,11 @@ device-screen textarea { margin-right: 0; } +.stf-device-control .orientation-degree { + min-width: 34px; + display: inline-block; +} + /* VNC buttons */ .stf-vnc-bottom .btn-primary:hover { background: rgba(255, 255, 255, 1.0); @@ -142,4 +147,4 @@ device-screen textarea { width: 28px; min-height: 10px; text-align: center; -} \ No newline at end of file +} diff --git a/res/app/control-panes/device-control/device-control.jade b/res/app/control-panes/device-control/device-control.jade index ce60e8aa..02f26028 100644 --- a/res/app/control-panes/device-control/device-control.jade +++ b/res/app/control-panes/device-control/device-control.jade @@ -8,6 +8,8 @@ button(ng-click='control.identify()', tooltip='Find Device', tooltip-placement='bottom').btn.btn-sm.btn-info-outline i.fa.fa-info + span.orientation-degree {{device.display.orientation}}° + span button(type='button', ng-click='control.rotate(0)', tooltip='Portrait', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline i.fa.fa-mobile