summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-switch.pug
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-07-08 03:41:29 +0300
committerMaxim Devaev <[email protected]>2024-12-17 18:20:04 +0200
commit630610bc532299f15ff7ee12d40f617de450aae0 (patch)
treeca0a83f1aa5848a4605034c0394f1edfd0bea7ce /web/kvm/navbar-switch.pug
parente0bbf6968ef8295274793a564e717f95f42983d7 (diff)
switch
Diffstat (limited to 'web/kvm/navbar-switch.pug')
-rw-r--r--web/kvm/navbar-switch.pug19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/kvm/navbar-switch.pug b/web/kvm/navbar-switch.pug
new file mode 100644
index 00000000..455daa6f
--- /dev/null
+++ b/web/kvm/navbar-switch.pug
@@ -0,0 +1,19 @@
+li(id="switch-dropdown" class="right feature-disabled")
+ a(class="menu-button" id="switch-menu-button" href="#")
+ +navbar_led("switch-atx-power-led", "led-atx-power")
+ +navbar_led("switch-atx-hdd-led", "led-atx-hdd")
+ span Switch #[i #[sub(id="switch-active-port") ]]
+ div(id="switch-menu" class="menu")
+ table(style="border-spacing: 0px;")
+ tr
+ td
+ div(class="text")
+ b #[a(target="_blank" href="https://docs.pikvm.org/switch") PiKVM Switch] is attached#[br]
+ sub Select a port or perform any available action like ATX click
+ td
+ div(class="text")
+ button(data-force-hide-menu data-show-window="switch-window" class="small") &bull; Settings
+ hr
+ +menu_switch("switch-atx-ask-switch", "Ask ATX click confirmation", true, true)
+ hr
+ table(id="switch-chain" class="kv")