70 lines
2.2 KiB
HTML
70 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" href="../static/css/style.css">
|
|
<link rel="stylesheet" href="../static/css/fonts.css">
|
|
<link rel="shortcut icon" href="../static/img/steam.ico">
|
|
|
|
<!-- Prova di refresh del contenuto number 1:
|
|
<script language="javascript">
|
|
window.setInterval("refreshDiv()", 1000);
|
|
function refreshDiv(){
|
|
document.getElementById("dataZone").innerHTML;
|
|
}
|
|
</script>-->
|
|
|
|
<!-- Prova di refresh del contenuto number 2:
|
|
<script src="jquery-3.5.1.min.js"></script>
|
|
<script>
|
|
$(document).ready(function(){
|
|
setInterval(function(){
|
|
$("#dataZone").load(window.location.href + " #dataZone" );
|
|
}, 1000); });
|
|
</script>-->
|
|
|
|
<!-- refresh solo dati
|
|
<script language="javascript">
|
|
window.setInterval("refreshDiv()", 1000);
|
|
function refreshDiv(){
|
|
// chiamata a REST -- dati json (è un oggetto dati)
|
|
// chiama a getElementById e 1:1 sostituzione dell'inner html
|
|
}
|
|
</script>-->
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<!--<body onLoad="timeRefresh(1000);">
|
|
<script>
|
|
function timeRefresh(time) {
|
|
setTimeout("window.location.reload();", time)
|
|
}
|
|
</script>-->
|
|
|
|
<!--Area visualizzata da utente: stampa dati passati da FlythisServer.py-->
|
|
<h1>Flythis</h1>
|
|
<h2>Steamware srl</h2>
|
|
<div id="dataZone">
|
|
<h3>Server time:</h3>
|
|
<p id="timeNow">{{ timeNow }}</p>
|
|
<h3>Last log time:</h3>
|
|
<p id="timeLog">{{ timeLog }}</p>
|
|
<h3>Channel 0:</h3>
|
|
<p id="labelCh0">{{ Ch0 }}</p>
|
|
<h3>Channel 1:</h3>
|
|
<p id="labelCh1">{{ Ch1 }}</p>
|
|
<h3>Channel 2:</h3>
|
|
<p id="labelCh2">{{ Ch2 }}</p>
|
|
<h3>Channel 3:</h3>
|
|
<p id="labelCh3">{{ Ch3 }}<p>
|
|
<h3>Channel 4:</h3>
|
|
<p id="labelCh4">{{ Ch4 }}</p>
|
|
<h3>Channel 5:</h3>
|
|
<p id="labelCh5">{{ Ch5 }}</p>
|
|
<h3>Channel 6:</h3>
|
|
<p id="labelCh6">{{ Ch6 }}</p>
|
|
<h3>Channel 7:</h3>
|
|
<p id="labelCh7">{{ Ch7 }}</p>
|
|
</div>
|
|
</body>
|
|
</html> |