summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-03-05 19:48:29 +0200
committerMaxim Devaev <[email protected]>2023-03-05 19:48:29 +0200
commite3abafdab9b0dc55c9f592687cb7c79f6a67f5f4 (patch)
tree705db4d1ee38779d0faadca93f290bc7db7e6ef2 /web
parentacf55a3b2742105af682999626dc733a110f5b86 (diff)
Fixed pikvm/pikvm#958: Version in the footer
Diffstat (limited to 'web')
-rw-r--r--web/kvm/index.html2
-rw-r--r--web/kvm/index.pug7
-rw-r--r--web/share/js/kvm/session.js2
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>&nbsp; | &nbsp;<span id="kvmd-version-kvmd" title="KVMD version"></span>&nbsp; | &nbsp;<span id="kvmd-version-streamer" title="Streamer version"></span></li>
<li class="footer-right"><a target="_blank" href="https://pikvm.org">PiKVM Project</a>&nbsp; | &nbsp;<a target="_blank" href="https://docs.pikvm.org">Documentation</a>&nbsp; | &nbsp;<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)")
+ | &nbsp; | &nbsp;
+ span(id="kvmd-version-kvmd" title="KVMD version")
+ | &nbsp; | &nbsp;
+ span(id="kvmd-version-streamer" title="Streamer version")
li(class="footer-right")
a(target="_blank" href="https://pikvm.org") PiKVM Project
| &nbsp; | &nbsp;
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) {