From e42edddd33382855202ff2f17e6b77d65f6ad152 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 20 Sep 2024 11:23:53 +0200 Subject: Show RC params in dashboard --- static/dashboard.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 static/dashboard.js (limited to 'static/dashboard.js') diff --git a/static/dashboard.js b/static/dashboard.js new file mode 100644 index 0000000..6eb8274 --- /dev/null +++ b/static/dashboard.js @@ -0,0 +1,5 @@ +async function btn_dash_update(element_clicked, module, param) { + let value = element_clicked.parentElement.children[0].value; + let data = {'module': module, 'param': param, 'value': value}; + await post('/api/set_rc', data); +} -- cgit v1.2.3