19ae2416
jnduwamu
MAJ du site
|
1
2
3
|
<div class="row">
<div class="col-6 col-md-6 offset-md-3 offset-3">
<br/>
|
39579493
root
MAJ Site
|
4
|
<h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-database"></i> Valeurs des capteurs</h1>
|
b284256b
grouille
MAJ
|
5
|
<table class="table table-striped table-bordered">
|
49de50a9
grouille
MAJ
|
6
7
8
9
10
11
12
13
|
<thead class="thead-dark">
<th>Nom</th>
<th>Raspberry</th>
<th>Type</th>
<th>Valeur</th>
<th>Unité</th>
<th>Arrêt</th>
</thead>
|
b284256b
grouille
MAJ
|
14
|
<tbody>
|
b284256b
grouille
MAJ
|
15
|
<?php
|
49de50a9
grouille
MAJ
|
16
|
$sensors = getSensors();
|
b284256b
grouille
MAJ
|
17
18
|
foreach($sensors as $sensor){
?>
|
3722a6bb
grouille
MAJ
|
19
|
<tr>
|
b284256b
grouille
MAJ
|
20
21
22
23
24
25
26
|
<td><?php echo $sensor['nom'];?></td>
<td><?php echo $sensor['raspberry'];?></td>
<td><?php echo $sensor['type'];?></td>
<td><?php echo $sensor['value'];?></td>
<td><?php echo $sensor['unite'];?></td>
<td>
<form action="stop.php" method="POST">
|
8d03531f
grouille
MAJ
|
27
28
|
<input type="hidden" name="nom" value="<?php echo $sensor['nom'];?>">
<input type="submit" name="stop" value="Arrêter">
|
b284256b
grouille
MAJ
|
29
30
31
32
33
34
35
36
|
</form>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
|
19ae2416
jnduwamu
MAJ du site
|
37
38
|
</div>
</div>
|