summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-system.pug
diff options
context:
space:
mode:
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") • Take a screenshot
- hr
- button(data-force-hide-menu id="show-stream-button") • Show stream
- button(data-force-hide-menu id="show-keyboard-button") • Show keyboard
- button(data-force-hide-menu id="show-about-button") • 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 & 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") • Show stream
+ button(disabled data-force-hide-menu id="stream-screenshot-button" class="row33") • 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") • Reset stream
- button(disabled data-force-hide-menu id="hid-reset-button") • Reset keyboard & mouse
- button(disabled data-force-hide-menu id="msd-reset-button" class="feature-disabled") • Reset drive
+ div(class="buttons buttons-row")
+ button(data-force-hide-menu id="show-keyboard-button" class="row50") • 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") • Open log
+ div(class="buttons buttons-row")
+ button(data-force-hide-menu id="show-about-button" class="row50") • Show about
+ button(data-force-hide-menu id="open-log-button" class="row50") • Open log
div(id="wol" class="buttons feature-disabled")
hr
- button(disabled id="wol-wakeup-button") • Wake on LAN server
+ button(disabled id="wol-wakeup-button") • Wake-on-LAN server