Commit 8d03531f6d25ee2c54cff236b2fa727b77d6b4ec

Authored by grouille
1 parent 6ca93ecf

MAJ

Showing 1 changed file with 17 additions and 19 deletions   Show diff stats
site/values.php
... ... @@ -14,26 +14,24 @@
14 14 <td> </td>
15 15 </tr>
16 16  
17   - <div id="sensors">
18   - <?php
19   - $sensors = getSensors();
20   - foreach($sensors as $sensor){
21   - ?>
22   - <tr>
23   - <td><?php echo $sensor['nom'];?></td>
24   - <td><?php echo $sensor['raspberry'];?></td>
25   - <td><?php echo $sensor['type'];?></td>
26   - <td><?php echo $sensor['value'];?></td>
27   - <td><?php echo $sensor['unite'];?></td>
28   - <td>
29   - <input type="hidden" name="nom" value="<?php echo $sensor['nom'];?>">
30   - <input type="submit" name="stop" value="Arrêter">
31   - </td>
32   - </tr>
33   - <?php
34   - }
  17 + <?php
  18 + $sensors = getSensors();
  19 + foreach($sensors as $sensor){
35 20 ?>
36   - </div>
  21 + <tr>
  22 + <td><?php echo $sensor['nom'];?></td>
  23 + <td><?php echo $sensor['raspberry'];?></td>
  24 + <td><?php echo $sensor['type'];?></td>
  25 + <td><?php echo $sensor['value'];?></td>
  26 + <td><?php echo $sensor['unite'];?></td>
  27 + <td>
  28 + <input type="hidden" name="nom" value="<?php echo $sensor['nom'];?>">
  29 + <input type="submit" name="stop" value="Arrêter">
  30 + </td>
  31 + </tr>
  32 + <?php
  33 + }
  34 + ?>
37 35 </tbody>
38 36 </table>
39 37 </form>
... ...