yWeb/Y_Tools: drop prototype.js; use jquery

Origin commit data
------------------
Branch: ni/coolstream
Commit: 839e7aa4a8
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-02 (Thu, 02 Feb 2023)

Origin message was:
------------------
- yWeb/Y_Tools: drop prototype.js; use jquery

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-02-02 22:12:49 +01:00
parent caec54eb9d
commit 3a24668679
3 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
{=var-set:cancache=yPyes=}
{=include-block:Y_Blocks.txt;head=}
{=include-block:Y_Blocks.txt;jQuery=}
<script type="text/javascript" src="/Y_Baselib.js"></script>
<script type="text/javascript" src="/prototype.js"></script>
<script type="text/javascript">
//<![CDATA[
function goConfirmUrl(_meld, _url){
@@ -13,7 +13,7 @@ function goUrl(_url){
case "1": res="on"; break;
case "0": res="off"; break;
}
$("out").update(res);
jQuery('#out').text(res);
}
function set_btn_standby(){
var res = trim(loadSyncURL("/control/standby"));
@@ -22,10 +22,10 @@ function set_btn_standby(){
case "off": color = "green"; break;
case "on": color = "red"; break;
}
document.getElementById('btn_standby').style.borderColor = color;
id('btn_standby').style.borderColor = color;
}
function standby(_standby){
var _cec = (document.getElementById('checkCEC').checked == true) ? "on" : "off";
var _cec = (id('checkCEC').checked == true) ? "on" : "off";
goUrl("/control/standby?"+_standby+"&cec="+_cec);
}
function init() {

View File

@@ -1,21 +1,21 @@
{=include-block:Y_Blocks.txt;head=}
{=include-block:Y_Blocks.txt;jQuery=}
<script type="text/javascript" src="/Y_Baselib.js"></script>
<script type="text/javascript" src="/prototype.js"></script>
<script type="text/javascript">
//<![CDATA[
function do_start(){
$('statusline').show();
jQuery('#statusline').show();
do_check();
}
function do_stop(){
$('statusline').hide();
jQuery('#statusline').hide();
}
/*sLog*/
var sLog_body;
var sLog_line_number;
function sLog_init(){
sLog_line_number = 0;
sLog_body=document.getElementById("slog_list");
sLog_body=id("slog_list");
}
function sLog_clear(){
while(sLog_body.childNodes.length > 0) {

View File

@@ -1,3 +1,3 @@
version=3.0.8
version=3.0.9
date=02.02.2023
info=NI-Neutrino-Webinterface