Commit ce5c5a8fc64bd89b03866285ca68b4b01f741abf

Authored by grouille
1 parent c397d4b0

Affichage du réseau

Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
site/css/style.css
... ... @@ -63,12 +63,12 @@ a, a:hover {
63 63 text-align:center;
64 64 }
65 65  
66   -th {
  66 +th, td {
67 67 text-align: center;
68 68 vertical-align: middle;
69 69 }
70 70  
71   -td {
  71 +.tdp {
72 72 text-align: center;
73 73 vertical-align: middle;
74 74 }
... ...
site/network.php
... ... @@ -42,8 +42,8 @@ $nombre = count($raspberrys);
42 42 }
43 43 ?>
44 44 <td><img src="<?php echo $source;?>" alt="Capteur" style="width:auto; height:50px;"></td>
45   - <td><p style="font-size: 14px; margin-top:25px;"><?php echo $capteur['nom'];?></p></td>
46   - <td><p style="font-size: 14px; margin-top:25px;"><?php echo $capteur['unite'];?></p></td>
  45 + <td class="tdp"><p style="font-size: 14px;"><?php echo $capteur['nom'];?></p></td>
  46 + <td class="tdp"><p style="font-size: 14px;"><?php echo $capteur['unite'];?></p></td>
47 47 </tr>
48 48 <?php
49 49 }
... ...