Files
recycled-ni-neutrino/data/y-web/Y_Tools_Rcsim.yhtm
vanhofen ba2ba60e50 yWeb: rework cache categories
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7ab528ffb7
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-03-06 (Mon, 06 Mar 2023)

Origin message was:
------------------
- yWeb: rework cache categories

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

------------------
This commit was generated by Migit
2023-03-06 23:52:06 +01:00

28 lines
704 B
Plaintext

{=var-set:cancache=yPTools=}
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
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>