Commit 41313a7a242c9295147ca3060ede654eba914455
1 parent
ca347d03
MAJ site
Showing
4 changed files
with
51 additions
and
2 deletions
Show diff stats
@@ -0,0 +1,48 @@ | @@ -0,0 +1,48 @@ | ||
1 | +<div class="row"> | ||
2 | + <div class="col-4 col-md-4 offset-md-4 offset-4"> | ||
3 | + <br/> | ||
4 | + <h1 style="margin-bottom:20px; margin-top:30px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="far fa-plus-square"></i> Ajout d'un capteur</h1> | ||
5 | + <form action="add.php" method="post"> | ||
6 | + <table class="table table-striped table-bordered"> | ||
7 | + <tbody> | ||
8 | + <tr> | ||
9 | + <td><label for="nom">Nom du capteur : </label></td> | ||
10 | + <td><input type="text" id="nom" name="nom" /></td> | ||
11 | + </tr> | ||
12 | + | ||
13 | + <tr> | ||
14 | + <td><label for="type">Type de capteur : </label></td> | ||
15 | + <td><input type="text" id="type" name="type" /></td> | ||
16 | + </tr> | ||
17 | + | ||
18 | + <tr> | ||
19 | + <td><label for="raspberry">Raspberry : </label></td> | ||
20 | + <td><input type="text" id="raspberry" name="raspberry" /></td> | ||
21 | + </tr> | ||
22 | + | ||
23 | + <tr> | ||
24 | + <td><label for="numero">Numéro du capteur : </label></td> | ||
25 | + <td><input type="text" id="numero" name="numero" /></td> | ||
26 | + </tr> | ||
27 | + | ||
28 | + <tr> | ||
29 | + <td><label for="unite">Unite de mesure : </label></td> | ||
30 | + <td><input type="text" id="unite" name="unite" /></td> | ||
31 | + </tr> | ||
32 | + | ||
33 | + <tr> | ||
34 | + <td><label for="version">Version : </lavel></td> | ||
35 | + <td> | ||
36 | + <select id="version" name="version"> | ||
37 | + <option value=0 selected>Arduino USB</option> | ||
38 | + <option value=1>Arduino SPI</option> | ||
39 | + <option value=2>Nucléo USB</option> | ||
40 | + </select> | ||
41 | + </td> | ||
42 | + </tr> | ||
43 | + </tbody> | ||
44 | + </table> | ||
45 | + <input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px; mar" value="Ajouter le capteur"/> | ||
46 | + </form> | ||
47 | + </div> | ||
48 | +</div> |
site/formConnexion.php
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | </tr> | 14 | </tr> |
15 | </tbody> | 15 | </tbody> |
16 | </table> | 16 | </table> |
17 | - <input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px;" value="Se connecter"/> | 17 | + <input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px; margin-bottom:20px;" value="Se connecter"/> |
18 | </form> | 18 | </form> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
21 | \ No newline at end of file | 21 | \ No newline at end of file |
site/formInscription.php
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | </tr> | 30 | </tr> |
31 | </tbody> | 31 | </tbody> |
32 | </table> | 32 | </table> |
33 | - <input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px;" value="S'inscrire"/> | 33 | + <input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px; margin-bottom:20px;" value="S'inscrire"/> |
34 | </form> | 34 | </form> |
35 | </div> | 35 | </div> |
36 | </div> | 36 | </div> |