summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-system.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-30 11:23:05 +0300
committerDevaev Maxim <[email protected]>2020-11-30 11:23:10 +0300
commitf4a8a117c73dc21db0960c3353184d3698484ed0 (patch)
tree59ea85b01d8193a6a7cd59bc146f7f0a056bc59b /web/kvm/navbar-system.pug
parent58d36c8fdb72013c6b4f5c3e4609b27a8f21dab1 (diff)
navbar change
Diffstat (limited to 'web/kvm/navbar-system.pug')
-rw-r--r--web/kvm/navbar-system.pug67
1 files changed, 32 insertions, 35 deletions
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index efcc4a6d..eb5980ed 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -6,47 +6,44 @@ li(class="right")
+navbar_led("hid-mouse-led", "led-hid-mouse")
| System
div(data-dont-hide-menu class="menu")
- div(class="buttons")
- button(disabled data-force-hide-menu id="stream-screenshot-button") &bull; Take a screenshot
- hr
- button(data-force-hide-menu id="show-stream-button") &bull; Show stream
- button(data-force-hide-menu id="show-keyboard-button") &bull; Show keyboard
- button(data-force-hide-menu id="show-about-button") &bull; Show about
- div(id="stream-resolution" class="feature-disabled")
- hr
- div(class="text")
- | Stream resolution:
- div(class="stream-param-box")
- select(disabled data-dont-hide-menu id="stream-resolution-selector")
- div(id="stream-quality" class="feature-disabled")
- hr
- div(class="text")
- | Stream quality: #[span(id="stream-quality-value") 80%]
- div(class="stream-param-box")
- input(disabled type="range" id="stream-quality-slider" class="slider")
- hr
div(class="text")
- | Stream FPS: #[span(id="stream-desired-fps-value") 0]
- div(class="stream-param-box")
- input(disabled type="range" id="stream-desired-fps-slider" class="slider")
+ b Runtime settings &amp; tools#[br]
+ sub Lower stream params may improve performance in a poor network
hr
- div(class="text")
- | Stream size: #[span(id="stream-size-value") 100%]
- div(class="stream-param-box")
- input(type="range" id="stream-size-slider" class="slider")
+ table(class="kv" style="width: calc(100% - 20px)")
+ tr(id="stream-resolution" class="feature-disabled")
+ td Resolution:
+ td #[select(disabled data-dont-hide-menu id="stream-resolution-selector")]
+ tr(id="stream-quality" class="feature-disabled")
+ td Image quality:
+ td #[input(disabled type="range" id="stream-quality-slider" class="slider")]
+ td(id="stream-quality-value" class="value") 80%
+ tr
+ td Max FPS:
+ td #[input(disabled type="range" id="stream-desired-fps-slider" class="slider")]
+ td(id="stream-desired-fps-value" class="value") 0
+ tr
+ td Stream size:
+ td #[input(type="range" id="stream-size-slider" class="slider")]
+ td(id="stream-size-value" class="value" style="width: 4em") 100%
+ hr
+ +menu_switch("stream-auto-resize-checkbox", "Auto-resize stream window", true, true)
hr
- +menu_switch("stream-auto-resize-checkbox", "Auto-resize stream")
+ div(class="buttons buttons-row")
+ button(data-force-hide-menu id="show-stream-button" class="row33") &bull; Show stream
+ button(disabled data-force-hide-menu id="stream-screenshot-button" class="row33") &bull; Screenshot
+ button(disabled id="stream-reset-button" class="row33") Reset stream
div(id="mouse-squash" class="feature-disabled")
hr
- +menu_switch("mouse-squash-checkbox", "Squash mouse moves")
+ +menu_switch("mouse-squash-checkbox", "Squash mouse moves", true, true)
hr
- div(class="buttons")
- button(disabled data-force-hide-menu id="stream-reset-button") &bull; Reset stream
- button(disabled data-force-hide-menu id="hid-reset-button") &bull; Reset keyboard &amp; mouse
- button(disabled data-force-hide-menu id="msd-reset-button" class="feature-disabled") &bull; Reset drive
+ div(class="buttons buttons-row")
+ button(data-force-hide-menu id="show-keyboard-button" class="row50") &bull; Show keyboard
+ button(disabled id="hid-reset-button" class="row50") Reset HID
hr
- div(class="buttons")
- button(data-force-hide-menu id="open-log-button") &bull; Open log
+ div(class="buttons buttons-row")
+ button(data-force-hide-menu id="show-about-button" class="row50") &bull; Show about
+ button(data-force-hide-menu id="open-log-button" class="row50") &bull; Open log
div(id="wol" class="buttons feature-disabled")
hr
- button(disabled id="wol-wakeup-button") &bull; Wake on LAN server
+ button(disabled id="wol-wakeup-button") &bull; Wake-on-LAN server