Commit 042431c5a5c2c8f35dc7b2df6b1e628596ceaf0f
1 parent
54e87791
MAJ
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
site/addSensor.php
@@ -15,7 +15,13 @@ $raspberrys = getRaspberrys(); | @@ -15,7 +15,13 @@ $raspberrys = getRaspberrys(); | ||
15 | 15 | ||
16 | <tr> | 16 | <tr> |
17 | <td><label for="type">Type de capteur : </label></td> | 17 | <td><label for="type">Type de capteur : </label></td> |
18 | - <td><input type="text" id="type" name="type" required/></td> | 18 | + <td> |
19 | + <select id="type" name="type" required> | ||
20 | + <option> </option> | ||
21 | + <option>Température</option> | ||
22 | + <option>Distance</option> | ||
23 | + </select> | ||
24 | + </td> | ||
19 | </tr> | 25 | </tr> |
20 | 26 | ||
21 | <tr> | 27 | <tr> |