2022-12-21 20:41:43 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
|
2022-12-21 21:11:57 -05:00
|
|
|
<title>Fox's Lab Accelerator Dashboard</title>
|
2022-12-21 20:41:43 -05:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<style>
|
2022-12-22 17:01:20 -05:00
|
|
|
body{
|
|
|
|
background-color : black;
|
|
|
|
}
|
|
|
|
canvas{
|
|
|
|
display:block;
|
|
|
|
border : 1px solid;
|
|
|
|
}
|
2022-12-21 21:11:57 -05:00
|
|
|
|
|
|
|
#CanvasArea{
|
|
|
|
position:relative;
|
|
|
|
z-index:1;
|
2022-12-22 17:01:20 -05:00
|
|
|
background-color: black;
|
2022-12-21 21:11:57 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#iframe{
|
|
|
|
position:absolute;
|
|
|
|
top : 700px;
|
|
|
|
left : 100px;
|
|
|
|
width:1000px;
|
|
|
|
height:400px;
|
|
|
|
z-index:1000;
|
|
|
|
border: 1px solid green;
|
|
|
|
}
|
|
|
|
|
2022-12-22 17:01:20 -05:00
|
|
|
#beamLine{
|
|
|
|
position: absolute;
|
|
|
|
z-index: 0;
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#static{
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#clock{
|
|
|
|
font-size: 30px;
|
|
|
|
color: white;
|
|
|
|
background-color: black;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
2022-12-21 20:41:43 -05:00
|
|
|
</style>
|
|
|
|
|
2022-12-22 17:01:20 -05:00
|
|
|
<body>
|
2022-12-21 20:41:43 -05:00
|
|
|
|
2022-12-22 17:01:20 -05:00
|
|
|
<div id='clock'></div>
|
2022-12-21 21:11:57 -05:00
|
|
|
|
|
|
|
<iframe src='https://fsunuc.physics.fsu.edu/grafana/' frameborder='2' id="iframe"></iframe>
|
|
|
|
|
|
|
|
<div id="CanvasArea">
|
2022-12-22 17:01:20 -05:00
|
|
|
<canvas id='beamLine' width="3840", height="2160" > Your browser doe snot support HTML canvas</canvas>
|
|
|
|
<canvas id='static' width="3840", height="2160" > Your browser doe snot support HTML canvas</canvas>
|
2022-12-21 21:11:57 -05:00
|
|
|
</div>
|
2022-12-21 20:41:43 -05:00
|
|
|
|
|
|
|
<p id='text'></p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
<!-- ################################################ -->
|
|
|
|
<script>
|
|
|
|
|
|
|
|
/****
|
|
|
|
let data;
|
|
|
|
|
|
|
|
function GetMassFromAZ(){
|
|
|
|
let client = new XMLHttpRequest();
|
|
|
|
client.onreadystatechange = function() {
|
|
|
|
data = client.responseText;
|
|
|
|
alert(data);
|
|
|
|
}
|
|
|
|
client.open('GET', "/Users/user/Desktop/test.txt", false);
|
|
|
|
client.send();
|
|
|
|
}
|
|
|
|
|
|
|
|
GetMassFromAZ();
|
|
|
|
|
|
|
|
document.getElementById('text').innerHTML = data;
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
function time() {
|
|
|
|
let clock = document.getElementById('clock');
|
|
|
|
|
|
|
|
let d = new Date();
|
|
|
|
clock.textContent = d;
|
|
|
|
|
|
|
|
}
|
|
|
|
time();
|
|
|
|
setInterval(time, 1000);
|
|
|
|
|
|
|
|
// set a timer to update the color of the circle every second
|
|
|
|
//setInterval(drawCircle, 1000);
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="geo.js"></script>
|
|
|
|
|
|
|
|
</html>
|