diff options
Diffstat (limited to 'web/kvm/navbar-system.pug')
-rw-r--r-- | web/kvm/navbar-system.pug | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 7dbd3ebf..207c1841 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -6,7 +6,7 @@ li(id="system-dropdown" class="right") +navbar_led("hid-mouse-led", "led-hid-mouse") span System div(id="system-menu" class="menu") - table(class="kv" style="width: calc(100% - 20px)") + table(class="kv") tr td(class="value") Runtime settings & tools td(id="system-tool-webterm" class="feature-disabled") #[button(data-force-hide-menu data-show-window="webterm-window" class="small") • Term] @@ -22,22 +22,22 @@ li(id="system-dropdown" class="right") div(id="stream-message-no-h264" class="hidden") +menu_message("warning", "H.264 is not supported by this browser") hr - table(class="kv" style="width: calc(100% - 20px)") + table(class="kv") tr(id="stream-resolution" class="feature-disabled") td Resolution: td #[select(disabled id="stream-resolution-selector")] tr(id="stream-quality" class="feature-disabled") td JPEG quality: - td #[input(disabled type="range" id="stream-quality-slider" class="slider")] - td(id="stream-quality-value" class="value" style="min-width: 30px; max-width:30px") + td(class="value-slider") #[input(disabled type="range" id="stream-quality-slider" class="slider")] + td(id="stream-quality-value" class="value-number") tr(id="stream-h264-bitrate" class="feature-disabled") td H.264 kbps: - td #[input(disabled type="range" id="stream-h264-bitrate-slider" class="slider")] - td(id="stream-h264-bitrate-value" class="value" style="min-width: 30px; max-width:30px") + td(class="value-slider") #[input(disabled type="range" id="stream-h264-bitrate-slider" class="slider")] + td(id="stream-h264-bitrate-value" class="value-number") tr td Max FPS: - td #[input(disabled type="range" id="stream-desired-fps-slider" class="slider")] - td(id="stream-desired-fps-value" class="value" style="min-width: 30px; max-width:30px") + td(class="value-slider") #[input(disabled type="range" id="stream-desired-fps-slider" class="slider")] + td(id="stream-desired-fps-value" class="value-number") tr(id="stream-mode" class="feature-disabled") td Video #[a(target="_blank" href="https://docs.pikvm.org/webrtc") mode]: td @@ -48,8 +48,8 @@ li(id="system-dropdown" class="right") label(for="stream-mode-radio-janus") H.264 / WebRTC tr(id="stream-audio", class="feature-disabled") td Audio volume: - td #[input(type="range" id="stream-audio-volume-slider" class="slider")] - td(id="stream-audio-volume-value" class="value" style="min-width: 30px; max-width:30px") + td(class="value-slider") #[input(type="range" id="stream-audio-volume-slider" class="slider")] + td(id="stream-audio-volume-value" class="value-number") hr div(class="buttons buttons-row") button(data-force-hide-menu data-show-window="stream-window" class="row33") • Show stream @@ -69,17 +69,17 @@ li(id="system-dropdown" class="right") div(class="spoiler") table(class="kv") tr - td Mouse polling rate: - td #[input(type="range" id="hid-mouse-rate-slider" class="slider")] - td(id="hid-mouse-rate-value" class="value" style="min-width: 30px; max-width:30px") + td Polling rate: + td(class="value-slider") #[input(type="range" id="hid-mouse-rate-slider" class="slider")] + td(id="hid-mouse-rate-value" class="value-number") tr(id="hid-mouse-sens" class="feature-disabled") - td Relative mouse sensitivity: - td #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")] - td(id="hid-mouse-sens-value" class="value" style="min-width: 30px; max-width:30px") + td Relative sensitivity: + td(class="value-slider") #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")] + td(id="hid-mouse-sens-value" class="value-number") tr(id="hid-mouse-squash" class="feature-disabled") - +menu_switch_notable("hid-mouse-squash-switch", "Squash relative mouse moves", true, true) + +menu_switch_notable("hid-mouse-squash-switch", "Squash relative moves", true, true) tr - +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse mouse scrolling", true, false) + +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse scrolling", true, false) table(class="kv") tr(id="hid-connect" class="feature-disabled") +menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true) |