mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Added portrait basic mode.
This commit is contained in:
parent
fe2ccdfc17
commit
09c59e3a44
3 changed files with 27 additions and 6 deletions
|
@ -15,7 +15,6 @@
|
|||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
.basic-mode .stf-vnc-bottom .btn-primary:hover,
|
||||
.basic-mode .stf-vnc-bottom .btn-primary.active {
|
||||
background: #007aff;
|
||||
|
@ -25,3 +24,25 @@
|
|||
.basic-mode .stf-menu .stf-top-bar {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.basic-mode .basic-remote-control {
|
||||
width: 100%;
|
||||
/*width: 320px;*/
|
||||
/*height: 485px;*/
|
||||
}
|
||||
|
||||
.guest-landscape .basic-mode .stf-vnc-bottom {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.guest-landscape .basic-mode .pane-top-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.guest-landscape .basic-mode .pane-center {
|
||||
top: 0 !important;
|
||||
}
|
||||
|
||||
.guest-landscape .basic-mode .fill-height {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
div(ng-if='$root.basicMode')
|
||||
div(style='width: 320px; height: 482px;')
|
||||
.remote-control
|
||||
div(ng-if='$root.basicMode').fill-height
|
||||
div.fill-height.basic-remote-control
|
||||
.remote-control.fill-height
|
||||
div(ng-include='"control-panes/device-control/device-control.jade"').fill-height
|
||||
|
||||
div(ng-if='!$root.basicMode')
|
||||
|
|
|
@ -13,13 +13,13 @@ html
|
|||
title STF
|
||||
body(ng-app='app', ng-cloak).bg-1.fill-height
|
||||
div(ng-controller='LayoutCtrl', basic-mode).fill-height
|
||||
div(pane).fill-height
|
||||
.pane-top(pane).fill-height
|
||||
.pane-top-bar(pane, pane-anchor='north', pane-size='44px', pane-min='44px', pane-max='44px', pane-handle='')
|
||||
div(ng-include='"menu.jade"')
|
||||
socket-state
|
||||
div(growl)
|
||||
|
||||
div(pane, pane-anchor='center').fill-height
|
||||
.pane-center(pane, pane-anchor='center').fill-height
|
||||
div(ng-view).fill-height
|
||||
|
||||
script(src='/static/build/bundle.js')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue