diff options
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 16 | ||||
-rw-r--r-- | web/kvm/navbar-atx.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar-gpio.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar-macro.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar-msd.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar-text.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar.pug | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index f9467097..b2d6789d 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -60,7 +60,7 @@ <ul id="navbar"> <li class="left"><a id="logo" href="/">← <img class="svg-gray" src="/share/svg/logo.svg" alt="&pi;-kvm"></a></li> <div class="hidden" id="hw-health-dropdown"> - <li class="left"><a class="menu-button" href="#"><img class="hidden" data-dont-hide-menu id="hw-health-undervoltage-led" src="/share/svg/led-undervoltage.svg"><img class="hidden" data-dont-hide-menu id="hw-health-overheating-led" src="/share/svg/led-overheating.svg"></a> + <li class="left"><a class="menu-button" href="#"><img class="hidden" id="hw-health-undervoltage-led" src="/share/svg/led-undervoltage.svg"><img class="hidden" id="hw-health-overheating-led" src="/share/svg/led-overheating.svg"></a> <div class="menu" data-dont-hide-menu> <div class="text"> <table> @@ -108,7 +108,7 @@ </li> </div> <div class="hidden" id="fan-health-dropdown"> - <li class="left"><a class="menu-button" href="#"><img class="hidden" data-dont-hide-menu id="fan-health-led" src="/share/svg/led-fan.svg"></a> + <li class="left"><a class="menu-button" href="#"><img class="hidden" id="fan-health-led" src="/share/svg/led-fan.svg"></a> <div class="menu" data-dont-hide-menu> <div class="text"> <table> @@ -139,7 +139,7 @@ </div> </li> </div> - <li class="right" id="system-dropdown"><a class="menu-button" href="#"><img class="led-gray" data-dont-hide-menu id="link-led" src="/share/svg/led-link.svg"><img class="led-gray" data-dont-hide-menu id="stream-led" src="/share/svg/led-stream.svg"><img class="led-gray" data-dont-hide-menu id="hid-keyboard-led" src="/share/svg/led-hid-keyboard.svg"><img class="led-gray" data-dont-hide-menu id="hid-mouse-led" src="/share/svg/led-hid-mouse.svg">System</a> + <li class="right" id="system-dropdown"><a class="menu-button" href="#"><img class="led-gray" id="link-led" src="/share/svg/led-link.svg"><img class="led-gray" id="stream-led" src="/share/svg/led-stream.svg"><img class="led-gray" id="hid-keyboard-led" src="/share/svg/led-hid-keyboard.svg"><img class="led-gray" id="hid-mouse-led" src="/share/svg/led-hid-mouse.svg"><span>System</span></a> <div class="menu" data-dont-hide-menu id="system-menu"> <table class="kv" style="width: calc(100% - 20px)"> <tr> @@ -335,7 +335,7 @@ </div> </div> </li> - <li class="right feature-disabled" id="atx-dropdown"><a class="menu-button" href="#"><img class="led-gray" data-dont-hide-menu id="atx-power-led" src="/share/svg/led-atx-power.svg"><img class="led-gray" data-dont-hide-menu id="atx-hdd-led" src="/share/svg/led-atx-hdd.svg">ATX</a> + <li class="right feature-disabled" id="atx-dropdown"><a class="menu-button" href="#"><img class="led-gray" id="atx-power-led" src="/share/svg/led-atx-power.svg"><img class="led-gray" id="atx-hdd-led" src="/share/svg/led-atx-hdd.svg"><span>ATX</span></a> <div class="menu" data-dont-hide-menu> <div class="text"><b>Control the server's power<br></b><sub>Use the short click for ACPI shutdown</sub></div> <hr> @@ -359,7 +359,7 @@ </div> </div> </li> - <li class="right feature-disabled" id="msd-dropdown"><a class="menu-button" href="#"><img class="led-gray" data-dont-hide-menu id="msd-led" src="/share/svg/led-msd.svg">Drive</a> + <li class="right feature-disabled" id="msd-dropdown"><a class="menu-button" href="#"><img class="led-gray" id="msd-led" src="/share/svg/led-msd.svg"><span>Drive</span></a> <div class="menu" data-dont-hide-menu id="msd-menu"> <div class="text"><b>Mass Storage Drive: </b><span id="msd-status"></span><br></div> <hr> @@ -570,7 +570,7 @@ </div> </div> </li> - <li class="right" id="macro-dropdown"><a class="menu-button" href="#"><img class="led-gray" data-dont-hide-menu id="hid-recorder-led" src="/share/svg/led-gear.svg">Macro</a> + <li class="right" id="macro-dropdown"><a class="menu-button" href="#"><img class="led-gray" id="hid-recorder-led" src="/share/svg/led-gear.svg"><span>Macro</span></a> <div class="menu" data-dont-hide-menu> <div class="text"><b>Record and play HID/ATX/GPIO actions<br></b><sub>For security reasons, the record will not be saved on the PiKVM</sub></div> <hr> @@ -612,7 +612,7 @@ </div> </div> </li> - <li class="right" id="text-dropdown"><a class="menu-button" href="#"><img class="feature-disabled" data-dont-hide-menu id="stream-ocr-led" src="/share/svg/led-gear.svg">Text</a> + <li class="right" id="text-dropdown"><a class="menu-button" href="#"><img class="feature-disabled" id="stream-ocr-led" src="/share/svg/led-gear.svg"><span>Text</span></a> <div class="menu" data-dont-hide-menu> <div class="text"><b>Paste text as keypress sequence<br></b><sub>Please note that PiKVM cannot switch the keyboard layout</sub></div> <hr> @@ -747,7 +747,7 @@ </table> </div> </li> - <li class="right feature-disabled" id="gpio-dropdown"><a class="menu-button" id="gpio-menu-button" href="#">GPIO</a> + <li class="right feature-disabled" id="gpio-dropdown"><a class="menu-button" id="gpio-menu-button" href="#"><span>GPIO</span></a> <div class="menu" data-dont-hide-menu id="gpio-menu"></div> </li> </ul> diff --git a/web/kvm/navbar-atx.pug b/web/kvm/navbar-atx.pug index 4122ca88..30bffaa2 100644 --- a/web/kvm/navbar-atx.pug +++ b/web/kvm/navbar-atx.pug @@ -2,7 +2,7 @@ li(id="atx-dropdown" class="right feature-disabled") a(class="menu-button" href="#") +navbar_led("atx-power-led", "led-atx-power") +navbar_led("atx-hdd-led", "led-atx-hdd") - | ATX + span ATX div(data-dont-hide-menu class="menu") div(class="text") b Control the server's power#[br] diff --git a/web/kvm/navbar-gpio.pug b/web/kvm/navbar-gpio.pug index ed5000ac..e8424ef7 100644 --- a/web/kvm/navbar-gpio.pug +++ b/web/kvm/navbar-gpio.pug @@ -1,4 +1,4 @@ li(id="gpio-dropdown" class="right feature-disabled") a(class="menu-button" id="gpio-menu-button" href="#") - | GPIO + span GPIO div(data-dont-hide-menu id="gpio-menu" class="menu") diff --git a/web/kvm/navbar-macro.pug b/web/kvm/navbar-macro.pug index 7d3ab18f..73b88c63 100644 --- a/web/kvm/navbar-macro.pug +++ b/web/kvm/navbar-macro.pug @@ -1,7 +1,7 @@ li(id="macro-dropdown" class="right") a(class="menu-button" href="#") +navbar_led("hid-recorder-led", "led-gear") - | Macro + span Macro div(data-dont-hide-menu class="menu") div(class="text") b Record and play HID/ATX/GPIO actions#[br] diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug index d382c5b2..14e2d956 100644 --- a/web/kvm/navbar-msd.pug +++ b/web/kvm/navbar-msd.pug @@ -1,7 +1,7 @@ li(id="msd-dropdown" class="right feature-disabled") a(class="menu-button" href="#") +navbar_led("msd-led", "led-msd") - | Drive + span Drive div(data-dont-hide-menu id="msd-menu" class="menu") div(class="text") b Mass Storage Drive: diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 499e34e1..550325ae 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -4,7 +4,7 @@ li(id="system-dropdown" class="right") +navbar_led("stream-led", "led-stream") +navbar_led("hid-keyboard-led", "led-hid-keyboard") +navbar_led("hid-mouse-led", "led-hid-mouse") - | System + span System div(data-dont-hide-menu id="system-menu" class="menu") table(class="kv" style="width: calc(100% - 20px)") tr diff --git a/web/kvm/navbar-text.pug b/web/kvm/navbar-text.pug index 9b50f0e1..afc7a70b 100644 --- a/web/kvm/navbar-text.pug +++ b/web/kvm/navbar-text.pug @@ -1,7 +1,7 @@ li(id="text-dropdown" class="right") a(class="menu-button" href="#") +navbar_led("stream-ocr-led", "led-gear", "feature-disabled") - | Text + span Text div(data-dont-hide-menu class="menu") div(class="text") b Paste text as keypress sequence#[br] diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug index 9703344e..98456765 100644 --- a/web/kvm/navbar.pug +++ b/web/kvm/navbar.pug @@ -1,5 +1,5 @@ mixin navbar_led(id, icon, cls="led-gray") - img(data-dont-hide-menu id=id, class=cls src=`${svg_dir}/${icon}.svg`) + img(id=id, class=cls src=`${svg_dir}/${icon}.svg`) mixin menu_message(icon, short, classes="") div(class="text") |