- yweb: a more suitable caption of remotecontrol button

This commit is contained in:
svenhoefer
2013-06-25 10:37:00 +02:00
parent 177eb70b91
commit 5f87a1246d
4 changed files with 17 additions and 5 deletions

View File

@@ -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);}

View File

@@ -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=}");
}
//]]>
</script>
</head>
<body onload="do_snapshot();">
<body onload="do_switchrc_txt(); do_snapshot();">
<div class="work_box" id="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:help_url==}{=var-set:menu={=L:bc.menue.screenshot=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
@@ -85,7 +93,7 @@ function do_zoomshot(){
<div class="left">
<button name="snapshot" ytype="snapshot" onclick="do_snapshot()">{=L:bc.screenshot.create=}</button>&nbsp;
<button name="clearshot" ytype="clearshot" onclick="do_clearshot()">{=L:bc.screenshot.delete=}</button>&nbsp;
<button name="zoomshot" ytype="zoomshot" onclick="do_zoomshot()">{=L:bc.screenshot.zoom=}</button>&nbsp;
<button name="switchrc" ytype="switchrc" onclick="do_switchrc()" id="switchrc">{=L:bc.control.remote=}</button>&nbsp;
</div>
<div class="right">
<form onsubmit="do_snapshot(); return false">

View File

@@ -54,6 +54,8 @@ directory=Verzeichnis
filename=Dateiname
restriced_by_management_ip=Zugriff verwehrt wg. ManagementIP
automatic=automatisch
show=zeigen
hide=verstecken
# ==========Main Menue
main.boxcontrol=Boxsteuerung

View File

@@ -54,6 +54,8 @@ directory=Directory
filename=Filename
restriced_by_management_ip=restricted by ManagementIP
automatic=automatically
show=show
hide=hide
#========= MAIN Menue
main.live_tv_desc=LiveTV