diff options
author | Maxim Devaev <[email protected]> | 2023-03-05 19:48:29 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-05 19:48:29 +0200 |
commit | e3abafdab9b0dc55c9f592687cb7c79f6a67f5f4 (patch) | |
tree | 705db4d1ee38779d0faadca93f290bc7db7e6ef2 | |
parent | acf55a3b2742105af682999626dc733a110f5b86 (diff) |
Fixed pikvm/pikvm#958: Version in the footer
-rw-r--r-- | web/kvm/index.html | 2 | ||||
-rw-r--r-- | web/kvm/index.pug | 7 | ||||
-rw-r--r-- | web/share/js/kvm/session.js | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index a04bdcee..5683deff 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -2520,7 +2520,7 @@ <iframe id="webterm-iframe" src="" style="width: 100%; height: 100%"></iframe> </div> <ul class="footer"> - <li class="footer-left" id="kvmd-meta-server-host"></li> + <li class="footer-left"><span id="kvmd-meta-server-host" title="Server name (see System/About)"></span> | <span id="kvmd-version-kvmd" title="KVMD version"></span> | <span id="kvmd-version-streamer" title="Streamer version"></span></li> <li class="footer-right"><a target="_blank" href="https://pikvm.org">PiKVM Project</a> | <a target="_blank" href="https://docs.pikvm.org">Documentation</a> | <a target="_blank" href="https://pikvm.org/support">Support</a></li> </ul> </body> diff --git a/web/kvm/index.pug b/web/kvm/index.pug index ed472b00..a6c53f70 100644 --- a/web/kvm/index.pug +++ b/web/kvm/index.pug @@ -12,7 +12,12 @@ block body include windows.pug ul(class="footer") - li(id="kvmd-meta-server-host" class="footer-left") + li(class="footer-left") + span(id="kvmd-meta-server-host" title="Server name (see System/About)") + | | + span(id="kvmd-version-kvmd" title="KVMD version") + | | + span(id="kvmd-version-streamer" title="Streamer version") li(class="footer-right") a(target="_blank" href="https://pikvm.org") PiKVM Project | | diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js index 224f0e0f..cd3f592b 100644 --- a/web/share/js/kvm/session.js +++ b/web/share/js/kvm/session.js @@ -215,6 +215,8 @@ export function Session() { ${state.kernel.system} kernel: ${__formatUname(state.kernel)} `; + $("kvmd-version-kvmd").innerHTML = state.kvmd.version; + $("kvmd-version-streamer").innerHTML = state.streamer.version; }; var __formatStreamerFeatures = function(features) { |