FoxLabDashBoard/index.html

114 lines
2.1 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
2022-12-21 21:11:57 -05:00
<title>Fox's Lab Accelerator Dashboard</title>
</head>
<style>
body{
background-color : black;
}
2022-12-21 21:11:57 -05:00
2022-12-26 17:21:27 -05:00
#iframe1{
2022-12-21 21:11:57 -05:00
position:absolute;
2022-12-22 18:17:38 -05:00
top : 60%;
left : 10%;
width: 60%;
height: 35%;
2022-12-21 21:11:57 -05:00
z-index:1000;
border: 1px solid green;
2022-12-26 17:21:27 -05:00
}
#iframe2{
position:absolute;
top : 60%;
left : 10%;
width: 100;
height: 100;
z-index:1001;
border: 1px solid green;
2022-12-21 21:11:57 -05:00
}
2022-12-22 18:17:38 -05:00
canvas{
width: 99%;
height:98%;
border: 1px solid yellow;
}
#beamLine{
position: absolute;
z-index: 0;
}
#static{
position: absolute;
z-index: 1;
}
#clock{
font-size: 30px;
color: white;
background-color: black;
position: absolute;
z-index: 3;
}
</style>
<body>
<div id='clock'></div>
2022-12-21 21:11:57 -05:00
2022-12-26 17:21:27 -05:00
<iframe src="http://localhost:3000/d-solo/MFym59G4k/new-dashboard?orgId=1&from=1672071127881&to=1672092727881&theme=dark&panelId=2" id="iframe1"></iframe>
<iframe src="http://localhost:3000/d-solo/MFym59G4k/new-dashboard?orgId=1&from=1672071308654&to=1672092908654&panelId=4" id="iframe2"></iframe>
2022-12-21 21:11:57 -05:00
2022-12-22 18:17:38 -05:00
<canvas width="3840" height="2160" id='beamLine' > Your browser doe snot support HTML canvas</canvas>
<canvas width="3840" height="2160" id='static' > Your browser doe snot support HTML canvas</canvas>
<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>
2022-12-26 17:21:27 -05:00
<script src="FoxLabDashBoard/geo.js"></script>
</html>