diff --git a/src/nhttpd/web/Y_Main.css b/src/nhttpd/web/Y_Main.css index 705b64cad..ea0f859d3 100644 --- a/src/nhttpd/web/Y_Main.css +++ b/src/nhttpd/web/Y_Main.css @@ -51,7 +51,7 @@ button[ytype="timedown"]{background-image:url(/images/time_down.png);} button[ytype="timeadd"]{background-image:url(/images/time_add.png);} button[ytype="snapshot"]{background-image:url(/images/snapshot.png);} button[ytype="clearshot"]{background-image:url(/images/remove.png);} -button[ytype="zoomshot"]{background-image:url(/images/fullscreen.png);} +button[ytype="switchrc"]{background-image:url(/images/fb.png);} button[ytype="go"]{background-image:url(/images/accept.png);} button[ytype="download"]{background-image:url(/images/wget.gif);} button[ytype="clear"]{background-image:url(/images/remove.png);} diff --git a/src/nhttpd/web/Y_Tools_Screenshot.yhtm b/src/nhttpd/web/Y_Tools_Screenshot.yhtm index 6adee9bc7..2e25e5d3d 100644 --- a/src/nhttpd/web/Y_Tools_Screenshot.yhtm +++ b/src/nhttpd/web/Y_Tools_Screenshot.yhtm @@ -65,17 +65,25 @@ function do_clearshot(){ loadSyncURL("/control/exec?Y_Tools&screenshot_clear"); } -function do_zoomshot(){ - // not a really zoom-function +function do_switchrc(){ if (id('remote').style.display == 'none') $('remote').show(); else $('remote').hide(); + + do_switchrc_txt(); +} + +function do_switchrc_txt(){ + if (id('remote').style.display == 'none') + $('switchrc').update("{=L:bc.control.remote=} {=L:show=}"); + else + $('switchrc').update("{=L:bc.control.remote=} {=L:hide=}"); } //]]> -
+