Files
recycled-ni-neutrino/data/y-web/Y_Tools_Rcsim.yhtm
vanhofen 1a5e324f02 yWeb: introduce head_close block
Origin commit data
------------------
Branch: ni/coolstream
Commit: 25b6cc49ba
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-01 (Wed, 01 Feb 2023)

Origin message was:
------------------
- yWeb: introduce head_close block

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2023-02-01 23:44:48 +01:00

30 lines
766 B
Plaintext

{=var-set:cancache=yPyes=}
{=include-block:Y_Blocks.txt;head=}
<script type="text/javascript" src="/Y_Baselib.js"></script>
<script type="text/javascript">
//<![CDATA[
function rcsim(_key)
{
if(_key == "KEY_POWER"){
var __result = trim(loadSyncURL("/control/standby"));
if (__result == "off") {
if(confirm("{=L:bc.control.shutdown.ask=}") != true)
return;
}
}
loadSyncURL("/control/rcem?"+_key);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>
<div class="work_box" id="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:menu={=L:bc.menue.remote=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body">
{=include-block:Y_Blocks.txt;remote=}
</div>
</div>
</body>
</html>