conf template

This commit is contained in:
sam 2020-09-28 01:04:05 +02:00
parent 60da52df35
commit 4470cff98c
12 changed files with 216 additions and 69 deletions

View file

@ -378,7 +378,6 @@
<script type="text/javascript">
var LJ = 'ws://192.168.2.43:9001/'
var LJ = 'ws://192.168.2.43:9001/'
var _WS = {
@ -399,7 +398,7 @@
},
onClose: function () {
_WS.showline1('<span style="color: red;">LJ2 DISCONNECTED</span> ');
_WS.showline1('<span style="color: red;">LJ DISCONNECTED</span> ');
},
@ -445,6 +444,16 @@
newlaser(res[1])
break;
case "/lack/":
console.log("/lack "+res[1])
document.getElementById(res[0].slice(1)).value = res[1];
break;
case "/lstt/":
console.log("/lstt "+res[1])
document.getElementById(res[0].slice(1)).value = res[1];
break;
default:
//console.log("test "+res[0].slice(1)+" "+res[1]);
document.getElementById(res[0].slice(1)).value = res[1];