FoxLabDashBoard/testing.html

92 lines
1.5 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{
//color : white;
}
canvas{
display:block;
//width: 100%;
//height: 50%;
2022-12-21 21:11:57 -05:00
border : 1px solid;
}
2022-12-21 21:11:57 -05:00
#CanvasArea{
position:relative;
z-index:1;
}
#iframe{
position:absolute;
top : 700px;
left : 100px;
width:1000px;
height:400px;
z-index:1000;
border: 1px solid green;
}
</style>
<body style="background-color:white">
<span id='clock' style="font-size:30px"></span>
<p></p>
2022-12-21 21:11:57 -05:00
<iframe src='https://fsunuc.physics.fsu.edu/grafana/' frameborder='2' id="iframe"></iframe>
<div id="CanvasArea">
<canvas id='floor' witdh = "2048" height = "1024" > Your browser doe snot support HTML canvas</canvas>
</div>
<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>