From 19593d5c6a96b66fefb4c2b01d97538acdfdf8d7 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 10 Feb 2014 21:02:10 +0100 Subject: [PATCH] - yWeb: add CEC option to standby switches --- src/nhttpd/web/Y_Tools_Boxcontrol.yhtm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/nhttpd/web/Y_Tools_Boxcontrol.yhtm b/src/nhttpd/web/Y_Tools_Boxcontrol.yhtm index 1e98c9d64..ade978061 100644 --- a/src/nhttpd/web/Y_Tools_Boxcontrol.yhtm +++ b/src/nhttpd/web/Y_Tools_Boxcontrol.yhtm @@ -15,6 +15,10 @@ function goUrl(_url){ } $("out").update(res); } +function standby(_standby){ + var _cec = (document.getElementById('checkCEC').checked == true) ? "on" : "off"; + goUrl("/control/standby?"+_standby+"&cec="+_cec); +} //]]> @@ -32,9 +36,10 @@ function goUrl(_url){ - - + + + CEC: {=L:bc.control.playback=}{=L:bc.control.recording_mode=}