missing www
This commit is contained in:
parent
5f7c61f616
commit
cfc7c70d16
131 changed files with 11126 additions and 661 deletions
100
www/index.html
100
www/index.html
|
|
@ -49,7 +49,8 @@
|
|||
<div id="text" class="busled" style="font-size:1.5em;border : #242424 1px solid;background: #000;-webkit-box-shadow: 4px 6px 10px -1px rgba(0,0,0,0.72);-moz-box-shadow: 4px 6px 10px -1px rgba(0,0,0,0.72);box-shadow: 4px 6px 10px -1px rgba(0,0,0,0.72);">
|
||||
<div id="gum" class="gum" style="color: #fff";>
|
||||
<p>!! WELCOME !!<br />
|
||||
Click on the wanted Rack
|
||||
Click on the wanted Rack <br />
|
||||
<a href="../doc/index.html">doc</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -60,16 +61,16 @@
|
|||
Status Rack
|
||||
-->
|
||||
|
||||
<a href="index.html">
|
||||
<a href="status.html">
|
||||
<div class="content">
|
||||
<div class="TopRackGrid">
|
||||
<div>
|
||||
<h2>
|
||||
Status
|
||||
<h2 style="margin-bottom:10px;">
|
||||
LJ Status
|
||||
<span class="shade" style="margin-bottom:10px;"> </span>
|
||||
</h2>
|
||||
<div style="margin-top:20px;">
|
||||
<webaudio-switch id="on" value="0" tooltip="Switch-B" height="35" width="85" src="knobs/switch1.png">
|
||||
<div style="margin-top:30px;">
|
||||
<webaudio-switch id="on" value="0" tooltip="Switch-B" height="30" width="90" src="knobs/power.png">
|
||||
</webaudio-switch>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -104,28 +105,34 @@
|
|||
Settings Rack
|
||||
-->
|
||||
|
||||
<a href="settings.html">
|
||||
<a href="settings2.html">
|
||||
<div class="content">
|
||||
<div class="TopRackGrid">
|
||||
<div>
|
||||
<h2>
|
||||
Settings
|
||||
<span class="shade"> </span>
|
||||
</h2>
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="35" width="85" src="knobs/switch1.png">
|
||||
<div>
|
||||
<h2>
|
||||
LJ Settings
|
||||
</h2>
|
||||
</div>
|
||||
<div style="margin-top:20px;">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="30" width="90" src="knobs/power.png">
|
||||
</webaudio-switch>
|
||||
</div>
|
||||
</div>
|
||||
<div class="webaudiobut">
|
||||
<div align="center" class="busled">
|
||||
Settings
|
||||
</div>
|
||||
<div align="center" class="busled">
|
||||
|
||||
<div align="center" class="busled">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
|
|
@ -137,11 +144,11 @@
|
|||
<div>
|
||||
<div>
|
||||
<h2>
|
||||
Aurora
|
||||
LJ Aurora
|
||||
</h2>
|
||||
</div>
|
||||
<div style="margin-top:20px;">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="35" width="85" src="knobs/switch1.png">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="30" width="90" src="knobs/power.png">
|
||||
</webaudio-switch>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -170,11 +177,11 @@
|
|||
<div>
|
||||
<div>
|
||||
<h2>
|
||||
Simu
|
||||
LJ Simu
|
||||
</h2>
|
||||
</div>
|
||||
<div style="margin-top:20px;">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="35" width="85" src="knobs/switch1.png">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="30" width="90" src="knobs/power.png">
|
||||
</webaudio-switch>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -202,11 +209,11 @@
|
|||
<div>
|
||||
<div>
|
||||
<h2>
|
||||
Tracker 1
|
||||
LJ Tracker
|
||||
</h2>
|
||||
</div>
|
||||
<div style="margin-top:20px;">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="35" width="85" src="knobs/switch1.png">
|
||||
<webaudio-switch id="on" value="1" tooltip="Switch-B" height="30" width="90" src="knobs/power.png">
|
||||
</webaudio-switch>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -232,8 +239,16 @@
|
|||
<!-- LJ style WS : A nettoyer ! -->
|
||||
|
||||
<script type="text/javascript">
|
||||
var LJ = websocket_uri
|
||||
|
||||
let type = "index";
|
||||
|
||||
// green (1) PLAYING / cyan (2) PREPARE / blue (3) IDLE
|
||||
let acks = new Array ( "0","PLAYING", "PREPARE", "IDLE");
|
||||
|
||||
// green (1) ACK / yellow (4) INVALID / orange (5) FULL / (6) no connection
|
||||
let stts = new Array ("0", "ACK", "2", "3", "INVALID", "FULL", "no connection");
|
||||
|
||||
var LJ = websocket_uri
|
||||
|
||||
var _WS = {
|
||||
uri: LJ,
|
||||
|
|
@ -286,7 +301,6 @@
|
|||
_WS.showstatus('<span style="color: red;">'+res[1]+" "+ res[2]+'</span> ');
|
||||
break;
|
||||
|
||||
|
||||
case "/line1":
|
||||
//divtext.innerHTML="connected to "+LJ;
|
||||
divtext1.innerHTML=res[1]+" "+res[2];
|
||||
|
|
@ -297,18 +311,47 @@
|
|||
divtext1.innerHTML='<span style="color: red;">'+ res[1]+" "+res[2]+'</span>';
|
||||
break;
|
||||
|
||||
case "/laser":
|
||||
console.log("/laser "+res[1])
|
||||
newlaser(res[1])
|
||||
//case "/laser":
|
||||
// console.log("/laser "+res[1])
|
||||
// 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;
|
||||
|
||||
case "/point":
|
||||
if (type === 'settings') {
|
||||
//console.log("buffer display"+res[1]);
|
||||
document.getElementById(res[0].slice(1)).value = res[1];
|
||||
}
|
||||
break;
|
||||
|
||||
case "/simul":
|
||||
if (type === 'simu') {
|
||||
console.log("simul "+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];
|
||||
var element = document.getElementById(res[0].slice(1));
|
||||
if(typeof(element) != 'undefined' && element != null){
|
||||
console.log("default handler for "+res[0].slice(1)+" "+res[1]);
|
||||
_WS.showstatus(res[0].slice(1)+" "+res[1])
|
||||
document.getElementById(res[0].slice(1)).value = res[1];
|
||||
} else{
|
||||
console.log("default handler for "+res[0].slice(1)+" "+res[1]+' : does not exist.');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
onError: function (e) {
|
||||
_WS.showstatus('<span style="color: red;">ERROR:</span> ' + e.data);
|
||||
},
|
||||
|
|
@ -371,6 +414,7 @@
|
|||
-->
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var message="";
|
||||
var log=[];
|
||||
var knobs = document.getElementsByTagName('webaudio-knob');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue