You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LoRaGateway_BTS2A/arduino vers web/index.html

113 lines
1.9 KiB
HTML

7 years ago
<!DOCTYPE html>
7 years ago
<html lang='fr' class=''>
7 years ago
<head>
<meta charset='utf-8'>
7 years ago
<meta name='viewport' content='width=device-width,initial-scale=1,user-scalable=no'/>
<meta http-equiv='refresh' content='1' />
7 years ago
<title>Passerelle LoRa</title>
<style>
div,fieldset,input,select
{
padding:5px;
font-size:1em;
}
7 years ago
7 years ago
input
{
width:100%;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}
7 years ago
7 years ago
select
{
width:100%;
}
7 years ago
7 years ago
textarea
{
resize:none;
width:98%;
height:318px;
padding:5px;
overflow:auto;
}
7 years ago
7 years ago
body
{
text-align:center;
font-family:verdana;
7 years ago
background-color: #bcd5ff;
7 years ago
}
7 years ago
7 years ago
td
{
padding:0px;
}
7 years ago
7 years ago
button
{
border:0;
border-radius:0.3rem;
background-color:#1fa3ec;
color:#fff;
line-height:2.4rem;
font-size:1.2rem;
width:100%;
-webkit-transition-duration:0.4s;
transition-duration:0.4s;
}
7 years ago
7 years ago
button:hover
{
background-color:#006cba;
}
7 years ago
7 years ago
.p
{
float:left;
text-align:left;
}
7 years ago
7 years ago
.q
{
float:right;
text-align:right;
}
</style>
</head>
<body onload='alea()'>
7 years ago
<script>
function alea() {
var x = document.getElementById('demo')x.innerHTML = Math.floor((Math.random() * 10) + 1);
}
</script>
7 years ago
<div style='text-align:left;display:inline-block;min-width:340px;'>
<div style='text-align:center;'>
<h1>Passerelle LoRa</h1>
</div>
7 years ago
<div>
<h2>[Température actuelle]</h2>
</div>
<div>
<p>
Nombre d'échantillons envoyés = %, Echec d'envoi : %
</p>
</div>
7 years ago
<div id='l1' name='l1'></div>
<table style='width:100%'>
<tr>
7 years ago
<button onclick='la('?o=1');'>Informations</button>
</tr>
<tr>
7 years ago
<button onclick='alea()'>rafraichir</button>
7 years ago
</tr>
<tr>
<button onclick='la('?o=1');'>Redémarrer</button>
7 years ago
</tr>
</table>
</div>
</body>
</html>