diff --git a/testenv/v2-hdmiusb-rpi4.override.yaml b/testenv/v2-hdmiusb-rpi4.override.yaml index d09407b7..bf7fd12b 100644 --- a/testenv/v2-hdmiusb-rpi4.override.yaml +++ b/testenv/v2-hdmiusb-rpi4.override.yaml @@ -11,6 +11,9 @@ kvmd: mouse: device: /dev/null noop: true + + wol: + mac: 00:00:00:00:00:00 msd: type: otg diff --git a/web/kvm/index.html b/web/kvm/index.html index 68643697..33de6f49 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -157,7 +157,7 @@ - + @@ -2042,9 +2042,14 @@
- +
-
No data +
+
// You can get this JSON using handle /api/info?fields=meta
+ // In the standard configuration this data
+ // is specified in the file /etc/kvmd/meta.yaml

+
No data
+
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 9f9a4f3e..0370747d 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -13,7 +13,7 @@ li(id="system-dropdown" class="right") td(id="system-tool-about") #[button(data-force-hide-menu data-show-window="about-window" class="small" i18n="kvm_text6") • About] td(id="system-tool-log") #[button(data-force-hide-menu id="open-log-button" class="small" i18n="kvm_text7") • Log] td(id="system-tool-wol" class="feature-disabled") - button(data-force-hide-menu id="gpio-button-__wol__" class="gpio-button small" data-channel="__wol__" + button(data-force-hide-menu class="__gpio-button-__wol__ __gpio-button small" data-channel="__wol__" data-confirm="Are you sure to send Wake-on-LAN packet to the server?" i18n="kvm_text8") • WoL hr div(id="stream-message-no-webrtc" class="hidden") diff --git a/web/kvm/window-about.pug b/web/kvm/window-about.pug index 5d762ea5..ddb36779 100644 --- a/web/kvm/window-about.pug +++ b/web/kvm/window-about.pug @@ -13,7 +13,6 @@ div(id="about-window" class="window") div(class="window-header") div(class="window-grab" i18n="kvm_text1") About button(class="window-button-close") #[b ×] - div(id="about") table tr @@ -28,7 +27,16 @@ div(id="about-window" class="window") | Copyright © 2018-2024 #[a(target="_blank" href="mailto:mdevaev@gmail.com") Maxim Devaev] br div(class="tabs-box") - +about_tab("meta", "Meta", true, "meta") + +about_tab("meta", "Meta", true) + div + span(class="code-comment") + | // You can get this JSON using handle #[a(target="_blank" href="/api/info?fields=meta") /api/info?fields=meta]#[br] + | // In the standard configuration this data#[br] + | // is specified in the file /etc/kvmd/meta.yaml + br + pre(id="kvmd-meta-json") + | No data + +about_tab("hardware", "Hardware", "hardware") +about_tab("version", "Version", "version")