addSensor.php 1.51 KB
<div class="row">
	<div class="col-4 col-md-4 offset-md-4 offset-4">
	<br/>
		<h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="far fa-plus-square"></i> Ajout d'un capteur</h1>
		<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>

					<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>

					<tr>
						<td></td>
						<td><input type="submit" class="btn btn-dark" value="Ajouter le capteur"/></td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</div>