diff --git a/rx/templates/index.html b/rx/templates/index.html index 5414aba..8b64a09 100644 --- a/rx/templates/index.html +++ b/rx/templates/index.html @@ -26,6 +26,18 @@ setup_fft_plot(); + $.ajax({ + // Get Wenet configuration information + url: "get_config", + dataType: 'json', + async: true, + success: function(data) { + // Update the current version field. + $('#wenet-version').text("Wenet RX v" + data.version); + $('#my-callsign').text(data.callsign); + } + }); + // Handle an image update. socket.on('image_update', function(msg) { if(document.visibilityState == "hidden"){ @@ -250,7 +262,7 @@