summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-switch.pug
diff options
context:
space:
mode:
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") • Settings
+ hr
+ +menu_switch("switch-atx-ask-switch", "Ask ATX click confirmation", true, true)
+ hr
+ table(id="switch-chain" class="kv")