diff --git a/data/y-web/Y_Main.css b/data/y-web/Y_Main.css index 316c10c2d..14a1421b1 100644 --- a/data/y-web/Y_Main.css +++ b/data/y-web/Y_Main.css @@ -969,6 +969,9 @@ a.timer { #screenshot_header { height: 30px; } +table.screenshot { + clear: both; +} td#remote, td.shot { vertical-align: top; diff --git a/data/y-web/Y_Tools_Boxcontrol.yhtm b/data/y-web/Y_Tools_Boxcontrol.yhtm index 701da8e01..ee0343312 100644 --- a/data/y-web/Y_Tools_Boxcontrol.yhtm +++ b/data/y-web/Y_Tools_Boxcontrol.yhtm @@ -17,11 +17,12 @@ function goUrl(_url){ } function set_btn_standby(){ var res = trim(loadSyncURL("/control/standby")); - var color = "red"; + var color = "gray"; switch(res){ case "off": color = "green"; break; + case "on": color = "red"; break; } - $("btn_standby").setStyle({borderColor: color}); + document.getElementById('btn_standby').style.borderColor = color; } function standby(_standby){ var _cec = (document.getElementById('checkCEC').checked == true) ? "on" : "off"; @@ -29,14 +30,12 @@ function standby(_standby){ } function init() { set_btn_standby(); -} -function get_data() { - set_btn_standby(); + window.setInterval("set_btn_standby();", 5000); } //]]> - +
{=var-set:help_url=Help-BoxControl-Control=}{=var-set:menu={=L:bc.menue.control=}=}{=include-block:Y_Blocks.txt;work_menu=}
@@ -105,10 +104,5 @@ function get_data() {
-