mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 22:05:21 +02:00
Add realtime rotation info.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user