From 90255c8d0d69f2843c72c41faab57c3905fbf906 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 28 Nov 2018 15:44:11 +0100 Subject: Add plots to predistortion page --- gui/static/dpd/index.txt | 1 + gui/static/js/odr-predistortion.js | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 gui/static/dpd/index.txt (limited to 'gui/static') diff --git a/gui/static/dpd/index.txt b/gui/static/dpd/index.txt new file mode 100644 index 0000000..f8b8874 --- /dev/null +++ b/gui/static/dpd/index.txt @@ -0,0 +1 @@ +This folder contains plots generated by the DPDCE diff --git a/gui/static/js/odr-predistortion.js b/gui/static/js/odr-predistortion.js index 6c5f4d3..73c3b94 100644 --- a/gui/static/js/odr-predistortion.js +++ b/gui/static/js/odr-predistortion.js @@ -33,6 +33,10 @@ function calibraterefresh() { $(function(){ $('#calibraterefreshbtn').click(calibraterefresh); + $('#refreshframesbtn').click(function() { + $('#txframeimg').src("dpd/txframe.png"); + $('#rxframeimg').src("dpd/rxframe.png"); + }); $('#calibratebtn').click(function() { doApiRequestPOST("/api/calibrate", {}, function(data) { -- cgit v1.2.3