From d8fabca76ae754bdfce99cd2290a3faba8cfa1b2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 27 May 2025 14:05:38 +0200 Subject: Remove gui/ which is broken and unused --- gui/static/stats.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 gui/static/stats.js (limited to 'gui/static/stats.js') diff --git a/gui/static/stats.js b/gui/static/stats.js deleted file mode 100644 index 7b07099..0000000 --- a/gui/static/stats.js +++ /dev/null @@ -1,17 +0,0 @@ -var updatefunc = function(event) { - $('#statdata p').remove(); - $.getJSON('/stats.json', function(result) { - $.each(result, function(name) { - // TODO: use a hidden template inside the DOM instead - // of building the HTML here - $("

") - .append(result[name]['inputstat']['num_underruns']) - .appendTo('#statdata'); - }); - }); -} - -// Handle clicks on the to change visiblity of panes -setInterval(updatefunc, 1000); - - -- cgit v1.2.3