Commit 49de50a9f1883fb0964172b3c5dd4322da03fc31

Authored by grouille
1 parent fccb88d3

MAJ

@@ -8,14 +8,13 @@ $sensors = getSensors(); @@ -8,14 +8,13 @@ $sensors = getSensors();
8 <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-bars"></i> Choix du capteur</h1> 8 <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-bars"></i> Choix du capteur</h1>
9 <form action="reception.php" method="post" enctype="multipart/form-data"> 9 <form action="reception.php" method="post" enctype="multipart/form-data">
10 <table class="table table-striped table-bordered"> 10 <table class="table table-striped table-bordered">
  11 + <thead class="thead-dark">
  12 + <th>Sélection</th>
  13 + <th>Nom</th>
  14 + <th>Raspberry</th>
  15 + <th>Type</th>
  16 + </thead>
11 <tbody> 17 <tbody>
12 - <th class="thead-dark">  
13 - <td>Sélection</td>  
14 - <td>Nom</td>  
15 - <td>Raspberry</td>  
16 - <td>Type</td>  
17 - </th>  
18 -  
19 <?php 18 <?php
20 $count = 0; 19 $count = 0;
21 foreach($sensors as $sensor){ 20 foreach($sensors as $sensor){
@@ -24,15 +24,14 @@ $membres = members(); @@ -24,15 +24,14 @@ $membres = members();
24 <br/> 24 <br/>
25 <h1 style="margin-bottom:20px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-database"></i> Membres</h1> 25 <h1 style="margin-bottom:20px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-database"></i> Membres</h1>
26 <table class="table table-striped table-bordered"> 26 <table class="table table-striped table-bordered">
27 - <tbody>  
28 - <th class="thead-dark">  
29 - <td>Nom</td>  
30 - <td>Prénom</td>  
31 - <td>Identifiant</td>  
32 - <td>Groupe</td>  
33 - <td>Action</td>  
34 - </th>  
35 - 27 + <thead class="thead-dark">
  28 + <th>Nom</th>
  29 + <th>Prénom</th>
  30 + <th>Identifiant</th>
  31 + <th>Groupe</th>
  32 + <th>Action</th>
  33 + </thead>
  34 + <tbody>
36 <?php 35 <?php
37 foreach($membres as $membre){ 36 foreach($membres as $membre){
38 ?> 37 ?>
site/recherche.php
@@ -20,16 +20,15 @@ session_start(); @@ -20,16 +20,15 @@ session_start();
20 <br/> 20 <br/>
21 <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-history"></i> Historique</h1> 21 <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-history"></i> Historique</h1>
22 <table class="table table-striped table-bordered"> 22 <table class="table table-striped table-bordered">
  23 + <thead class="thead-dark">
  24 + <th>Nom</th>
  25 + <th>Raspberry</th>
  26 + <th>Type</th>
  27 + <th>Valeur</th>
  28 + <th>Unité</th>
  29 + <th>Date</th>
  30 + </thead>
23 <tbody> 31 <tbody>
24 - <th class="thead-dark">  
25 - <td>Nom</td>  
26 - <td>Raspberry</td>  
27 - <td>Type</td>  
28 - <td>Valeur</td>  
29 - <td>Unité</td>  
30 - <td>Date</td>  
31 - </th>  
32 -  
33 <div id="sensors"> 32 <div id="sensors">
34 <?php 33 <?php
35 $name = $_POST['nom']; 34 $name = $_POST['nom'];
@@ -3,18 +3,17 @@ @@ -3,18 +3,17 @@
3 <br/> 3 <br/>
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> 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>
5 <table class="table table-striped table-bordered"> 5 <table class="table table-striped table-bordered">
  6 + <thead class="thead-dark">
  7 + <th>Nom</th>
  8 + <th>Raspberry</th>
  9 + <th>Type</th>
  10 + <th>Valeur</th>
  11 + <th>Unité</th>
  12 + <th>Arrêt</th>
  13 + </thead>
6 <tbody> 14 <tbody>
7 - <th class="thead-dark">  
8 - <td>Nom</td>  
9 - <td>Raspberry</td>  
10 - <td>Type</td>  
11 - <td>Valeur</td>  
12 - <td>Unité</td>  
13 - <td>Arrêt</td>  
14 - </th>  
15 -  
16 <?php 15 <?php
17 - $sensors = getSensors(); 16 + $sensors = getSensors();
18 foreach($sensors as $sensor){ 17 foreach($sensors as $sensor){
19 ?> 18 ?>
20 <tr> 19 <tr>