summaryrefslogtreecommitdiff
path: root/web/share
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-10-28 02:32:41 +0300
committerMaxim Devaev <[email protected]>2022-10-28 02:32:41 +0300
commit6ea60321b04120a847700a384792388bf60bbfa8 (patch)
tree2e154ca1e962ee9d6ef9157ecbdbeaad5c245a73 /web/share
parent5eaf2aa2478789a339ac3f78193cef281c06a676 (diff)
improved sliders in the system menu
Diffstat (limited to 'web/share')
-rw-r--r--web/share/css/kvm/system.css1
-rw-r--r--web/share/css/navbar.css10
-rw-r--r--web/share/js/kvm/mouse.js2
3 files changed, 12 insertions, 1 deletions
diff --git a/web/share/css/kvm/system.css b/web/share/css/kvm/system.css
index b2f9c46c..ec064c07 100644
--- a/web/share/css/kvm/system.css
+++ b/web/share/css/kvm/system.css
@@ -22,4 +22,5 @@
div#system-menu {
min-width: 400px;
+ max-width: 400px;
}
diff --git a/web/share/css/navbar.css b/web/share/css/navbar.css
index a083c48f..a33af82c 100644
--- a/web/share/css/navbar.css
+++ b/web/share/css/navbar.css
@@ -158,6 +158,16 @@ ul#navbar li div.menu table.kv td.value {
max-width: 310px;
overflow: hidden;
}
+ul#navbar li div.menu table.kv td.value-slider {
+ width: 100%;
+}
+ul#navbar li div.menu table.kv td.value-number {
+ font-weight: bold;
+ max-width: 310px;
+ overflow: hidden;
+ min-width: 40px;
+ max-width: 40px;
+}
ul#navbar li div.menu div.buttons button,
ul#navbar li div.menu div.buttons select {
diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js
index a2c7e2c9..f78c56f9 100644
--- a/web/share/js/kvm/mouse.js
+++ b/web/share/js/kvm/mouse.js
@@ -105,7 +105,7 @@ export function Mouse(__getGeometry, __recordWsEvent) {
};
var __updateRate = function(value) {
- $("hid-mouse-rate-value").innerHTML = value;
+ $("hid-mouse-rate-value").innerHTML = value + " ms";
tools.storage.set("hid.mouse.rate", value);
if (__timer) {
clearInterval(__timer);