Blame view

site/addSensor.php 1.53 KB
19ae2416   jnduwamu   MAJ du site
1
2
3
  <div class="row">
  	<div class="col-4 col-md-4 offset-md-4 offset-4">
  	<br/>
ca37e894   Guillaume   MAJ connexion site
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>
19ae2416   jnduwamu   MAJ du site
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  		<form action="add.php" method="post">
  			<table class="table table-striped table-bordered">
  				<tbody>
  					<tr>
  						<td><label for="nom">Nom du capteur : </label></td>
  						<td><input type="text" id="nom" name="nom" /></td>
  					</tr>
  
  					<tr>
  						<td><label for="type">Type de capteur : </label></td>
  						<td><input type="text" id="type" name="type" /></td>
  					</tr>
  
  					<tr>
  						<td><label for="raspberry">Raspberry : </label></td>
  						<td><input type="text" id="raspberry" name="raspberry" /></td>
  					</tr>
  
  					<tr>
  						<td><label for="numero">Numéro du capteur : </label></td>
  						<td><input type="text" id="numero" name="numero" /></td>
  					</tr>
  
  					<tr>
  						<td><label for="unite">Unite de mesure : </label></td>
  						<td><input type="text" id="unite" name="unite" /></td>
  					</tr>
36ef1f60   Guillaume   MAJ site
32
33
34
35
36
37
38
39
40
41
42
  
  					<tr>
  						<td><label for="version">Version : </lavel></td>
  						<td>
  							<select id="version" name="version">
  								<option value=0 selected>Arduino USB</option>
  								<option value=1>Arduino SPI</option>
  								<option value=2>Nucléo USB</option>
  							</select>
  						</td>
  					</tr>
19ae2416   jnduwamu   MAJ du site
43
44
  				</tbody>
  			</table>
3bff9633   Guillaume   MAJ site
45
46
  			<input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px; margin-bottom:20px;" value="Ajouter le capteur"/>
  			<br/>
19ae2416   jnduwamu   MAJ du site
47
48
49
  		</form>
  	</div>
  </div>